Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[policy] [ip-filtering] Policy needs gravitee-policy-api.version to be updated #755
The IPFilteringPolicy generates:
when the request fails the policy.
This is because the Request interface has had "contentType" added to it, but the policy hasn't been updated to reflect this.
Searching for gravitee-policy-api.version shows that quite a few other policies are also still on 1.0.0.
A 403 Forbidden response.
A 500 response, with the stack trace above in the gravitee log.
Update gravitee-policy-api.version in the pom and implement contentType for PolicyResult.
Steps to Reproduce (for bugs)
Getting a confusing error message.