-
Notifications
You must be signed in to change notification settings - Fork 910
Bugfix: s3 asynchronous client GetBucketPolicy now works and does not… #1586
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1586 +/- ##
============================================
+ Coverage 75.55% 75.58% +0.03%
Complexity 638 638
============================================
Files 896 898 +2
Lines 28086 28136 +50
Branches 2217 2221 +4
============================================
+ Hits 21221 21268 +47
- Misses 5847 5849 +2
- Partials 1018 1019 +1
Continue to review full report at Codecov.
|
14e3522
to
dc0db29
Compare
core/sdk-core/src/main/java/software/amazon/awssdk/core/async/SdkPublishers.java
Outdated
Show resolved
Hide resolved
...re/src/main/java/software/amazon/awssdk/core/internal/async/EnvelopeWrappedSdkPublisher.java
Outdated
Show resolved
Hide resolved
...re/src/main/java/software/amazon/awssdk/core/internal/async/EnvelopeWrappedSdkPublisher.java
Outdated
Show resolved
Hide resolved
...re/src/main/java/software/amazon/awssdk/core/internal/async/EnvelopeWrappedSdkPublisher.java
Outdated
Show resolved
Hide resolved
...re/src/main/java/software/amazon/awssdk/core/internal/async/EnvelopeWrappedSdkPublisher.java
Show resolved
Hide resolved
dc0db29
to
d099622
Compare
core/sdk-core/src/main/java/software/amazon/awssdk/core/async/SdkPublishers.java
Outdated
Show resolved
Hide resolved
...re/src/main/java/software/amazon/awssdk/core/internal/async/EnvelopeWrappedSdkPublisher.java
Show resolved
Hide resolved
...in/java/software/amazon/awssdk/services/s3/internal/handlers/GetBucketPolicyInterceptor.java
Outdated
Show resolved
Hide resolved
… always through an XML parsing error
d099622
to
bd087f9
Compare
Kudos, SonarCloud Quality Gate passed!
|
…cfd44c44d Pull request: release <- staging/8d00501b-0523-4e5f-b2b4-9c9cfd44c44d
… always through an XML parsing error
Fixes: #1577
Description
An interceptor to wrap the S3 output in XML so it could be parsed by the SDK had only been written for the synchronous client. I filled in the missing functionality for the async client.
Motivation and Context
S3 GetBucketPolicy is totally broken in the async client.
Testing
Functional + unit tests.
Screenshots (if appropriate)
Types of changes
Checklist
mvn install
succeedsLicense