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

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

Powered by TurnKey Linux.