-
Notifications
You must be signed in to change notification settings - Fork 628
4.0.6 > 4.1.0 broke the JSON parsing of lambda functions invoked via Stonebranch Lambda plugin #1135
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
Comments
I don't know what you are actually asking. What does "broke" means in your case? |
The JSON is in the stack trace. This worked on version 4.0.6
|
What would help if you said initially that it is AWS related. That said, what is the signature of your function? This appears to be conversion issue so I need to know. |
Here is a stripped down version. `@Component
}` |
What does this event represent? I mean what AWS event? |
The following commit
8a93e10#diff-c3541839d4b70d7bf7b3c116f62949cdab0fd8923e1ccf57a6788e6411d67d87
added
To the org/springframework/cloud/function/adapter/aws/AWSLambdaUtils.java class.
Which breaks when the https://stonebranchdocs.atlassian.net/wiki/spaces/UE/pages/6062516/AWS+Lambda plugin sends the following JSON payload to the lambda. The plugin allows you to send any text string you like within the payload section.
When I upgraded to the 4.1.0 instance from the previous 4.0.6 it broke the invocation of the lambda. Please explain why the new payload section of code was added and remove if not needed.
The text was updated successfully, but these errors were encountered: