-
Notifications
You must be signed in to change notification settings - Fork 494
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
[Bug]: API Aggregation cookbook examples not work for me. #908
Labels
bug
Something isn't working
Comments
Thanks @grootpiano for pointing these issues out, and much appreciate if you could submit a PR to fix them. |
That's so sure. It's my pleasure! Waiting, the PR is on the way. 🏃 |
grootpiano
added a commit
to grootpiano/easegress
that referenced
this issue
Jan 28, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Hi there, I have some trouble when walking through our API Aggregation cookbook. Need HELP! 🆘
There's two kind of problems:
Problem 1
In scenario 1 and 2, when using example specs, I got this error:
And I found that, in line
pkg/filters/builder/builder.go:65
, the result which should be unmarshaled was an invalid YAML data:After changing the ResponseBuilder template like this:
then it works.
Problem 2
In scenario 3, when I stopped service
demo1
and called the api again. It directly jumped to theEND
filter, not calling servicedemo2
anddemo3
.So, I added a
jumpIf
condition:then I got the expected result.
Version
The latest master branch version.
Additional context
Actually, I'm not sure if the modifications above are needed. Or maybe I forgot to configure something? I don't know. Please help me to figure it out. 😿
Thanks for contributing 🎉!
The text was updated successfully, but these errors were encountered: