Refactor test for changes in eureka-first

This commit is contained in:
Dave Syer
2015-09-23 16:49:17 +01:00
parent 0b07769f64
commit f028e47fe7
3 changed files with 4 additions and 3 deletions

View File

@@ -2,8 +2,10 @@ package demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@SpringBootApplication
@EnableDiscoveryClient
public class EurekaFirstApplication {
public static void main(String[] args) {

View File

@@ -1,3 +0,0 @@
server:
port: 9001

View File

@@ -1,3 +1,5 @@
server:
port: 9001
spring:
application:
name: eurekafirst