Commit 32a90336 by Spencer Gibb

upgrade to netflix eureka to 1.1.147

fixes gh-180
parent 49b81607
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<properties> <properties>
<main.basedir>${basedir}</main.basedir> <main.basedir>${basedir}</main.basedir>
<archaius.version>0.6.3</archaius.version> <archaius.version>0.6.3</archaius.version>
<eureka.version>1.1.145</eureka.version> <eureka.version>1.1.147</eureka.version>
<feign.version>7.1.0</feign.version> <feign.version>7.1.0</feign.version>
<hystrix.version>1.4.0-RC6</hystrix.version> <hystrix.version>1.4.0-RC6</hystrix.version>
<ribbon.version>2.0-RC13</ribbon.version> <ribbon.version>2.0-RC13</ribbon.version>
...@@ -153,6 +153,18 @@ ...@@ -153,6 +153,18 @@
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<!-- Eureka core dep that is now optional -->
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.4.2</version>
</dependency>
<!-- Eureka server dep that is now optional -->
<dependency>
<groupId>com.netflix.blitz4j</groupId>
<artifactId>blitz4j</artifactId>
<version>1.34</version>
</dependency>
<dependency> <dependency>
<groupId>com.netflix.feign</groupId> <groupId>com.netflix.feign</groupId>
<artifactId>feign-core</artifactId> <artifactId>feign-core</artifactId>
......
...@@ -54,6 +54,12 @@ ...@@ -54,6 +54,12 @@
<artifactId>eureka-core</artifactId> <artifactId>eureka-core</artifactId>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<!-- Eureka core deps that are now optional -->
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<optional>true</optional>
</dependency>
<dependency> <dependency>
<groupId>net.java.dev.rome</groupId> <groupId>net.java.dev.rome</groupId>
<artifactId>rome</artifactId> <artifactId>rome</artifactId>
......
...@@ -115,6 +115,10 @@ public class EurekaClientConfigBean implements EurekaClientConfig { ...@@ -115,6 +115,10 @@ public class EurekaClientConfigBean implements EurekaClientConfig {
private boolean fetchRegistry = true; private boolean fetchRegistry = true;
private String dollarReplacement = "_-";
private String escapeCharReplacement = "__";
@Override @Override
public boolean shouldGZipContent() { public boolean shouldGZipContent() {
return this.gZipContent; return this.gZipContent;
......
...@@ -70,6 +70,15 @@ ...@@ -70,6 +70,15 @@
<groupId>com.netflix.eureka</groupId> <groupId>com.netflix.eureka</groupId>
<artifactId>eureka-core</artifactId> <artifactId>eureka-core</artifactId>
</dependency> </dependency>
<!-- Eureka deps that are now optional in eureka -->
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
</dependency>
<dependency>
<groupId>com.netflix.blitz4j</groupId>
<artifactId>blitz4j</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment