Reputation: 135
I'm using jhipster micro services. Is there anyway to add pre- and post-filters as that in the springCloud?
Upvotes: 0
Views: 560
Reputation: 16284
Yes because a JHipster gateway embeds a zuul proxy so refer to spring cloud docs like https://cloud.spring.io/spring-cloud-netflix/multi/multi__router_and_filter_zuul.html and https://spring.io/guides/gs/routing-and-filtering/ .
You can also find few examples in generated code of your gateway: TokenRelayFilter
, AccessControlFilter
, RateLimitingFilter
, etc...
Upvotes: 1