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: path only based routing #190

Merged
merged 1 commit into from
Nov 6, 2018
Merged

fix: path only based routing #190

merged 1 commit into from
Nov 6, 2018

Conversation

hbagdi
Copy link
Member

@hbagdi hbagdi commented Nov 1, 2018

dc3a19b introduced path only based routing but introduced a bug in the
code.
If there exist only path based routing rules for a service, then
the ingress will never be satisfied. There was at least one host based
ingress rule necessary to satisfied other host-less ingress rules for
any service.
This commit fixes that and properly creates routing rules in Kong to
satisfy path-only ingress rules.

dc3a19b introduced path only based routing but introduced a bug in the
code.
If there exist only path based routing rules for a service, then
the ingress will never be satisfied. There was at least one host based
ingress rule necessary to satisfied other host-less ingress rules for
any service.
This commit fixes that and properly creates routing rules in Kong to
satisfy path-only ingress rules.
@hbagdi hbagdi requested a review from fffonion November 1, 2018 21:10
Copy link
Contributor

@fffonion fffonion left a comment

Choose a reason for hiding this comment

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

👍

@hbagdi hbagdi merged commit 4765c57 into master Nov 6, 2018
@hbagdi hbagdi deleted the fix/path-only-rule branch November 6, 2018 17:23
hbagdi added a commit that referenced this pull request Nov 8, 2018
dc3a19b introduced path only based routing but introduced a bug in the
code.
If there exist only path based routing rules for a service, then
the ingress will never be satisfied. There was at least one host based
ingress rule necessary to satisfied other host-less ingress rules for
any service.
This commit fixes that and properly creates routing rules in Kong to
satisfy path-only ingress rules.

From #190
hbagdi added a commit that referenced this pull request Nov 8, 2018
dc3a19b introduced path only based routing but introduced a bug in the
code.
If there exist only path based routing rules for a service, then
the ingress will never be satisfied. There was at least one host based
ingress rule necessary to satisfied other host-less ingress rules for
any service.
This commit fixes that and properly creates routing rules in Kong to
satisfy path-only ingress rules.

From #190
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