From f2e0d5b4f4ffcb5aa50522ea55d629317665251a Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Wed, 26 Dec 2018 15:15:33 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=20spring-boot-demo-zookeeper=20=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 + spring-boot-demo-zookeeper/.gitignore | 25 ++++++++++ spring-boot-demo-zookeeper/pom.xml | 47 +++++++++++++++++++ .../SpringBootDemoZookeeperApplication.java | 14 ++++++ .../src/main/resources/application.properties | 0 ...ringBootDemoZookeeperApplicationTests.java | 17 +++++++ 6 files changed, 105 insertions(+) create mode 100644 spring-boot-demo-zookeeper/.gitignore create mode 100644 spring-boot-demo-zookeeper/pom.xml create mode 100644 spring-boot-demo-zookeeper/src/main/java/com/xkcoding/zookeeper/SpringBootDemoZookeeperApplication.java create mode 100644 spring-boot-demo-zookeeper/src/main/resources/application.properties create mode 100644 spring-boot-demo-zookeeper/src/test/java/com/xkcoding/zookeeper/SpringBootDemoZookeeperApplicationTests.java diff --git a/pom.xml b/pom.xml index 9fd213c..5524c7c 100644 --- a/pom.xml +++ b/pom.xml @@ -35,7 +35,9 @@ spring-boot-demo-swagger spring-boot-demo-swagger-beauty spring-boot-demo-rbac-security + spring-boot-demo-rbac-shiro spring-boot-demo-session + spring-boot-demo-zookeeper spring-boot-demo-websocket spring-boot-demo-websocket-socketio spring-boot-demo-dubbo diff --git a/spring-boot-demo-zookeeper/.gitignore b/spring-boot-demo-zookeeper/.gitignore new file mode 100644 index 0000000..82eca33 --- /dev/null +++ b/spring-boot-demo-zookeeper/.gitignore @@ -0,0 +1,25 @@ +/target/ +!.mvn/wrapper/maven-wrapper.jar + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/build/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ \ No newline at end of file diff --git a/spring-boot-demo-zookeeper/pom.xml b/spring-boot-demo-zookeeper/pom.xml new file mode 100644 index 0000000..3a6f941 --- /dev/null +++ b/spring-boot-demo-zookeeper/pom.xml @@ -0,0 +1,47 @@ + + + 4.0.0 + + spring-boot-demo-zookeeper + 1.0.0-SNAPSHOT + + spring-boot-demo-zookeeper + Demo project for Spring Boot + + + com.xkcoding + spring-boot-demo + 1.0.0-SNAPSHOT + + + + UTF-8 + UTF-8 + 1.8 + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + spring-boot-demo-zookeeper + + + org.springframework.boot + spring-boot-maven-plugin + + + + + \ No newline at end of file diff --git a/spring-boot-demo-zookeeper/src/main/java/com/xkcoding/zookeeper/SpringBootDemoZookeeperApplication.java b/spring-boot-demo-zookeeper/src/main/java/com/xkcoding/zookeeper/SpringBootDemoZookeeperApplication.java new file mode 100644 index 0000000..29ee679 --- /dev/null +++ b/spring-boot-demo-zookeeper/src/main/java/com/xkcoding/zookeeper/SpringBootDemoZookeeperApplication.java @@ -0,0 +1,14 @@ +package com.xkcoding.zookeeper; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringBootDemoZookeeperApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoZookeeperApplication.class, args); + } + +} + diff --git a/spring-boot-demo-zookeeper/src/main/resources/application.properties b/spring-boot-demo-zookeeper/src/main/resources/application.properties new file mode 100644 index 0000000..e69de29 diff --git a/spring-boot-demo-zookeeper/src/test/java/com/xkcoding/zookeeper/SpringBootDemoZookeeperApplicationTests.java b/spring-boot-demo-zookeeper/src/test/java/com/xkcoding/zookeeper/SpringBootDemoZookeeperApplicationTests.java new file mode 100644 index 0000000..20b49c9 --- /dev/null +++ b/spring-boot-demo-zookeeper/src/test/java/com/xkcoding/zookeeper/SpringBootDemoZookeeperApplicationTests.java @@ -0,0 +1,17 @@ +package com.xkcoding.zookeeper; + +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 SpringBootDemoZookeeperApplicationTests { + + @Test + public void contextLoads() { + } + +} +