SQS Listener EventBridgeMessage annotation and converter#1307
SQS Listener EventBridgeMessage annotation and converter#1307frjonsen wants to merge 5 commits intoawspring:mainfrom
Conversation
|
I was unsure what to fill in as version, in the places they were mentioned. I wrote 3.3.0 as that seemed to be the next unreleased version. Should this be changed to something else, or will it be updated once it is determined which version this would be included in? |
|
Hey @frjonsen, sorry for the delay. We've just merged a PR that changes a few things in the SnsNotification part of the project, if you can please rebase your branch and see what needs to be changed. For the overall design I have two suggestions.
Thanks and please let me know your thoughts. |
📢 Type of change
📜 Description
Core goal was to add a new annotation, @EventBridgeMessage, as well as the corresponding converter and argument resolver. I took the liberty of splitting out common functionality
SnsMessageConverterto an abstractWrappedMessageConverterto reduce duplication.💡 Motivation and Context
Further context in this issue: #1272
💚 How did you test it?
Added tests similar to those of the @SnsNotificationMessage. The test resource
eventBridgeMessageis taken partially from https://docs.aws.amazon.com/AmazonS3/latest/userguide/ev-events.html, though the payload was written by hand to match the POJO.📝 Checklist