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 449B

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

Powered by TurnKey Linux.