Commit df8b220
Merge transfer manager change into mainline (#2649)
* Add download implementation for API requests
* Add S3CrtAsyncClient skeleton
* Add support for adapting the sdk configurations to crt configurations.
* Implement getObject in S3CrtAsyncClient
* Implement S3 CRT upload
* Fix checkstyle errors, add stability tests
* Upgrade crt to 0.11.5
* Update APIs
* Fix CRT S3 Client builder
- Return the correct type from builder methods
- Make max throughput and part size nullable
* Implement S3TransferManager#upload
* Implement TransferManager download and add s3-benchmarks module
* Move s3 crt related classes to s3-transfermanager
* Add requestLogger and requestIdLogger
* Various fixes and refactoring
* Add user-agent header in transfer manager
* Refactor UserAgentUtils and make it a protected API
* Fix sdk-benchmarks version
* Rename module and package for transfermanager
* Fix stability tests to not create a new client per request
* Various renaming
* Remove the option to pass bucket and key to DownloadRequest and UploadRequest and remove unused files
* Add README for S3TransferManager
* Add validation in S3ClientConfiguration
* Fix CRT/SDK POJO conversion and add more tests
* Update to use CRT DelegateCredentialsProvider
* Provide HTTP request-level data to PutObjectResponse
* Update Javadocs
* Fix the race condition in the FileAsyncRequestBody which causes the request to hang
* Add request cancellation logic and tests
* Fixed an issue where the future gets stuck when upload fails
* Offload completion of execution future to a separate thread
* Wrap CrtS3RuntimeException to SdkServiceException
* Revert "Wrap CrtS3RuntimeException to SdkServiceException"
* Update s3 crt client tests to verify resources are closed properly
* Wrap CrtS3RuntimeException to S3ServiceException
* Update version
* Bump up CRT version, clean up resources in tests, fix credential adapter TODO (#2594)
* Remove buffer copy since it's no longer needed (#2611)
* Fix fd remaining open longer than necessary (#2616)
In FileAsyncRequestBody, the file was not being closed until a request()
read past the end of the file without ready any bytes; i.e. if a read()
call reads up to the end of the file, it would not complete the
subscription on the subsequent request() signal. This fixes this issue
by signaling complete if we know we've reached the end.
* Cancel sub on finish and exception (#2619)
* Bump up crt version (#2640)
Bump up crt version
* Fix merge conflict
* Merge 'origin/master' into transfer manager branch (#2647)
Co-authored-by: Quanzzzz <[email protected]>
Co-authored-by: John Viegas <[email protected]>
Co-authored-by: Dongie Agnir <[email protected]>1 parent c62ccb2 commit df8b220
File tree
95 files changed
+7685
-139
lines changed- .changes/next-release
- buildspecs
- core
- auth/src
- main/java/software/amazon/awssdk/auth/credentials
- test/java/software/amazon/awssdk/auth/credentials
- regions/src
- main/java/software/amazon/awssdk/regions
- internal/util
- util
- test/java/software/amazon/awssdk/regions/util
- sdk-core/src
- main/java/software/amazon/awssdk/core
- client/builder
- internal
- async
- http/pipeline/stages
- util
- test/java/software/amazon/awssdk/core
- internal/async
- util
- services-custom
- s3-transfer-manager
- src
- it/java/software/amazon/awssdk/transfer/s3
- main/java/software/amazon/awssdk/transfer/s3
- internal
- test
- java/software/amazon/awssdk/transfer/s3
- internal
- util
- resources
- services/s3
- src/test/java/software/amazon/awssdk/services/s3/utils
- test
- auth-sts-testing/src/it/java/software/amazon/awssdk/authststesting
- s3-benchmarks
- src/main
- java/software/amazon/awssdk/s3benchmarks
- resources
- stability-tests
- src/it/java/software/amazon/awssdk/stability/tests/s3
- tests-coverage-reporting
- utils/src
- main/java/software/amazon/awssdk/utils
- test/java/software/amazon/awssdk/utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
95 files changed
+7685
-139
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
33 | | - | |
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
| |||
40 | 37 | | |
41 | 38 | | |
42 | 39 | | |
43 | | - | |
44 | | - | |
| 40 | + | |
45 | 41 | | |
46 | 42 | | |
47 | 43 | | |
| |||
94 | 90 | | |
95 | 91 | | |
96 | 92 | | |
97 | | - | |
| 93 | + | |
98 | 94 | | |
99 | 95 | | |
100 | 96 | | |
| |||
235 | 231 | | |
236 | 232 | | |
237 | 233 | | |
238 | | - | |
| 234 | + | |
239 | 235 | | |
240 | 236 | | |
241 | 237 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
636 | | - | |
| 636 | + | |
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments