a repository that contains microservices config files, this would contains non sensitive informations, but since it is an excercice only, we keep it simple

api-gateway.yml 403B

123456789101112131415161718192021222324
  1. server:
  2. port: 8080
  3. spring:
  4. application:
  5. name: api-gateway
  6. cloud:
  7. gateway:
  8. routes:
  9. - id: account
  10. uri: http://localhost:8082/
  11. predicates:
  12. - Path=/account/**
  13. - id: customer
  14. uri: http://localhost:8081/
  15. predicates:
  16. - Path=/customer/**
  17. management:
  18. endpoints:
  19. web:
  20. exposure:
  21. include: "*"

Powered by TurnKey Linux.