From 5b426263adb46e835333b127c1755c0a23035ece Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Wed, 1 Sep 2021 17:49:48 +0200 Subject: [PATCH 1/1] Generated empty project on start.spring.io --- .gitignore | 31 +++++++++ pom.xml | 69 +++++++++++++++++++ .../WordcountRecorderApplication.java | 13 ++++ src/main/resources/application.properties | 1 + .../WordcountRecorderApplicationTests.java | 13 ++++ 5 files changed, 127 insertions(+) create mode 100644 .gitignore create mode 100644 pom.xml create mode 100644 src/main/java/de/juplo/kafka/wordcount/recorder/WordcountRecorderApplication.java create mode 100644 src/main/resources/application.properties create mode 100644 src/test/java/de/juplo/kafka/wordcount/recorder/WordcountRecorderApplicationTests.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7339146 --- /dev/null +++ b/.gitignore @@ -0,0 +1,31 @@ +target/ +!**/src/main/**/target/ +!**/src/test/**/target/ + +### 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/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..6dfd615 --- /dev/null +++ b/pom.xml @@ -0,0 +1,69 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.5.4 + + + de.juplo.kafka.wordcount + recorder + 0.0.1-SNAPSHOT + Wordcount-Recorder + Recorder-service of the multi-user wordcount-example + + 11 + + + + org.springframework.boot + spring-boot-starter-actuator + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-devtools + runtime + true + + + org.springframework.boot + spring-boot-configuration-processor + true + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + + + + + + diff --git a/src/main/java/de/juplo/kafka/wordcount/recorder/WordcountRecorderApplication.java b/src/main/java/de/juplo/kafka/wordcount/recorder/WordcountRecorderApplication.java new file mode 100644 index 0000000..8220bfd --- /dev/null +++ b/src/main/java/de/juplo/kafka/wordcount/recorder/WordcountRecorderApplication.java @@ -0,0 +1,13 @@ +package de.juplo.kafka.wordcount.recorder; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class WordcountRecorderApplication +{ + public static void main(String[] args) + { + SpringApplication.run(WordcountRecorderApplication.class, args); + } +} diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/src/test/java/de/juplo/kafka/wordcount/recorder/WordcountRecorderApplicationTests.java b/src/test/java/de/juplo/kafka/wordcount/recorder/WordcountRecorderApplicationTests.java new file mode 100644 index 0000000..8b8aa50 --- /dev/null +++ b/src/test/java/de/juplo/kafka/wordcount/recorder/WordcountRecorderApplicationTests.java @@ -0,0 +1,13 @@ +package de.juplo.kafka.wordcount.recorder; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class WordcountRecorderApplicationTests +{ + @Test + void contextLoads() + { + } +} -- 2.20.1