Skip to content

Commit

Permalink
fix :#dev eureka path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbator committed Nov 12, 2024
1 parent 38e7a21 commit 95ad8c7
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 10 deletions.
4 changes: 2 additions & 2 deletions kodemy-api-gateway/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ app:

eureka:
client:
service-url:
defaultZone: ${EUREKA_URL}
serviceUrl:
defaultZone: http://localhost:8761/eureka
7 changes: 6 additions & 1 deletion kodemy-api-gateway/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,9 @@ app:
security:
cors:
allowed-origins:
- ${network.route.front}
- ${network.route.front}

eureka:
client:
serviceUrl:
defaultZone: ${EUREKA_URL}
2 changes: 1 addition & 1 deletion kodemy-auth/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ app:
eureka:
client:
serviceUrl:
defaultZone: ${EUREKA_URL}
defaultZone: http://localhost:8761/eureka
7 changes: 6 additions & 1 deletion kodemy-auth/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,9 @@ app:
callback: /api/oauth2/callback
redirect: /api/callback
roles:
primary: ROLE_USER
primary: ROLE_USER

eureka:
client:
serviceUrl:
defaultZone: ${EUREKA_URL}
2 changes: 1 addition & 1 deletion kodemy-backend/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jwt:
eureka:
client:
serviceUrl:
defaultZone: ${EUREKA_URL}
defaultZone: http://localhost:8761/eureka
7 changes: 6 additions & 1 deletion kodemy-backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,9 @@ network:
read-timeout-ms: 5000

jwt:
secret-key: YWJjZGVmZ2hjvbwjrW5vcHFyc3R1dnd4eXoxMjM0NTY3OnDMTIzNDU2Nzg5MDEyMzQ1Njc4OTAf=
secret-key: YWJjZGVmZ2hjvbwjrW5vcHFyc3R1dnd4eXoxMjM0NTY3OnDMTIzNDU2Nzg5MDEyMzQ1Njc4OTAf=

eureka:
client:
serviceUrl:
defaultZone: ${EUREKA_URL}
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jwt:
eureka:
client:
serviceUrl:
defaultZone: ${EUREKA_URL}
defaultZone: http://localhost:8761/eureka
7 changes: 6 additions & 1 deletion kodemy-notification/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,9 @@ management:
roles: CAN_USE_ACTUATOR
show-components: always
server:
port: 9000
port: 9000

eureka:
client:
serviceUrl:
defaultZone: ${EUREKA_URL}
2 changes: 1 addition & 1 deletion kodemy-search/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ opensearch:
eureka:
client:
serviceUrl:
defaultZone: ${EUREKA_URL}
defaultZone: http://localhost:8761/eureka
5 changes: 5 additions & 0 deletions kodemy-search/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,8 @@ opensearch:
alias: materials-alias
username: admin
password: admin

eureka:
client:
serviceUrl:
defaultZone: ${EUREKA_URL}

0 comments on commit 95ad8c7

Please sign in to comment.