Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
843344a9
Unverified
Commit
843344a9
authored
Apr 18, 2018
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dependencies-pom-cleanup'
parents
76158af1
73fbec16
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
32 additions
and
87 deletions
+32
-87
pom.xml
pom.xml
+18
-0
pom.xml
spring-cloud-netflix-dependencies/pom.xml
+3
-40
pom.xml
spring-cloud-netflix-eureka-client/pom.xml
+0
-13
pom.xml
spring-cloud-netflix-hystrix-dashboard/pom.xml
+2
-0
RetryableRibbonLoadBalancingHttpClient.java
...ribbon/apache/RetryableRibbonLoadBalancingHttpClient.java
+5
-4
RetryableOkHttpLoadBalancingClient.java
...lix/ribbon/okhttp/RetryableOkHttpLoadBalancingClient.java
+4
-3
pom.xml
spring-cloud-netflix-zuul/pom.xml
+0
-5
pom.xml
...ter-netflix/spring-cloud-starter-netflix-archaius/pom.xml
+0
-22
No files found.
pom.xml
View file @
843344a9
...
...
@@ -123,6 +123,24 @@
<artifactId>
jackson-dataformat-smile
</artifactId>
<version>
${jackson.version}
</version>
</dependency>
<dependency>
<groupId>
javax.inject
</groupId>
<artifactId>
javax.inject
</artifactId>
<version>
1
</version>
</dependency>
<!-- archaius dependencies that are now runtime -->
<dependency>
<groupId>
commons-configuration
</groupId>
<artifactId>
commons-configuration
</artifactId>
<version>
1.8
</version>
<exclusions>
<exclusion>
<groupId>
commons-logging
</groupId>
<artifactId>
commons-logging
</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- end archaius deps -->
</dependencies>
</dependencyManagement>
<modules>
...
...
spring-cloud-netflix-dependencies/pom.xml
View file @
843344a9
...
...
@@ -14,7 +14,7 @@
<name>
spring-cloud-netflix-dependencies
</name>
<description>
Spring Cloud Netflix Dependencies
</description>
<properties>
<archaius.version>
0.7.
5
</archaius.version>
<archaius.version>
0.7.
6
</archaius.version>
<eureka.version>
1.8.8
</eureka.version>
<hystrix.version>
1.5.12
</hystrix.version>
<ribbon.version>
2.2.5
</ribbon.version>
...
...
@@ -137,7 +137,7 @@
<dependency>
<groupId>
com.netflix.netflix-commons
</groupId>
<artifactId>
netflix-commons-util
</artifactId>
<version>
0.
1.1
</version>
<version>
0.
3.0
</version>
</dependency>
<dependency>
<groupId>
com.netflix.archaius
</groupId>
...
...
@@ -154,19 +154,7 @@
</exclusion>
</exclusions>
</dependency>
<!-- archaius dependencies that are now runtime -->
<dependency>
<groupId>
commons-configuration
</groupId>
<artifactId>
commons-configuration
</artifactId>
<version>
1.8
</version>
<exclusions>
<exclusion>
<groupId>
commons-logging
</groupId>
<artifactId>
commons-logging
</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- end archaius deps -->
<dependency>
<groupId>
com.sun.jersey
</groupId>
<artifactId>
jersey-servlet
</artifactId>
...
...
@@ -417,31 +405,6 @@
<artifactId>
logging-interceptor
</artifactId>
<version>
${okhttp3.version}
</version>
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
<version>
18.0
</version>
</dependency>
<dependency>
<groupId>
org.webjars
</groupId>
<artifactId>
d3js
</artifactId>
<version>
3.4.11
</version>
</dependency>
<dependency>
<groupId>
org.webjars
</groupId>
<artifactId>
jquery
</artifactId>
<version>
2.1.1
</version>
</dependency>
<dependency>
<groupId>
org.webjars
</groupId>
<artifactId>
bootstrap
</artifactId>
<version>
3.2.0
</version>
</dependency>
<dependency>
<groupId>
javax.inject
</groupId>
<artifactId>
javax.inject
</artifactId>
<version>
1
</version>
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
...
...
spring-cloud-netflix-eureka-client/pom.xml
View file @
843344a9
...
...
@@ -69,12 +69,6 @@
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
net.java.dev.rome
</groupId>
<artifactId>
rome
</artifactId>
<version>
1.0.0
</version>
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
com.sun.jersey.contribs
</groupId>
<artifactId>
jersey-apache-client4
</artifactId>
<optional>
true
</optional>
...
...
@@ -84,13 +78,6 @@
<artifactId>
archaius-core
</artifactId>
<optional>
true
</optional>
</dependency>
<!-- archaius dependencies that are now runtime -->
<dependency>
<groupId>
commons-configuration
</groupId>
<artifactId>
commons-configuration
</artifactId>
<optional>
true
</optional>
</dependency>
<!-- end archaius deps -->
<dependency>
<groupId>
com.netflix.ribbon
</groupId>
<artifactId>
ribbon
</artifactId>
...
...
spring-cloud-netflix-hystrix-dashboard/pom.xml
View file @
843344a9
...
...
@@ -51,10 +51,12 @@
<dependency>
<groupId>
org.webjars
</groupId>
<artifactId>
jquery
</artifactId>
<version>
2.1.1
</version>
</dependency>
<dependency>
<groupId>
org.webjars
</groupId>
<artifactId>
d3js
</artifactId>
<version>
3.4.11
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
spring-cloud-netflix-ribbon/src/main/java/org/springframework/cloud/netflix/ribbon/apache/RetryableRibbonLoadBalancingHttpClient.java
View file @
843344a9
...
...
@@ -16,7 +16,6 @@
package
org
.
springframework
.
cloud
.
netflix
.
ribbon
.
apache
;
import
java.net.URI
;
import
org.apache.commons.lang.BooleanUtils
;
import
org.apache.http.HttpResponse
;
import
org.apache.http.client.config.RequestConfig
;
import
org.apache.http.client.methods.HttpUriRequest
;
...
...
@@ -110,10 +109,12 @@ public class RetryableRibbonLoadBalancingHttpClient extends RibbonLoadBalancingH
public
boolean
isClientRetryable
(
ContextAwareRequest
request
)
{
return
request
!=
null
&&
isRequestRetryable
(
request
);
}
private
boolean
isRequestRetryable
(
ContextAwareRequest
request
)
{
return
request
.
getContext
()
==
null
?
true
:
BooleanUtils
.
toBooleanDefaultIfNull
(
request
.
getContext
().
getRetryable
(),
true
);
if
(
request
.
getContext
()
==
null
||
request
.
getContext
().
getRetryable
()
==
null
)
{
return
true
;
}
return
request
.
getContext
().
getRetryable
();
}
private
RibbonApacheHttpResponse
executeWithRetry
(
RibbonApacheHttpRequest
request
,
LoadBalancedRetryPolicy
retryPolicy
,
...
...
spring-cloud-netflix-ribbon/src/main/java/org/springframework/cloud/netflix/ribbon/okhttp/RetryableOkHttpLoadBalancingClient.java
View file @
843344a9
...
...
@@ -21,7 +21,6 @@ import okhttp3.Response;
import
okhttp3.ResponseBody
;
import
java.net.URI
;
import
org.apache.commons.lang.BooleanUtils
;
import
org.springframework.cloud.client.ServiceInstance
;
import
org.springframework.cloud.client.loadbalancer.InterceptorRetryPolicy
;
import
org.springframework.cloud.client.loadbalancer.LoadBalancedRecoveryCallback
;
...
...
@@ -67,8 +66,10 @@ public class RetryableOkHttpLoadBalancingClient extends OkHttpLoadBalancingClien
}
private
boolean
isRequestRetryable
(
ContextAwareRequest
request
)
{
return
request
.
getContext
()
==
null
?
true
:
BooleanUtils
.
toBooleanDefaultIfNull
(
request
.
getContext
().
getRetryable
(),
true
);
if
(
request
.
getContext
()
==
null
||
request
.
getContext
().
getRetryable
()
==
null
)
{
return
true
;
}
return
request
.
getContext
().
getRetryable
();
}
private
OkHttpRibbonResponse
executeWithRetry
(
OkHttpRibbonRequest
request
,
LoadBalancedRetryPolicy
retryPolicy
,
...
...
spring-cloud-netflix-zuul/pom.xml
View file @
843344a9
...
...
@@ -108,11 +108,6 @@
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
commons-configuration
</groupId>
<artifactId>
commons-configuration
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-test-support
</artifactId>
<scope>
test
</scope>
...
...
spring-cloud-starter-netflix/spring-cloud-starter-netflix-archaius/pom.xml
View file @
843344a9
...
...
@@ -34,27 +34,5 @@
<groupId>
com.netflix.archaius
</groupId>
<artifactId>
archaius-core
</artifactId>
</dependency>
<!-- archaius dependencies that are now runtime -->
<dependency>
<groupId>
commons-configuration
</groupId>
<artifactId>
commons-configuration
</artifactId>
</dependency>
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-annotations
</artifactId>
</dependency>
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-core
</artifactId>
</dependency>
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-databind
</artifactId>
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
</dependency>
<!-- end archaius deps -->
</dependencies>
</project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment