-
Notifications
You must be signed in to change notification settings - Fork 551
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
Cant create chaining of responses #194
Comments
You're right, it looks like we missed something at the integration step... thanks for the heads up!!! |
Hey @kpacha Thank you for the quick answer! BTW I'm really enjoying this project and want to contribute with some features.
|
The fix of the bug has been merged into master and will be included into the next release. Regarding your last comment:
Please, take a look at krakend/krakend-httpcache#1
I think you already have that feature with the static backends. Here you have a simple example: https://github.com/devopsfaith/krakend/blob/master/test/krakend.json#L9-L30
I'd say that's the main feature of the KrakenD framework. Can you point what do you think is missing (https://www.krakend.io/docs/endpoints/response-manipulation/) ?
We'd love to get new ideas regarding array manipulations at the proxy level. It has been a known limitation and there are several issues related You can open a new issue with your thoughts and/or proposal or start a new conversation in our slack channel.
It is already possible with the grouping feature (https://www.krakend.io/docs/endpoints/response-manipulation/#grouping). Sadly, this feature doesn't play nice with the sequential backends, because the constraints of the response param extraction of the later.
please, check #181 Again, thanks for the heads up |
Hey @kpacha , thanks for all the support
I couldn't create a chain on POST endpoints, is that possible? I my current solution. I have two services and a creation of a
Of course, I'll start a discussion about that soon |
TL;DR Using multiple backends for methods other than The RFC-7231 refers the You already pointed out the need for some way of transaction management for the Imagine an endpoint accepting a single
Maybe, if we enforce some restrictions to the feature (like allowing this just on endpoints using the sequential backend feature) some of these problems go away, so I am eager to hear any proposals. If it's ok with you and in order to avoid polluting this issue, I'd suggest to move this conversation to the KrakenD slack channel or to a new issue. cheers! |
@kpacha I don't have access to the slack and couldn't create an account, its asking me to contact an administrator. Can you please create an account to me? sergiofilhow@gmail.com |
here you have the link to the invite form: https://invite.slack.golangbridge.org/ |
@kpacha
I tried to implement a POST endpoint with 3 backends (as my client sends a single request with a JOSN that should be split and distributed to 3 independent BEs), but getting nothing but strange 404s as soon as i added more than 1 backend. This info needs to be in the DOCs (i didnt find it in the backend or endpoint category - but i could be blind, its in the middle of the night right now) as the generated error (404) is kinda not fitting and impossible to trace. Also this Github issue doesn't turn up easily on google. i have GET routes with multiple backends which works fine, so its just a natural assumption that 'the same thing' works just as well with a POST. Anyway, if this info already exists and i'm just blind and sorry for bothering. Otherwise, it would be great to have this (important) piece of information easily available. :) Thanks for this wonderful Project ❤️ |
Almost a year after the last comment, I faced the same situation. Took me hours as well to find the response of @kpacha which makes a lot of sense and clarifies everything. Just wanted to say that as @nlappe said before, this information should be in the docs. At least a warning in the Response Manipulation, where the "merging" operation is described, would be great. And also, many thanks for this project and for making it OSS. Cheers 🙂 |
This issue was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link. |
According to the docs:
https://www.krakend.io/docs/endpoints/sequential-proxy/
I have the following config:
When I start the service I get the following message:
The text was updated successfully, but these errors were encountered: