Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Http code overwrite policy #1236

Merged
merged 5 commits into from
Nov 30, 2020
Merged

Conversation

palmieric
Copy link

Added a policy to overwrite the HTTP code returned from upstream.

@palmieric palmieric marked this pull request as ready for review November 2, 2020 14:19
@palmieric palmieric requested a review from a team as a code owner November 2, 2020 14:19
@palmieric
Copy link
Author

@eloycoto eloycoto force-pushed the http-codes branch 3 times, most recently from 3855a5b to 8396173 Compare November 23, 2020 14:39
@@ -0,0 +1,51 @@
local StatusCodeOverwrite = require('apicast.policy.statuscode_overwrite')

describe('IP Check policy', function()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong policy name

- Fix jsonschema format.
- Fix some test typos.
- Add unittest
- Rename policy
- Add Readme file
- Add changelog entry

FIX THREESCALE-6255

Signed-off-by: Eloy Coto <eloy.coto@acalustra.com>
Signed-off-by: Eloy Coto <eloy.coto@acalustra.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants