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

123456789101112131415161718192021222324
  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. - id: account
  14. uri: http://localhost:8082/
  15. predicates:
  16. - Path=/account/**
  17. management:
  18. endpoints:
  19. web:
  20. exposure:
  21. include: "*"

Powered by TurnKey Linux.