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
1cf1f435
Unverified
Commit
1cf1f435
authored
Nov 28, 2017
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update eureka to 1.8.6
fixes gh-2456
parent
4e40cad2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
pom.xml
spring-cloud-netflix-dependencies/pom.xml
+1
-1
RestTemplateTransportClientFactories.java
...lix/eureka/http/RestTemplateTransportClientFactories.java
+12
-0
No files found.
spring-cloud-netflix-dependencies/pom.xml
View file @
1cf1f435
...
...
@@ -15,7 +15,7 @@
<description>
Spring Cloud Netflix Dependencies
</description>
<properties>
<archaius.version>
0.7.5
</archaius.version>
<eureka.version>
1.8.
4
</eureka.version>
<eureka.version>
1.8.
6
</eureka.version>
<feign.version>
9.5.1
</feign.version>
<hystrix.version>
1.5.12
</hystrix.version>
<ribbon.version>
2.2.4
</ribbon.version>
...
...
spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/http/RestTemplateTransportClientFactories.java
View file @
1cf1f435
...
...
@@ -17,6 +17,7 @@
package
org
.
springframework
.
cloud
.
netflix
.
eureka
.
http
;
import
java.util.Collection
;
import
java.util.Optional
;
import
com.netflix.appinfo.InstanceInfo
;
import
com.netflix.discovery.EurekaClientConfig
;
...
...
@@ -24,6 +25,9 @@ import com.netflix.discovery.shared.transport.TransportClientFactory;
import
com.netflix.discovery.shared.transport.jersey.EurekaJerseyClient
;
import
com.netflix.discovery.shared.transport.jersey.TransportClientFactories
;
import
javax.net.ssl.HostnameVerifier
;
import
javax.net.ssl.SSLContext
;
/**
* @author Daniel Lavoie
*/
...
...
@@ -43,4 +47,12 @@ public class RestTemplateTransportClientFactories
return
new
RestTemplateTransportClientFactory
();
}
@Override
public
TransportClientFactory
newTransportClientFactory
(
final
EurekaClientConfig
clientConfig
,
final
Collection
<
Void
>
additionalFilters
,
final
InstanceInfo
myInstanceInfo
,
final
Optional
<
SSLContext
>
sslContext
,
final
Optional
<
HostnameVerifier
>
hostnameVerifier
)
{
return
new
RestTemplateTransportClientFactory
();
}
}
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