diff --git a/java-spring/api-gateway-service/src/main/resources/application.properties b/java-spring/api-gateway-service/src/main/resources/application.properties index db4701f..578ae6c 100755 --- a/java-spring/api-gateway-service/src/main/resources/application.properties +++ b/java-spring/api-gateway-service/src/main/resources/application.properties @@ -8,15 +8,18 @@ transfers.commandside.service.host=localhost api.gateway.endpoints[0].path=[/]*api/accounts.* api.gateway.endpoints[0].method=GET api.gateway.endpoints[0].location=http://${accounts.queryside.service.host}:8080 -api.gateway.endpoints[1].path=[/]*api/accounts.* -api.gateway.endpoints[1].method=POST -api.gateway.endpoints[1].location=http://${accounts.commandside.service.host}:8080 -api.gateway.endpoints[2].path=[/]*api/customers.* -api.gateway.endpoints[2].method=GET -api.gateway.endpoints[2].location=http://${customers.queryside.service.host}:8080 +api.gateway.endpoints[1].path=[/]*api/customers.*/accounts +api.gateway.endpoints[1].method=GET +api.gateway.endpoints[1].location=http://${accounts.queryside.service.host}:8080 +api.gateway.endpoints[2].path=[/]*api/accounts.* +api.gateway.endpoints[2].method=POST +api.gateway.endpoints[2].location=http://${accounts.commandside.service.host}:8080 api.gateway.endpoints[3].path=[/]*api/customers.* -api.gateway.endpoints[3].method=POST -api.gateway.endpoints[3].location=http://${customers.commandside.service.host}:8080 -api.gateway.endpoints[4].path=[/]*api/transfers.* +api.gateway.endpoints[3].method=GET +api.gateway.endpoints[3].location=http://${customers.queryside.service.host}:8080 +api.gateway.endpoints[4].path=[/]*api/customers.* api.gateway.endpoints[4].method=POST -api.gateway.endpoints[4].location=http://${transfers.commandside.service.host}:8080 \ No newline at end of file +api.gateway.endpoints[4].location=http://${customers.commandside.service.host}:8080 +api.gateway.endpoints[5].path=[/]*api/transfers.* +api.gateway.endpoints[5].method=POST +api.gateway.endpoints[5].location=http://${transfers.commandside.service.host}:8080 \ No newline at end of file