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

Fix bug in URL rewriting policy that makes it ignore a field of its own manifest [THREESCALE-731] #641

Merged
merged 4 commits into from
Mar 2, 2018

Conversation

davidor
Copy link
Contributor

@davidor davidor commented Mar 1, 2018

This PR fixes a bug in the URL rewriting policy.

The problem was that there was a commands attribute specified in the policy manifest, but we did not include it in the configuration used in the busted tests nor the integration tests. The policy ignored this attribute and that's why the tests were passing. This suggests that we need to validate configs against manifests when instantiating policies. I'm working on that and will open a new PR once it's ready.

Ref: https://issues.jboss.org/browse/THREESCALE-731

@mikz mikz changed the title Fix bug in URL rewriting policy that makes it ignore a field of its own manifest Fix bug in URL rewriting policy that makes it ignore a field of its own manifest [THREESCALE-731] Mar 1, 2018
Copy link
Contributor

@mikz mikz left a comment

Choose a reason for hiding this comment

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

👍

@davidor davidor force-pushed the fix-bug-respect-manifest-url-rewriting branch from f45f793 to 9d7e809 Compare March 2, 2018 10:43
@davidor davidor force-pushed the fix-bug-respect-manifest-url-rewriting branch from 9d7e809 to fa5cb61 Compare March 2, 2018 10:43
@davidor davidor merged commit 5852bc4 into master Mar 2, 2018
@davidor davidor deleted the fix-bug-respect-manifest-url-rewriting branch March 2, 2018 11:27
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.

2 participants