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: routing policy catch-all condition #1296

Merged
merged 1 commit into from
Aug 16, 2021

Conversation

eloycoto
Copy link
Contributor

When operations is empty was working as expected, but when it was nil,
raises an excpetion and routing policy was not working as expected.

FIX https://issues.redhat.com/browse/THREESCALE-6415

Signed-off-by: Eloy Coto eloy.coto@acalustra.com

Comment on lines +2326 to +2332
{
"match": "path",
"op": "==",
"value": "/a_path"
}
]
Copy link
Contributor

@unleashed unleashed Aug 12, 2021

Choose a reason for hiding this comment

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

shouldn't we add a test with conditions.operations equal to nil?

Edit: that would be accomplished by leaving it empty here as reported in the ticket []?

When operations is empty was working as expected, but when it was nil,
raises an excpetion and routing policy was not working as expected.

FIX https://issues.redhat.com/browse/THREESCALE-6415

Signed-off-by: Eloy Coto <eloy.coto@acalustra.com>
@eloycoto eloycoto merged commit 4bc0663 into 3scale:master Aug 16, 2021
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

2 participants