-
Notifications
You must be signed in to change notification settings - Fork 64
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
convert empty httpEntity to {} to avoid DeliveryStatus initialization exception #648
Conversation
… exception Signed-off-by: Hailong Cui <ihailong@amazon.com>
Signed-off-by: Hailong Cui <ihailong@amazon.com>
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #648 +/- ##
============================================
+ Coverage 61.70% 61.84% +0.13%
- Complexity 112 114 +2
============================================
Files 73 73
Lines 2494 2495 +1
Branches 265 266 +1
============================================
+ Hits 1539 1543 +4
+ Misses 778 775 -3
Partials 177 177
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
… exception (#648) * convert empty httpEntity to {} to avoid DeliveryStatus initialization exception Signed-off-by: Hailong Cui <ihailong@amazon.com> * add integTest case for webhook empty response Signed-off-by: Hailong Cui <ihailong@amazon.com> --------- Signed-off-by: Hailong Cui <ihailong@amazon.com> (cherry picked from commit 94c225d)
… initialization exception (#651) * convert empty httpEntity to {} to avoid DeliveryStatus initialization exception (#648) * convert empty httpEntity to {} to avoid DeliveryStatus initialization exception Signed-off-by: Hailong Cui <ihailong@amazon.com> * add integTest case for webhook empty response Signed-off-by: Hailong Cui <ihailong@amazon.com> --------- Signed-off-by: Hailong Cui <ihailong@amazon.com> (cherry picked from commit 94c225d) * update github actions Signed-off-by: Hailong Cui <ihailong@amazon.com> * fix test build failure Signed-off-by: Hailong Cui <ihailong@amazon.com> --------- Signed-off-by: Hailong Cui <ihailong@amazon.com> Co-authored-by: Hailong Cui <ihailong@amazon.com>
… exception (#648) * convert empty httpEntity to {} to avoid DeliveryStatus initialization exception Signed-off-by: Hailong Cui <ihailong@amazon.com> * add integTest case for webhook empty response Signed-off-by: Hailong Cui <ihailong@amazon.com> --------- Signed-off-by: Hailong Cui <ihailong@amazon.com> (cherry picked from commit 94c225d)
@AWSHurneyt would you mind build and publish common-utils 2.5.1-snapshot to maven? The build depends on it. |
… exception (#648) * convert empty httpEntity to {} to avoid DeliveryStatus initialization exception Signed-off-by: Hailong Cui <ihailong@amazon.com> * add integTest case for webhook empty response Signed-off-by: Hailong Cui <ihailong@amazon.com> --------- Signed-off-by: Hailong Cui <ihailong@amazon.com> (cherry picked from commit 94c225d) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
… initialization exception (#730) * convert empty httpEntity to {} to avoid DeliveryStatus initialization exception (#648) * convert empty httpEntity to {} to avoid DeliveryStatus initialization exception Signed-off-by: Hailong Cui <ihailong@amazon.com> * add integTest case for webhook empty response Signed-off-by: Hailong Cui <ihailong@amazon.com> --------- Signed-off-by: Hailong Cui <ihailong@amazon.com> (cherry picked from commit 94c225d) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Add missing import Signed-off-by: Hailong Cui <ihailong@amazon.com> --------- Signed-off-by: Hailong Cui <ihailong@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Hailong Cui <ihailong@amazon.com>
… initialization exception (#660) * convert empty httpEntity to {} to avoid DeliveryStatus initialization exception (#648) * convert empty httpEntity to {} to avoid DeliveryStatus initialization exception Signed-off-by: Hailong Cui <ihailong@amazon.com> * add integTest case for webhook empty response Signed-off-by: Hailong Cui <ihailong@amazon.com> --------- Signed-off-by: Hailong Cui <ihailong@amazon.com> (cherry picked from commit 94c225d) * Add missing import Signed-off-by: Hailong Cui <ihailong@amazon.com> --------- Signed-off-by: Hailong Cui <ihailong@amazon.com> Co-authored-by: Hailong Cui <ihailong@amazon.com>
Description
convert empty HTTPEntity to a not empty string
{}
to fix DeliveryStatus initialization exceptionIssues Resolved
#611
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.