Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thinkmicroservices/e84dca24dd6ba3f68976478a84e28680 to your computer and use it in GitHub Desktop.
Save thinkmicroservices/e84dca24dd6ba3f68976478a84e28680 to your computer and use it in GitHub Desktop.
AuthenticationService: API-Gateway application.yml
routes:
- id: authentication
uri: lb://AZN-SERVICE
predicates:
- Path= /api/authentication/**
filters:
- RewritePath=/api/authentication/(?<segment>.*), /$\{segment}
- name: Hystrix
args:
name: HystrixAuthenticationFallback
fallbackUri: forward:/fallback/authentication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment