From b74893650e685f59eff5461081196e7ecb2e496e Mon Sep 17 00:00:00 2001
From: "Yangkai.Shen" <237497819@qq.com>
Date: Tue, 25 Dec 2018 16:55:04 +0800
Subject: [PATCH] =?UTF-8?q?:tada:=20spring-boot-demo-dubbo=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 | 1 +
spring-boot-demo-dubbo/.gitignore | 25 ++++++
spring-boot-demo-dubbo/pom.xml | 40 ++++++++++
.../spring-boot-demo-dubbo-common/.gitignore | 25 ++++++
.../spring-boot-demo-dubbo-common/pom.xml | 21 +++++
.../.gitignore | 25 ++++++
.../spring-boot-demo-dubbo-consumer/pom.xml | 56 +++++++++++++
...pringBootDemoDubboConsumerApplication.java | 25 ++++++
.../src/main/resources/application.yml | 0
...BootDemoDubboConsumerApplicationTests.java | 16 ++++
.../.gitignore | 25 ++++++
.../spring-boot-demo-dubbo-provider/pom.xml | 80 +++++++++++++++++++
...pringBootDemoDubboProviderApplication.java | 25 ++++++
.../src/main/resources/application.yml | 0
...BootDemoDubboProviderApplicationTests.java | 16 ++++
15 files changed, 380 insertions(+)
create mode 100644 spring-boot-demo-dubbo/.gitignore
create mode 100644 spring-boot-demo-dubbo/pom.xml
create mode 100644 spring-boot-demo-dubbo/spring-boot-demo-dubbo-common/.gitignore
create mode 100644 spring-boot-demo-dubbo/spring-boot-demo-dubbo-common/pom.xml
create mode 100644 spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/.gitignore
create mode 100644 spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/pom.xml
create mode 100644 spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/src/main/java/com/xkcoding/dubbo/consumer/SpringBootDemoDubboConsumerApplication.java
create mode 100644 spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/src/main/resources/application.yml
create mode 100644 spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/src/test/java/com/xkcoding/dubbo/consumer/SpringBootDemoDubboConsumerApplicationTests.java
create mode 100644 spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/.gitignore
create mode 100644 spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/pom.xml
create mode 100644 spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/src/main/java/com/xkcoding/dubbo/provider/SpringBootDemoDubboProviderApplication.java
create mode 100644 spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/src/main/resources/application.yml
create mode 100644 spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/src/test/java/com/xkcoding/dubbo/provider/SpringBootDemoDubboProviderApplicationTests.java
diff --git a/pom.xml b/pom.xml
index 5551683..9fd213c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,6 +38,7 @@
+ * 启动器 + *
+ * + * @package: com.xkcoding.dubbo.consumer + * @description: 启动器 + * @author: yangkai.shen + * @date: Created in 2018-12-25 16:49 + * @copyright: Copyright (c) 2018 + * @version: V1.0 + * @modified: yangkai.shen + */ +@SpringBootApplication +public class SpringBootDemoDubboConsumerApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoDubboConsumerApplication.class, args); + } +} diff --git a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/src/main/resources/application.yml b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/src/main/resources/application.yml new file mode 100644 index 0000000..e69de29 diff --git a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/src/test/java/com/xkcoding/dubbo/consumer/SpringBootDemoDubboConsumerApplicationTests.java b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/src/test/java/com/xkcoding/dubbo/consumer/SpringBootDemoDubboConsumerApplicationTests.java new file mode 100644 index 0000000..c53f10b --- /dev/null +++ b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-consumer/src/test/java/com/xkcoding/dubbo/consumer/SpringBootDemoDubboConsumerApplicationTests.java @@ -0,0 +1,16 @@ +package com.xkcoding.dubbo.consumer; + +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 SpringBootDemoDubboConsumerApplicationTests { + + @Test + public void contextLoads() { + } + +} diff --git a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/.gitignore b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/.gitignore new file mode 100644 index 0000000..82eca33 --- /dev/null +++ b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/.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-dubbo/spring-boot-demo-dubbo-provider/pom.xml b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/pom.xml new file mode 100644 index 0000000..cbcdb4e --- /dev/null +++ b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/pom.xml @@ -0,0 +1,80 @@ + ++ * 启动器 + *
+ * + * @package: com.xkcoding.dubbo.provider + * @description: 启动器 + * @author: yangkai.shen + * @date: Created in 2018-12-25 16:49 + * @copyright: Copyright (c) 2018 + * @version: V1.0 + * @modified: yangkai.shen + */ +@SpringBootApplication +public class SpringBootDemoDubboProviderApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoDubboProviderApplication.class, args); + } +} diff --git a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/src/main/resources/application.yml b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/src/main/resources/application.yml new file mode 100644 index 0000000..e69de29 diff --git a/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/src/test/java/com/xkcoding/dubbo/provider/SpringBootDemoDubboProviderApplicationTests.java b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/src/test/java/com/xkcoding/dubbo/provider/SpringBootDemoDubboProviderApplicationTests.java new file mode 100644 index 0000000..306b8e7 --- /dev/null +++ b/spring-boot-demo-dubbo/spring-boot-demo-dubbo-provider/src/test/java/com/xkcoding/dubbo/provider/SpringBootDemoDubboProviderApplicationTests.java @@ -0,0 +1,16 @@ +package com.xkcoding.dubbo.provider; + +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 SpringBootDemoDubboProviderApplicationTests { + + @Test + public void contextLoads() { + } + +}