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

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

Powered by TurnKey Linux.