-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(db/schema): add
traditional_compatible
fields to expressions
…
… flavor (#12667) Previously, setting `router_flavor = expressions` makes traditional fields disappear. This commit makes these field available alongside the `expression` field, and user can configure expressions route alongside traditional compatible but not at the same time inside the same route entry. When requests comes in, expressions route are evaluated first, and if none matches, traditional routes will be evaluated in the usual order. KAG-3805 KAG-3807 --------- Co-authored-by: Datong Sun <[email protected]>
- Loading branch information
Showing
20 changed files
with
545 additions
and
367 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
changelog/unreleased/kong/flavor-expressions-supports-traditional-fields.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
message: | | ||
Supported fields `methods`, `hosts`, `paths`, `headers`, | ||
`snis`, `sources`, `destinations` and `regex_priority` | ||
for the `route` entity when the `router_flavor` is `expressions`. | ||
The meaning of these fields are consistent with the traditional route entity. | ||
type: feature | ||
scope: Core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
00d1c3f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bazel Build
Docker image available
kong/kong:00d1c3ff8afddb1b9c2600701d00c7655ef9f828
Artifacts available https://github.com/Kong/kong/actions/runs/8723891492