作者 王勇

init commit

@@ -28,7 +28,7 @@ spring: @@ -28,7 +28,7 @@ spring:
28 28
29 # 日志配置 29 # 日志配置
30 logback: 30 logback:
31 - appname: cloud-config-center 31 + appname: cloud-config-server
32 logdir: ./log 32 logdir: ./log
33 33
34 34
@@ -8,11 +8,8 @@ @@ -8,11 +8,8 @@
8 <version>2.1.7.RELEASE</version> 8 <version>2.1.7.RELEASE</version>
9 <relativePath/> <!-- lookup parent from repository --> 9 <relativePath/> <!-- lookup parent from repository -->
10 </parent> 10 </parent>
11 -<<<<<<< HEAD 11 +
12 <groupId>com.sunyo.wlpt.cloud.config.server</groupId> 12 <groupId>com.sunyo.wlpt.cloud.config.server</groupId>
13 -=======  
14 - <groupId>com.sunyo.wlpt.cloud.config.center</groupId>  
15 ->>>>>>> 0c7d87d9e2a5f6087f286c23ebe436594b4099c5  
16 <artifactId>cloud-config-server</artifactId> 13 <artifactId>cloud-config-server</artifactId>
17 <version>0.0.1-SNAPSHOT</version> 14 <version>0.0.1-SNAPSHOT</version>
18 <name>cloud-config-server</name> 15 <name>cloud-config-server</name>
@@ -121,11 +118,7 @@ @@ -121,11 +118,7 @@
121 <groupId>org.springframework.boot</groupId> 118 <groupId>org.springframework.boot</groupId>
122 <artifactId>spring-boot-maven-plugin</artifactId> 119 <artifactId>spring-boot-maven-plugin</artifactId>
123 <configuration> 120 <configuration>
124 -<<<<<<< HEAD  
125 <mainClass>com.sunyo.wlpt.cloud.config.server.CloudConfigServerApplication</mainClass> 121 <mainClass>com.sunyo.wlpt.cloud.config.server.CloudConfigServerApplication</mainClass>
126 -=======  
127 - <mainClass>com.sunyo.wlpt.cgonms.provide.CgonmsProvideApplication</mainClass>  
128 ->>>>>>> 0c7d87d9e2a5f6087f286c23ebe436594b4099c5  
129 </configuration> 122 </configuration>
130 </plugin> 123 </plugin>
131 </plugins> 124 </plugins>
1 -package com.sunyo.wlpt.cloud.config.center;  
2 -  
3 -import org.springframework.boot.SpringApplication;  
4 -import org.springframework.boot.autoconfigure.SpringBootApplication;  
5 -import org.springframework.cloud.config.server.EnableConfigServer;  
6 -import org.springframework.cloud.netflix.eureka.EnableEurekaClient;  
7 -  
8 -@SpringBootApplication  
9 -@EnableConfigServer  
10 -@EnableEurekaClient  
11 -public class CloudConfigCenterApplication {  
12 -  
13 - public static void main(String[] args) {  
14 - SpringApplication.run(CloudConfigCenterApplication.class, args);  
15 - }  
16 -  
17 -}  
@@ -5,6 +5,9 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; @@ -5,6 +5,9 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
5 import org.springframework.cloud.config.server.EnableConfigServer; 5 import org.springframework.cloud.config.server.EnableConfigServer;
6 import org.springframework.cloud.netflix.eureka.EnableEurekaClient; 6 import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
7 7
  8 +/**
  9 + * @author zicheng
  10 + */
8 @SpringBootApplication 11 @SpringBootApplication
9 @EnableConfigServer 12 @EnableConfigServer
10 @EnableEurekaClient 13 @EnableEurekaClient