Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

Configuration repository for distributed Spring Petclinic application
Configuration repository for the [Cloud version of the Spring Petclinic application](https://github.com/spring-petclinic/spring-petclinic-cloud).
4 changes: 3 additions & 1 deletion admin-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ server:

---
spring:
profiles: docker
config:
activate:
on-profile: docker
eureka:
client:
serviceUrl:
Expand Down
4 changes: 3 additions & 1 deletion api-gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ spring.messages.basename: messages/messages

---
spring:
profiles: docker
config:
activate:
on-profile: docker
zipkin:
baseUrl: http://tracing-server:9411
eureka:
Expand Down
5 changes: 4 additions & 1 deletion application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spring:
data: classpath*:db/hsqldb/data.sql
jpa:
show-sql: true
open-in-view: false
hibernate:
ddl-auto: none
generate-ddl: false
Expand Down Expand Up @@ -61,7 +62,9 @@ spring.cloud.kubernetes.discovery.enabled: false

---
spring:
profiles: mysql
config:
activate:
on-profile: mysql
datasource:
schema: classpath*:db/mysql/schema.sql
data: classpath*:db/mysql/data.sql
Expand Down
8 changes: 6 additions & 2 deletions customers-service.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
spring:
profiles: default
config:
activate:
on-profile: default
eureka:
instance:
# enable to register multiple app instances with a random server port
instance-id: ${spring.application.name}:${random.uuid}

---
spring:
profiles: docker
config:
activate:
on-profile: docker
zipkin:
baseUrl: http://tracing-server:9411
server:
Expand Down
4 changes: 3 additions & 1 deletion hystrix-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ server:

---
spring:
profiles: docker
config:
activate:
on-profile: docker
eureka:
client:
serviceUrl:
Expand Down
8 changes: 6 additions & 2 deletions tracing-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@ server:

---
spring:
profiles: default
config:
activate:
on-profile: default
eureka:
instance:
# enable to register multiple app instances with a random server port
instance-id: ${spring.application.name}:${random.uuid}

---
spring:
profiles: docker
config:
activate:
on-profile: docker
eureka:
client:
serviceUrl:
Expand Down
8 changes: 6 additions & 2 deletions vets-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@

---
spring:
profiles: default
config:
activate:
on-profile: default
eureka:
instance:
# enable to register multiple app instances with a random server port
instance-id: ${spring.application.name}:${random.uuid}

---
spring:
profiles: docker
config:
activate:
on-profile: docker
zipkin:
baseUrl: http://tracing-server:9411
server:
Expand Down
8 changes: 6 additions & 2 deletions visits-service.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
spring:
profiles: default
config:
activate:
on-profile: default
eureka:
instance:
# enable to register multiple app instances with a random server port
instance-id: ${spring.application.name}:${random.uuid}

---
spring:
profiles: docker
config:
activate:
on-profile: docker
zipkin:
baseUrl: http://tracing-server:9411
server:
Expand Down