diff --git a/pom.xml b/pom.xml index 8a78e133..da22c8fb 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ org.springframework.cloud spring-cloud-build - 1.3.8.RELEASE + 1.3.10.RELEASE @@ -22,7 +22,7 @@ config - 1.3.3.BUILD-SNAPSHOT + 1.3.4.BUILD-SNAPSHOT spring-cloud-config-dependencies diff --git a/spring-cloud-config-client/src/test/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocatorTests.java b/spring-cloud-config-client/src/test/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocatorTests.java index d34b7913..28b2ddaf 100644 --- a/spring-cloud-config-client/src/test/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocatorTests.java +++ b/spring-cloud-config-client/src/test/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocatorTests.java @@ -103,6 +103,7 @@ public class ConfigServicePropertySourceLocatorTests { Mockito.when(response.getHeaders()).thenReturn(headers); Mockito.when(response.getStatusCode()).thenReturn( HttpStatus.INTERNAL_SERVER_ERROR); + Mockito.when(response.getRawStatusCode()).thenReturn(HttpStatus.INTERNAL_SERVER_ERROR.value()); Mockito.when(response.getBody()).thenReturn( new ByteArrayInputStream("{}".getBytes())); this.locator.setRestTemplate(restTemplate); @@ -132,6 +133,7 @@ public class ConfigServicePropertySourceLocatorTests { Mockito.when(response.getHeaders()).thenReturn(headers); Mockito.when(response.getStatusCode()).thenReturn( HttpStatus.NOT_FOUND); + Mockito.when(response.getRawStatusCode()).thenReturn(HttpStatus.NOT_FOUND.value()); Mockito.when(response.getBody()).thenReturn( new ByteArrayInputStream("".getBytes())); this.locator.setRestTemplate(restTemplate); diff --git a/spring-cloud-config-dependencies/pom.xml b/spring-cloud-config-dependencies/pom.xml index 139f7d69..47f0a4f1 100644 --- a/spring-cloud-config-dependencies/pom.xml +++ b/spring-cloud-config-dependencies/pom.xml @@ -5,7 +5,7 @@ spring-cloud-dependencies-parent org.springframework.cloud - 1.3.8.BUILD-SNAPSHOT + 1.3.10.BUILD-SNAPSHOT spring-cloud-config-dependencies diff --git a/spring-cloud-config-monitor/pom.xml b/spring-cloud-config-monitor/pom.xml index 842a71b2..d6de2495 100644 --- a/spring-cloud-config-monitor/pom.xml +++ b/spring-cloud-config-monitor/pom.xml @@ -13,7 +13,7 @@ Spring Cloud Config Monitor ${basedir}/../.. - 1.3.2.RELEASE + 1.3.4.RELEASE