作者 王勇

init commit

... ... @@ -5,8 +5,10 @@ server:
spring:
application:
name: cloud-config-server
profiles:
active: dev
cloud:
config:
label: master
... ...
... ... @@ -8,7 +8,11 @@
<version>2.1.7.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<<<<<<< HEAD
<groupId>com.sunyo.wlpt.cloud.config.server</groupId>
=======
<groupId>com.sunyo.wlpt.cloud.config.center</groupId>
>>>>>>> 0c7d87d9e2a5f6087f286c23ebe436594b4099c5
<artifactId>cloud-config-server</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>cloud-config-server</name>
... ... @@ -117,7 +121,11 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<<<<<<< HEAD
<mainClass>com.sunyo.wlpt.cloud.config.server.CloudConfigServerApplication</mainClass>
=======
<mainClass>com.sunyo.wlpt.cgonms.provide.CgonmsProvideApplication</mainClass>
>>>>>>> 0c7d87d9e2a5f6087f286c23ebe436594b4099c5
</configuration>
</plugin>
</plugins>
... ...
package com.sunyo.wlpt.cloud.config.center;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
@SpringBootApplication
@EnableConfigServer
@EnableEurekaClient
public class CloudConfigCenterApplication {
public static void main(String[] args) {
SpringApplication.run(CloudConfigCenterApplication.class, args);
}
}
... ...
package com.sunyo.wlpt.cloud.config.center;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class CloudConfigCenterApplicationTests {
@Test
public void contextLoads() {
}
}
... ...