Update to hystrix-contract.

Updates to 2.0.0
parent b0dccc0f
...@@ -68,6 +68,11 @@ ...@@ -68,6 +68,11 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-netflix-hystrix-contract</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId> <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
......
/* /*
* Copyright 2013-2015 the original author or authors. * Copyright 2013-2017 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -56,7 +56,7 @@ import static org.springframework.restdocs.restassured.operation.preprocess.Rest ...@@ -56,7 +56,7 @@ import static org.springframework.restdocs.restassured.operation.preprocess.Rest
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = Application.class, webEnvironment = WebEnvironment.RANDOM_PORT, value = { @SpringBootTest(classes = Application.class, webEnvironment = WebEnvironment.RANDOM_PORT, value = {
"spring.jmx.enabled=true", "management.security.enabled=false" }) "spring.jmx.enabled=false", "management.security.enabled=false" })
@DirtiesContext @DirtiesContext
public abstract class AbstractDocumentationTests { public abstract class AbstractDocumentationTests {
......
/* /*
* Copyright 2013-2015 the original author or authors. * Copyright 2013-2017 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -30,7 +30,7 @@ import static org.hamcrest.Matchers.notNullValue; ...@@ -30,7 +30,7 @@ import static org.hamcrest.Matchers.notNullValue;
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
// TODO: maybe this should be the default (the test fails without it because the JSON is // TODO: maybe this should be the default (the test fails without it because the JSON is
// invalid) // invalid)
@TestPropertySource(properties = "eureka.server.minAvailableInstancesForPeerReplication=0") @TestPropertySource(properties = {"eureka.server.minAvailableInstancesForPeerReplication=0", "spring.jmx.enabled=false"})
public class EurekaServerTests extends AbstractDocumentationTests { public class EurekaServerTests extends AbstractDocumentationTests {
@Test @Test
......
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
<parent> <parent>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-build</artifactId> <artifactId>spring-cloud-build</artifactId>
<version>1.3.3.RELEASE</version> <version>2.0.0.BUILD-SNAPSHOT</version>
<relativePath/> <!-- lookup parent from repository --> <relativePath/> <!-- lookup parent from repository -->
</parent> </parent>
<artifactId>spring-cloud-netflix-hystrix-contract</artifactId> <artifactId>spring-cloud-netflix-hystrix-contract</artifactId>
<version>1.4.0.BUILD-SNAPSHOT</version> <version>2.0.0.BUILD-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>spring-cloud-netflix-hystrix-contract</name> <name>spring-cloud-netflix-hystrix-contract</name>
<description>Spring Cloud Netflix Hystrix Contract</description> <description>Spring Cloud Netflix Hystrix Contract</description>
......
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