Skip to content

Commit

Permalink
ajustement des configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
diogene committed Nov 26, 2019
1 parent 6adf8c6 commit 180e9fd
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 26 deletions.
3 changes: 2 additions & 1 deletion config/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ management:
metrics:
enabled: true
prometheus:
enabled: true
enabled: true
context-path: /
4 changes: 2 additions & 2 deletions config/src/main/resources/shared/account-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ eureka:
server:
servlet:
context-path: /accounts
port: 6321
port: 0

feign:
hystrix:
enabled: true
enabled: true
8 changes: 1 addition & 7 deletions config/src/main/resources/shared/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ security:
spring:
rabbitmq:
host: rabbitmq
boot:
admin:
client:
enabled: true
url: http://${ADMIN_SERVER:admin}:8080


management:
security:
Expand All @@ -50,4 +44,4 @@ management:
metrics:
enabled: true
prometheus:
enabled: true
enabled: true
7 changes: 0 additions & 7 deletions config/src/main/resources/shared/auth-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ spring:
password: ${MONGODB_PASSWORD}
database: piggymetrics
port: ${MONGODB_AUTH_PORT:27017}
boot:
admin:
discovery:
converter.management-context-path: '/uaa/actuator'

eureka:
instance:
Expand All @@ -20,6 +16,3 @@ server:
servlet:
context-path: /uaa
port: 5000

management:
context-path: /uaa/actuator
2 changes: 1 addition & 1 deletion config/src/main/resources/shared/notification-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ eureka:
server:
servlet:
context-path: /notifications
port: 8000
port: 0

remind:
cron: 0 0 0 * * *
Expand Down
9 changes: 1 addition & 8 deletions config/src/main/resources/shared/statistics-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,8 @@ eureka:
server:
servlet:
context-path: /statistics
port: 7000
port: 0

rates:
url: https://api.exchangeratesapi.io


management.security.enabled: false
management:
endpoints:
web:
exposure:
include: "*"

0 comments on commit 180e9fd

Please sign in to comment.