Skip to content

Commit

Permalink
conf(api-gateway): use profile info to get address of downstream modules
Browse files Browse the repository at this point in the history
  • Loading branch information
bobeal committed Jan 29, 2023
1 parent 86219e8 commit 2122d1c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api-gateway/src/main/resources/application-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
application:
search-service:
url: search-service
subscription-service:
url: subscription-service
6 changes: 6 additions & 0 deletions api-gateway/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ spring:
- DELETE
allowedHeaders: "*"

application:
search-service:
url: localhost
subscription-service:
url: localhost

management:
endpoints:
enabled-by-default: false
Expand Down

0 comments on commit 2122d1c

Please sign in to comment.