Remove deprecations.

This commit is contained in:
Spencer Gibb
2017-06-09 15:57:25 -06:00
parent 0eb889efc6
commit be1d821271
29 changed files with 159 additions and 529 deletions

View File

@@ -37,9 +37,9 @@ public class SampleApplicationTests {
ConfigurableApplicationContext context = new SpringApplicationBuilder(SampleZookeeperApplication.class).run(
"--server.port="+port,
"--spring.cloud.zookeeper.connectString=localhost:" + zkPort);
"--spring.cloud.zookeeper.connect-string=localhost:" + zkPort);
ResponseEntity<String> response = new TestRestTemplate().getForEntity("http://localhost:"+port+"/health", String.class);
ResponseEntity<String> response = new TestRestTemplate().getForEntity("http://localhost:"+port+"/application/health", String.class);
assertThat(response.getStatusCode()).isEqualTo(HttpStatus.OK);
context.close();