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

1234567891011121314151617181920212223242526
  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. web:
  23. exposure:
  24. include: health,gateway

Powered by TurnKey Linux.