File tree Expand file tree Collapse file tree 12 files changed +63
-4
lines changed
src/main/java/software/amazon/awssdk/core/internal/http/loader
http-clients/apache5-client/src/main/java/software/amazon/awssdk/http/apache5
codegen-generated-classes-test Expand file tree Collapse file tree 12 files changed +63
-4
lines changed Original file line number Diff line number Diff line change 191
191
<version >${awsjavasdk.version} </version >
192
192
<scope >test</scope >
193
193
</dependency >
194
+ <dependency >
195
+ <groupId >software.amazon.awssdk</groupId >
196
+ <artifactId >apache5-client</artifactId >
197
+ <version >${awsjavasdk.version} </version >
198
+ <scope >test</scope >
199
+ </dependency >
194
200
<dependency >
195
201
<groupId >org.assertj</groupId >
196
202
<artifactId >assertj-core</artifactId >
Original file line number Diff line number Diff line change 112
112
<version >${awsjavasdk.version} </version >
113
113
<scope >test</scope >
114
114
</dependency >
115
+ <dependency >
116
+ <groupId >software.amazon.awssdk</groupId >
117
+ <artifactId >apache5-client</artifactId >
118
+ <version >${awsjavasdk.version} </version >
119
+ <scope >test</scope >
120
+ </dependency >
115
121
<dependency >
116
122
<groupId >org.junit.jupiter</groupId >
117
123
<artifactId >junit-jupiter</artifactId >
Original file line number Diff line number Diff line change @@ -38,9 +38,10 @@ final class ClasspathSdkHttpServiceProvider<T> implements SdkHttpServiceProvider
38
38
39
39
static final Map <String , Integer > SYNC_HTTP_SERVICES_PRIORITY =
40
40
ImmutableMap .<String , Integer >builder ()
41
- .put ("software.amazon.awssdk.http.apache.ApacheSdkHttpService" , 1 )
42
- .put ("software.amazon.awssdk.http.urlconnection.UrlConnectionSdkHttpService" , 2 )
43
- .put ("software.amazon.awssdk.http.crt.AwsCrtSdkHttpService" , 3 )
41
+ .put ("software.amazon.awssdk.http.apache5.Apache5SdkHttpService" , 1 )
42
+ .put ("software.amazon.awssdk.http.apache.ApacheSdkHttpService" , 2 )
43
+ .put ("software.amazon.awssdk.http.urlconnection.UrlConnectionSdkHttpService" , 3 )
44
+ .put ("software.amazon.awssdk.http.crt.AwsCrtSdkHttpService" , 4 )
44
45
.build ();
45
46
46
47
static final Map <String , Integer > ASYNC_HTTP_SERVICES_PRIORITY =
Original file line number Diff line number Diff line change @@ -166,7 +166,9 @@ private ConnectionManagerAwareHttpClient createClient(Apache5HttpClient.DefaultB
166
166
.setUserAgent ("" ) // SDK will set the user agent header in the pipeline. Don't let Apache waste time
167
167
.setConnectionManager (ClientConnectionManagerFactory .wrap (cm ))
168
168
//This is done to keep backward compatibility with Apache 4.x
169
- .disableRedirectHandling ();
169
+ .disableRedirectHandling ()
170
+ // SDK handle retries , this we do not need the http clients to handle the reties by itself
171
+ .disableAutomaticRetries ();
170
172
171
173
addProxyConfig (builder , configuration );
172
174
Original file line number Diff line number Diff line change 516
516
<version >${awsjavasdk.version} </version >
517
517
<scope >runtime</scope >
518
518
</dependency >
519
+ <dependency >
520
+ <artifactId >apache5-client</artifactId >
521
+ <groupId >software.amazon.awssdk</groupId >
522
+ <version >${awsjavasdk.version} </version >
523
+ <scope >runtime</scope >
524
+ </dependency >
519
525
<dependency >
520
526
<artifactId >netty-nio-client</artifactId >
521
527
<groupId >software.amazon.awssdk</groupId >
Original file line number Diff line number Diff line change 235
235
<version >${awsjavasdk.version} </version >
236
236
<scope >test</scope >
237
237
</dependency >
238
+ <dependency >
239
+ <groupId >software.amazon.awssdk</groupId >
240
+ <artifactId >apache5-client</artifactId >
241
+ <version >${awsjavasdk.version} </version >
242
+ <scope >test</scope >
243
+ </dependency >
238
244
<dependency >
239
245
<groupId >org.assertj</groupId >
240
246
<artifactId >assertj-core</artifactId >
Original file line number Diff line number Diff line change 59
59
<artifactId >apache-client</artifactId >
60
60
<version >${awsjavasdk.version} </version >
61
61
</dependency >
62
+ <dependency >
63
+ <groupId >software.amazon.awssdk</groupId >
64
+ <artifactId >apache5-client</artifactId >
65
+ <version >${awsjavasdk.version} </version >
66
+ </dependency >
62
67
<dependency >
63
68
<groupId >software.amazon.awssdk</groupId >
64
69
<artifactId >netty-nio-client</artifactId >
Original file line number Diff line number Diff line change 93
93
<version >${awsjavasdk.version} </version >
94
94
<scope >runtime</scope >
95
95
</dependency >
96
+ <dependency >
97
+ <groupId >software.amazon.awssdk</groupId >
98
+ <artifactId >apache5-client</artifactId >
99
+ <version >${awsjavasdk.version} </version >
100
+ <scope >runtime</scope >
101
+ </dependency >
96
102
<dependency >
97
103
<groupId >software.amazon.awssdk</groupId >
98
104
<artifactId >http-client-spi</artifactId >
Original file line number Diff line number Diff line change 158
158
<artifactId >apache-client</artifactId >
159
159
<version >${awsjavasdk.version} </version >
160
160
</dependency >
161
+ <dependency >
162
+ <groupId >software.amazon.awssdk</groupId >
163
+ <artifactId >apache5-client</artifactId >
164
+ <version >${awsjavasdk.version} </version >
165
+ </dependency >
161
166
<dependency >
162
167
<groupId >software.amazon.awssdk</groupId >
163
168
<artifactId >protocol-tests</artifactId >
Original file line number Diff line number Diff line change 67
67
<version >${awsjavasdk.version} </version >
68
68
</dependency >
69
69
70
+ <dependency >
71
+ <groupId >software.amazon.awssdk</groupId >
72
+ <artifactId >apache5-client</artifactId >
73
+ <version >${awsjavasdk.version} </version >
74
+ </dependency >
70
75
71
76
<dependency >
72
77
<groupId >org.slf4j</groupId >
You can’t perform that action at this time.
0 commit comments