Commit 3fb3881
authored
Merge Apache 5.x Preview to Master (#6220)
* Add initial empty module for Apache5x for seting up package (#6075)
* Add initial module for Apache5x for seting up package
* Add based on new module checklist
* Baseline or Copy all the ApacheSDKHttpClient classes to newly added Apache5SDKHttpClient (#6088)
* Add initial module for Apache5x for seting up package
* Add based on new module checklist
* Baseline all the classes from Apache4 SDK client to the new Apache5 module
* Phase 2 , getting Apache 5 compilation and Junit ready along with clearing Checkstyles and spotbug issues (#6100)
* Phase 2 , getting Apache 5 compilation and Junit ready along with clearing Checkstyles and spotbug issues
* Handle comments from review
* Handle comments from Zoe
* Update the snap shot
* Fix HTTP authentication retry failures by improving RepeatableInputStreamRequestEntity repeatability (#6132)
* Fix HTTP authentication retry failures by improving RepeatableInputStreamRequestEntity repeatability
* Upated test cases
* Handled comments
* Updated snap shot after merge from master
* Revert "Updated snap shot after merge from master"
This reverts commit 64f7d33.
* Updated snap shot after merge from master
* Fix architecture test failures for apache5.x (#6140)
* Fix architecture test failures for apache5.x
* Checkstyle issues
* Updated snap shot after merge from master
* Use reference of PoolingHttpClientConnectionManager instead of HttpClientConnectionManager for Connection Manager (#6147)
* Fix architecture test failures for apache5.x
* Checkstyle issues
* Update to use PoolingHttpClientConnectionManager class reference that is implementation of HttpClientConnectionManager
* Fix Apache5 HTTP client retry failures with non-resettable streams (#6154)
* Fix architecture test failures for apache5.x
* Checkstyle issues
* Update to use PoolingHttpClientConnectionManager class reference that is implementation of HttpClientConnectionManager
* Fix stream reset failure in RepeatableInputStreamRequestEntity by storing content reference to avoid multiple ContentStreamProvider.newStream() calls that cause IOException when retrying requests with non-resettable streams
* writeTo_ConcurrentWrites_HandlesCorrectly no longer needed since even Apache 4.x doesnot suports this
* Merge PR#6165 #6165
* Disable Client based retries and define httpcore5 httpclient5 in .brazil.json (#6191)
* Fix architecture test failures for apache5.x
* Checkstyle issues
* Update to use PoolingHttpClientConnectionManager class reference that is implementation of HttpClientConnectionManager
* Fix stream reset failure in RepeatableInputStreamRequestEntity by storing content reference to avoid multiple ContentStreamProvider.newStream() calls that cause IOException when retrying requests with non-resettable streams
* writeTo_ConcurrentWrites_HandlesCorrectly no longer needed since even Apache 4.x doesnot suports this
* Fix connectionPoolingWorks by setting skipping setConnectionTimeToLive is value is set to 0 since 0 is treated as Infinite timeToLive in Sdk and Apache 4.x but treated as immediate closeConnection in apache 5.x
* disableAutomaticRetries in Apache 5.x since SDK handles retries , also define Apache5 dependencies in .brazil.json
* Added Test case for Async , handled review ocmments
* Update snapshots
* Do not buffer the Response stream using BufferedHttpEntity (#6200)
* Fix architecture test failures for apache5.x
* Checkstyle issues
* Update to use PoolingHttpClientConnectionManager class reference that is implementation of HttpClientConnectionManager
* Fix stream reset failure in RepeatableInputStreamRequestEntity by storing content reference to avoid multiple ContentStreamProvider.newStream() calls that cause IOException when retrying requests with non-resettable streams
* writeTo_ConcurrentWrites_HandlesCorrectly no longer needed since even Apache 4.x doesnot suports this
* Fix connectionPoolingWorks by setting skipping setConnectionTimeToLive is value is set to 0 since 0 is treated as Infinite timeToLive in Sdk and Apache 4.x but treated as immediate closeConnection in apache 5.x
* disableAutomaticRetries in Apache 5.x since SDK handles retries , also define Apache5 dependencies in .brazil.json
* Added Test case for Async , handled review ocmments
* Donot do buffer the response using BufferedHttpEntity since it might cause memory issue, this behaviour is same as Apache4.x
* Fix compilation issues
* Fix checkstyle issues
* Remove test which are specific to apache http
* Merge from master
* Apache5x SDkBenhmark Tests (#6206)
* Fix architecture test failures for apache5.x
* Checkstyle issues
* Update to use PoolingHttpClientConnectionManager class reference that is implementation of HttpClientConnectionManager
* Fix stream reset failure in RepeatableInputStreamRequestEntity by storing content reference to avoid multiple ContentStreamProvider.newStream() calls that cause IOException when retrying requests with non-resettable streams
* writeTo_ConcurrentWrites_HandlesCorrectly no longer needed since even Apache 4.x doesnot suports this
* Fix connectionPoolingWorks by setting skipping setConnectionTimeToLive is value is set to 0 since 0 is treated as Infinite timeToLive in Sdk and Apache 4.x but treated as immediate closeConnection in apache 5.x
* disableAutomaticRetries in Apache 5.x since SDK handles retries , also define Apache5 dependencies in .brazil.json
* Added Test case for Async , handled review ocmments
* Donot do buffer the response using BufferedHttpEntity since it might cause memory issue, this behaviour is same as Apache4.x
* Fix compilation issues
* Fix checkstyle issues
* Remove test which are specific to apache http
* Add benchmark for Apache5 and add Streaming Api test cases
* Clean up unused APIs and add test to make sure it can be handled with alternatives (#6211)
* Clean up unused APIs and add test to make sure it can be handled with alternatives
* Added NTCredentials to keep backward compatibilty with Apache4.x
* Upgrade Apache5 org.apache.httpcomponents.client5 to latest available version (#6214)
* Fix architecture test failures for apache5.x
* Checkstyle issues
* Update to use PoolingHttpClientConnectionManager class reference that is implementation of HttpClientConnectionManager
* Fix stream reset failure in RepeatableInputStreamRequestEntity by storing content reference to avoid multiple ContentStreamProvider.newStream() calls that cause IOException when retrying requests with non-resettable streams
* writeTo_ConcurrentWrites_HandlesCorrectly no longer needed since even Apache 4.x doesnot suports this
* Fix connectionPoolingWorks by setting skipping setConnectionTimeToLive is value is set to 0 since 0 is treated as Infinite timeToLive in Sdk and Apache 4.x but treated as immediate closeConnection in apache 5.x
* disableAutomaticRetries in Apache 5.x since SDK handles retries , also define Apache5 dependencies in .brazil.json
* Added Test case for Async , handled review ocmments
* Donot do buffer the response using BufferedHttpEntity since it might cause memory issue, this behaviour is same as Apache4.x
* Fix compilation issues
* Fix checkstyle issues
* Remove test which are specific to apache http
* Add benchmark for Apache5 and add Streaming Api test cases
* Update Apache5 to 5.5
* Preview API annotation added for Public APIs and TODOs addressed (#6215)
* Fix architecture test failures for apache5.x
* Checkstyle issues
* Update to use PoolingHttpClientConnectionManager class reference that is implementation of HttpClientConnectionManager
* Fix stream reset failure in RepeatableInputStreamRequestEntity by storing content reference to avoid multiple ContentStreamProvider.newStream() calls that cause IOException when retrying requests with non-resettable streams
* writeTo_ConcurrentWrites_HandlesCorrectly no longer needed since even Apache 4.x doesnot suports this
* Fix connectionPoolingWorks by setting skipping setConnectionTimeToLive is value is set to 0 since 0 is treated as Infinite timeToLive in Sdk and Apache 4.x but treated as immediate closeConnection in apache 5.x
* disableAutomaticRetries in Apache 5.x since SDK handles retries , also define Apache5 dependencies in .brazil.json
* Added Test case for Async , handled review ocmments
* Donot do buffer the response using BufferedHttpEntity since it might cause memory issue, this behaviour is same as Apache4.x
* Fix compilation issues
* Fix checkstyle issues
* Remove test which are specific to apache http
* Add benchmark for Apache5 and add Streaming Api test cases
* Update Apache5 to 5.5
* Preview ready , addressing open TODOs
* Added PublicApi since checkstyle was failing
* Updated the snapshot
* Updated thr Brazil package nma e to have preview as suffix
* Updated Version as -PREVIEW to release apache5 as preview release (#6219)
* Updated Version as -PREVIEW
* japi cmp needs to be disables since this is a new version and we dont have old version to compare
* Handled Surface API review comments (#6224)
* Handled Surface API review comments
* Added a single test for localaddress , handled review comments
* Removing internal package name as -preview after internal discussion
* Fix transient text case failures
* update pom.xml for apache5.x
* Handled commed for merge to master PR 6220 (#6240)
* Handled Surface API review comments
* Added a single test for localaddress , handled review comments
* Removing internal package name as -preview after internal discussion
* Fix transient text case failures
* Handled comment for merge to master PR for apache 5.x
* Added change logs
* Review comment
* Handled Review comments1 parent 19e7766 commit 3fb3881
File tree
77 files changed
+8824
-8
lines changed- .changes/next-release
- bom-internal
- bom
- build-tools/src/main/resources/software/amazon/awssdk
- http-clients
- apache-client
- src/test/java/software/amazon/awssdk/http/apache
- internal
- apache5-client
- src
- main
- java/software/amazon/awssdk/http/apache5
- internal
- conn
- impl
- net
- utils
- resources/META-INF
- native-image/software.amazon.awssdk/apache-client
- services
- test
- java/software/amazon/awssdk/http/apache5
- internal
- conn
- impl
- resources
- software/amazon/awssdk/http/apache5
- test
- architecture-tests
- archunit_store
- http-client-tests/src/main/java/software/amazon/awssdk/http
- s3-benchmarks
- sdk-benchmarks
- src/main/java/software/amazon/awssdk/benchmark
- apicall/httpclient
- sync
- utils
- tests-coverage-reporting
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
77 files changed
+8824
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| 144 | + | |
143 | 145 | | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
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 | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
97 | 107 | | |
98 | 108 | | |
99 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
195 | 200 | | |
196 | 201 | | |
197 | 202 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| 288 | + | |
288 | 289 | | |
289 | 290 | | |
290 | 291 | | |
| |||
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
| 341 | + | |
340 | 342 | | |
341 | 343 | | |
342 | 344 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
95 | 131 | | |
96 | 132 | | |
97 | 133 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments