-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Multiple paths & hosts per API. #369
Comments
|
+1. Any progress? Can't find it in the roadmap yet... I think this conflicts a bit with the ACL issue that consumers are not related to a single API but have access to all APIs. However, all APIs should have a different host, making that thought quite strange imho ;-) |
+1 multiple host matching is certainly needed |
👍 |
1 similar comment
+1 |
+1, this is a roadblock for my use case too. |
The proposed solution would be to support the following properties on the API object:
Both would support a list of values, and both would support named parameters with regex support, like: We still need to find a consensus on the format of the named parameter. The above format works well when the parameter is delimited by slashes Thoughts? |
Thanks, @thefosk, I suggest just use a simple pattern to indicate the boundary of regex, {} may work well. For example NOTE: {} may collide with {min,max} in regex, but if your parser is greedy and extract the longest pattern between {} that should not be a problem. |
👍 |
3 similar comments
👍 |
👍 |
👍 |
+1 |
1 similar comment
👍 |
👍 |
+1 |
1 similar comment
+1 |
I'm helping setup Kong for a major enterprise and we are somewhat dependent on this feature. If you'd like any additional resources for performing acceptance testing on |
@Marak I would love to hear more about what would be those requirements indeed. |
One of our Senior Developers submitted the enterprise sales form a couple of times this month with no response. We are looking to host APIs for multiple applications in one Kong. Without the ability to enter the same For example, we can't figure out how to easily do something like:
This fails in Kong Dashboard with If so, it seems impossible to setup granular routes in Kong for multiple applications which share the same routing namespaces. |
@Marak In that particular case you described, wouldn't setting those 2 different APIs work with:
There doesn't seem to be a need for |
Why would you assume there is no need for I'll try to make it more clear:
|
There was no assumption but a clear indication that in that particular example you have, there was no need for it; surely it had to be more than that :) Yes, that use case in the second example is covered in the upcoming new router. |
Hello! I would like to know, when it could be available?? Rémi 👍 |
Sounds good. When the |
Any progress on this issue? |
Juste encountered this issue, any update on this ? |
+1 |
1 similar comment
+1 |
Any progress on this issue please? |
Available in latest |
@thefosk @thibaultcha I've dedicated some resources to testing Will let you know how our testing goes. Thanks again! |
👍 |
1 similar comment
👍 |
Initial reports from our engineers are saying that it's working. Great success so far. Thank you! Will be moving on to stress tests in the upcoming weeks. FYI, we've got a test suite / client adapter for the kong admin api written in Node.js. I've found a few of these already on NPM, but none of them were slim / separated concerns. Do you guys have any interest in this? I can see if the company is willing to open-source the Node.js kong admin api client library. |
@Marak Glad to hear. The new router should slightly improve performance compared to Kong 0.9 but not by a significant margin, as plugins remain the bottleneck of the proxied traffic.
Any tool benefiting the community is most welcome! I am sure it would find its user base. Would you open-source it, we would add it to our list of community tools in this repo. |
I have opened #1970 which includes some detailed changes and documentations (non-exhaustive) concerning the new router and its capabilities, in case anyone is interested in consulting it. Reviews are welcome too (however the branch needs some cleanup). |
FYI, here is the documentation for this new router: https://github.com/Mashape/getkong.org/blob/release/0.10/app/docs/0.10.x/proxy.md Reviews appreciated. |
Closing this as Kong 0.10.0 is now released with support for this, and regex support is part of another discussion. |
@thibaultcha Thanks! |
Yes, the branch was merged and deleted and the doc is now published at: |
Are there plans to add the regex support at some point? It was mentioned a few times in this issue I'd love to be able to do: |
Yes, see the related issue for that. |
Ah sorry it didn't come up on my initial searches, for others reference here is the discussion: #677 Thanks @thibaultcha ! |
With regex support. See #192 for more details.
The text was updated successfully, but these errors were encountered: