From 18ef7daa7e4fe1c2115669a61116567e768de0de Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Mon, 22 Apr 2019 23:03:15 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=20spring-boot-demo-graylog=20=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 1 + spring-boot-demo-graylog/.gitignore | 29 +++++++++++ spring-boot-demo-graylog/pom.xml | 48 +++++++++++++++++++ .../SpringBootDemoGraylogApplication.java | 13 +++++ .../src/main/resources/application.properties | 1 + ...SpringBootDemoGraylogApplicationTests.java | 16 +++++++ 6 files changed, 108 insertions(+) create mode 100644 spring-boot-demo-graylog/.gitignore create mode 100644 spring-boot-demo-graylog/pom.xml create mode 100644 spring-boot-demo-graylog/src/main/java/com/xkcoding/graylog/SpringBootDemoGraylogApplication.java create mode 100644 spring-boot-demo-graylog/src/main/resources/application.properties create mode 100644 spring-boot-demo-graylog/src/test/java/com/xkcoding/graylog/SpringBootDemoGraylogApplicationTests.java diff --git a/pom.xml b/pom.xml index 2fb12ab..e8c9806 100644 --- a/pom.xml +++ b/pom.xml @@ -61,6 +61,7 @@ spring-boot-demo-sharding-jdbc spring-boot-demo-tio spring-boot-demo-codegen + spring-boot-demo-graylog pom diff --git a/spring-boot-demo-graylog/.gitignore b/spring-boot-demo-graylog/.gitignore new file mode 100644 index 0000000..153c933 --- /dev/null +++ b/spring-boot-demo-graylog/.gitignore @@ -0,0 +1,29 @@ +HELP.md +/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/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +/build/ + +### VS Code ### +.vscode/ diff --git a/spring-boot-demo-graylog/pom.xml b/spring-boot-demo-graylog/pom.xml new file mode 100644 index 0000000..2e72650 --- /dev/null +++ b/spring-boot-demo-graylog/pom.xml @@ -0,0 +1,48 @@ + + + 4.0.0 + + spring-boot-demo-task + 1.0.0-SNAPSHOT + jar + + spring-boot-demo-graylog + 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-graylog + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/spring-boot-demo-graylog/src/main/java/com/xkcoding/graylog/SpringBootDemoGraylogApplication.java b/spring-boot-demo-graylog/src/main/java/com/xkcoding/graylog/SpringBootDemoGraylogApplication.java new file mode 100644 index 0000000..92f5728 --- /dev/null +++ b/spring-boot-demo-graylog/src/main/java/com/xkcoding/graylog/SpringBootDemoGraylogApplication.java @@ -0,0 +1,13 @@ +package com.xkcoding.graylog; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringBootDemoGraylogApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoGraylogApplication.class, args); + } + +} diff --git a/spring-boot-demo-graylog/src/main/resources/application.properties b/spring-boot-demo-graylog/src/main/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/spring-boot-demo-graylog/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/spring-boot-demo-graylog/src/test/java/com/xkcoding/graylog/SpringBootDemoGraylogApplicationTests.java b/spring-boot-demo-graylog/src/test/java/com/xkcoding/graylog/SpringBootDemoGraylogApplicationTests.java new file mode 100644 index 0000000..f766812 --- /dev/null +++ b/spring-boot-demo-graylog/src/test/java/com/xkcoding/graylog/SpringBootDemoGraylogApplicationTests.java @@ -0,0 +1,16 @@ +package com.xkcoding.graylog; + +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 SpringBootDemoGraylogApplicationTests { + + @Test + public void contextLoads() { + } + +}