Skip to content

Commit

Permalink
Merge pull request #61 from Onyxmoon/feature/proxy-refactor-routes
Browse files Browse the repository at this point in the history
refactor(http-proxy-service): update contexts paths for services in proxy config
  • Loading branch information
Onyxmoon authored Nov 3, 2023
2 parents 630451f + ef42103 commit 031d67c
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions src/http-proxy-service/config/proxyConfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@ proxy:
listenAddress: localhost:8080
proxyRoutes:
- name: User Service
context: /users
target: http://localhost:3001
- name: Shoppinglist Service
context: /shoppinglists
target: http://localhost:3002
context: /api/v1/user
target: http://localhost:3001/api/v1/user
- name: Shoppinglist Service (Lists)
context: /api/v1/shoppinglist (Lists)
target: http://localhost:3002/api/v1/shoppinglist
- name: Shoppinglist Service (Entries)
context: /api/v1/shoppinglistentries
target: http://localhost:3002/api/v1/shoppinglistentries
- name: Product Service
context: /products
target: http://localhost:3003
context: /api/v1/product
target: http://localhost:3003/api/v1/product
- name: Data Processing Service
context: /processing
target: http://localhost:3004
context: /api/v1//processing
target: http://localhost:3004/api/v1/processing
- name: Web Service
context: /
context:
target: http://localhost:3000

0 comments on commit 031d67c

Please sign in to comment.