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

Add "matches" operation for conditions #975

Merged
merged 5 commits into from
Jan 15, 2019
Merged

Conversation

davidor
Copy link
Contributor

@davidor davidor commented Jan 3, 2019

Depends on #974

This PR adds a new "matches" operation that can be used when defining conditions. This new operation is built on top of ngx.re.match.

This is needed for #972

So they can be used from other policies. Actually, we were already using
the Condition and the Operation module from the Rate Limit policy. We
had a dependency between policies, which is something we want to avoid.
@davidor davidor requested a review from a team as a code owner January 3, 2019 16:34
@davidor davidor merged commit 75eb7e7 into master Jan 15, 2019
@davidor davidor deleted the add-matches-operation branch January 15, 2019 08:58
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