-
Notifications
You must be signed in to change notification settings - Fork 923
Merge Apache 5.x Preview to Master #6220
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
Merged
Merged
Changes from 43 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
f3fc974
Add initial empty module for Apache5x for seting up package (#6075)
joviegas 5092cc4
Baseline or Copy all the ApacheSDKHttpClient classes to newly added A…
joviegas 6e9939f
Phase 2 , getting Apache 5 compilation and Junit ready along with cle…
joviegas 4dda3f7
Merge branch 'master' into feature/master/apache5x
joviegas 3053d09
Update the snap shot
joviegas 985ca35
Fix HTTP authentication retry failures by improving RepeatableInputSt…
joviegas b97c9da
Merge branch 'master' into feature/master/apache5x
joviegas 64f7d33
Updated snap shot after merge from master
joviegas 24438e8
Revert "Updated snap shot after merge from master"
joviegas 62150d6
Updated snap shot after merge from master
joviegas fbfb70f
Fix architecture test failures for apache5.x (#6140)
joviegas 3c4433c
Merge branch 'master' into feature/master/apache5x
joviegas 6d8b5f4
Updated snap shot after merge from master
joviegas 13c5796
Use reference of PoolingHttpClientConnectionManager instead of HttpCl…
joviegas 0bdf878
Merge branch 'master' into feature/master/apache5x
joviegas 265976d
Fix Apache5 HTTP client retry failures with non-resettable streams (#…
joviegas 4671831
Merge branch 'master' into feature/master/apache5x
joviegas 2f72282
Merge branch 'master' into feature/master/apache5x
joviegas 79f6f0f
Merge PR#6165 https://github.com/aws/aws-sdk-java-v2/pull/6165
joviegas fcbc3c0
Disable Client based retries and define httpcore5 httpclient5 in .bra…
joviegas 716a6db
Merge branch 'master' into feature/master/apache5x
joviegas 09e8ee4
Update snapshots
joviegas ad30c25
Merge branch 'feature/master/apache5x' of github.com:aws/aws-sdk-java…
joviegas 3cedfb1
Do not buffer the Response stream using BufferedHttpEntity (#6200)
joviegas 959605c
Merge branch 'master' into feature/master/apache5x
joviegas a959581
Merge from master
joviegas e188995
Apache5x SDkBenhmark Tests (#6206)
joviegas 3cc94bb
Clean up unused APIs and add test to make sure it can be handled with…
joviegas 45f630d
Merge branch 'master' into feature/master/apache5x
joviegas 67d6690
Upgrade Apache5 org.apache.httpcomponents.client5 to latest available…
joviegas c3cb46f
Preview API annotation added for Public APIs and TODOs addressed (#6215)
joviegas bb372da
Merge branch 'master' into feature/master/apache5x
joviegas d336053
Updated the snapshot
joviegas 397f330
Updated thr Brazil package nma e to have preview as suffix
joviegas a21356a
Updated Version as -PREVIEW to release apache5 as preview release (#6…
joviegas 4aa1fdb
Handled Surface API review comments (#6224)
joviegas 198a814
Merge branch 'master' into feature/master/apache5x
joviegas 661b152
update pom.xml for apache5.x
joviegas 251490c
Handled commed for merge to master PR 6220 (#6240)
joviegas 7a7e4cd
Merge branch 'master' into feature/master/apache5x
joviegas 6383c44
Added change logs
joviegas ee93292
Merge branch 'master' into feature/master/apache5x
joviegas 061b5fb
Review comment
joviegas f26f7bb
Handled Review comments
joviegas dfcfdcb
Merge branch 'master' into feature/master/apache5x
joviegas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"type": "feature", | ||
"category": "AWS SDK for Java v2", | ||
"contributor": "", | ||
"description": "Preview Release of AWS SDK Apache5 HttpClient with Apache HttpClient 5.5.x" | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...t/java/software/amazon/awssdk/http/apache/ApacheHttpClientLocalAddressFunctionalTest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
package software.amazon.awssdk.http.apache; | ||
|
||
import java.net.InetAddress; | ||
import java.time.Duration; | ||
import org.junit.jupiter.api.DisplayName; | ||
import software.amazon.awssdk.http.SdkHttpClient; | ||
import software.amazon.awssdk.http.SdkHttpClientLocalAddressFunctionalTestSuite; | ||
|
||
@DisplayName("Apache HTTP Client - Local Address Functional Tests") | ||
class ApacheHttpClientLocalAddressFunctionalTest extends SdkHttpClientLocalAddressFunctionalTestSuite { | ||
|
||
@Override | ||
protected SdkHttpClient createHttpClient(InetAddress localAddress, Duration connectionTimeout) { | ||
return ApacheHttpClient.builder() | ||
.localAddress(localAddress) | ||
.connectionTimeout(connectionTimeout) | ||
.build(); | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...rc/test/java/software/amazon/awssdk/http/apache/ApacheHttpClientUriNormalizationTest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
|
||
package software.amazon.awssdk.http.apache; | ||
|
||
import software.amazon.awssdk.http.HttpClientUriNormalizationTestSuite; | ||
import software.amazon.awssdk.http.SdkHttpClient; | ||
|
||
public class ApacheHttpClientUriNormalizationTest extends HttpClientUriNormalizationTestSuite { | ||
|
||
|
||
@Override | ||
protected SdkHttpClient createSdkHttpClient() { | ||
return ApacheHttpClient.create(); | ||
} | ||
} | ||
|
30 changes: 30 additions & 0 deletions
30
...src/test/java/software/amazon/awssdk/http/apache/ApacheHttpClientUriSanitizationTest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
|
||
package software.amazon.awssdk.http.apache; | ||
|
||
|
||
import org.junit.jupiter.api.DisplayName; | ||
import software.amazon.awssdk.http.SdkHttpClient; | ||
import software.amazon.awssdk.http.SdkHttpClientUriSanitizationTestSuite; | ||
|
||
@DisplayName("Apache HTTP Client - URI Sanitization Tests") | ||
class ApacheHttpClientUriSanitizationTest extends SdkHttpClientUriSanitizationTestSuite { | ||
|
||
@Override | ||
protected SdkHttpClient createHttpClient() { | ||
return ApacheHttpClient.create(); | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
nit:
Apache HTTP Client 5
?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.
I was thinking since
Apache HTTP Client 5
did not exist yet and we are introducing a new feature in "AWS SDK for Java v2" I added category as "AWS SDK for Java v2"Will change this to
Apache HTTP Client 5
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.
Done