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

[THREESCALE-799] policy: document in schemas when the order in the chain matters #675

Merged
merged 2 commits into from
Apr 23, 2018

Conversation

davidor
Copy link
Contributor

@davidor davidor commented Apr 19, 2018

Some policies only work properly when placed before or after the Apicast policy. Others have a different behavior depending on their position with respect to Apicast in the chain.

For the policies affected, this PR adds a clarification in the description of their schemas.

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

@davidor davidor changed the title policy: document in schemas when the order in the chain matters [THREESCALE-799] policy: document in schemas when the order in the chain matters Apr 19, 2018
@davidor davidor force-pushed the clarify-order-in-schema-descriptions branch from be42017 to 99d17ba Compare April 19, 2018 16:20
@davidor davidor requested a review from mikz April 19, 2018 16:35
@@ -5,7 +5,9 @@
"description":
["This policy allows to modify the host of a request based on its path. ",
"It accepts regular expressions that, when matched against the path, ",
"replace it with a given string."],
"replace it with a given string. \n",
"When combined with the Apicast policy, the upstream policy should be ",
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right. Fixed.

davidor added 2 commits April 23, 2018 10:44
Some policies only work properly when placed before or after the Apicast
policy. Others have a different behavior depending on their position with
respect to Apicast in the chain.
@davidor davidor force-pushed the clarify-order-in-schema-descriptions branch from 99d17ba to 64e6195 Compare April 23, 2018 08:45
@davidor davidor merged commit 4f45ac1 into master Apr 23, 2018
@davidor davidor deleted the clarify-order-in-schema-descriptions branch April 23, 2018 09:06
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