diff --git a/cms/.gitignore b/cms/.gitignore new file mode 100644 index 0000000..4a6b3b7 --- /dev/null +++ b/cms/.gitignore @@ -0,0 +1,25 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +nbproject/private/ +build/ +nbbuild/ +dist/ +nbdist/ +.nb-gradle/ +*.mvn \ No newline at end of file diff --git a/cms/pom.xml b/cms/pom.xml new file mode 100644 index 0000000..149ea64 --- /dev/null +++ b/cms/pom.xml @@ -0,0 +1,124 @@ + + + 4.0.0 + + com.micro.fast + cms + 0.0.1-SNAPSHOT + jar + + cms + micro-fast-cms + + + org.springframework.boot + spring-boot-starter-parent + 1.5.6.RELEASE + + + + + UTF-8 + UTF-8 + 1.8 + Dalston.SR3 + + + + + org.springframework.boot + spring-boot-starter-activemq + + + org.springframework.boot + spring-boot-starter-actuator + + + org.springframework.cloud + spring-cloud-starter-bus-amqp + + + org.springframework.cloud + spring-cloud-starter-eureka-server + + + org.springframework.cloud + spring-cloud-starter-feign + + + org.springframework.cloud + spring-cloud-starter-hystrix + + + org.springframework.cloud + spring-cloud-starter-hystrix-dashboard + + + org.springframework.cloud + spring-cloud-starter-ribbon + + + org.springframework.cloud + spring-cloud-sleuth-stream + + + org.springframework.cloud + spring-cloud-sleuth-zipkin-stream + + + org.springframework.cloud + spring-cloud-starter-sleuth + + + org.springframework.cloud + spring-cloud-starter-zipkin + + + org.springframework.cloud + spring-cloud-starter-turbine + + + org.springframework.cloud + spring-cloud-starter-turbine-stream + + + org.springframework.cloud + spring-cloud-starter-zuul + + + + io.zipkin.java + zipkin-autoconfigure-ui + runtime + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + diff --git a/cms/src/main/java/com/micro/fast/cms/CmsApplication.java b/cms/src/main/java/com/micro/fast/cms/CmsApplication.java new file mode 100644 index 0000000..92717a1 --- /dev/null +++ b/cms/src/main/java/com/micro/fast/cms/CmsApplication.java @@ -0,0 +1,12 @@ +package com.micro.fast.cms; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class CmsApplication { + + public static void main(String[] args) { + SpringApplication.run(CmsApplication.class, args); + } +} diff --git a/cms/src/main/resources/application.properties b/cms/src/main/resources/application.properties new file mode 100644 index 0000000..e69de29 diff --git a/cms/src/test/java/com/micro/fast/cms/CmsApplicationTests.java b/cms/src/test/java/com/micro/fast/cms/CmsApplicationTests.java new file mode 100644 index 0000000..d2684a2 --- /dev/null +++ b/cms/src/test/java/com/micro/fast/cms/CmsApplicationTests.java @@ -0,0 +1,16 @@ +package com.micro.fast.cms; + +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 CmsApplicationTests { + + @Test + public void contextLoads() { + } + +} diff --git a/common/pom.xml b/common/pom.xml index 1ce3ed8..2dd4cd9 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -22,7 +22,7 @@ UTF-8 UTF-8 1.8 - Dalston.SR2 + Dalston.SR3 1.8 1.8 1.8 diff --git a/config-server/pom.xml b/config-server/pom.xml index a785ed1..ea8f31d 100644 --- a/config-server/pom.xml +++ b/config-server/pom.xml @@ -22,7 +22,7 @@ UTF-8 UTF-8 1.8 - Dalston.SR1 + Dalston.SR3 1.8 1.8 1.8 diff --git a/eureka-server/pom.xml b/eureka-server/pom.xml index 11fbd0b..d087baa 100644 --- a/eureka-server/pom.xml +++ b/eureka-server/pom.xml @@ -22,7 +22,7 @@ UTF-8 UTF-8 1.8 - Dalston.SR1 + Dalston.SR3 1.8 1.8 1.8 diff --git a/eureka-server2/pom.xml b/eureka-server2/pom.xml index d46799e..6f61031 100644 --- a/eureka-server2/pom.xml +++ b/eureka-server2/pom.xml @@ -22,7 +22,7 @@ UTF-8 UTF-8 1.8 - Dalston.SR1 + Dalston.SR3 1.8 1.8 1.8 diff --git a/pom.xml b/pom.xml index d0b923e..ab066c5 100644 --- a/pom.xml +++ b/pom.xml @@ -25,5 +25,6 @@ eureka-server eureka-server2 upms + cms diff --git a/upms/pom.xml b/upms/pom.xml index 4b3b3f4..68b6823 100644 --- a/upms/pom.xml +++ b/upms/pom.xml @@ -22,7 +22,7 @@ UTF-8 UTF-8 1.8 - Dalston.SR1 + Dalston.SR3 1.8 1.8 1.8