From 6103c51516208d6d063996bff7961fc9b856c66a Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 13 Mar 2021 09:27:15 +0100 Subject: [PATCH 1/1] Created an empty Spring-Boot projects for the first consumer: pwreset --- .gitignore | 31 ++++++++++++ pom.xml | 24 +++++++++ pwreset/pom.xml | 50 +++++++++++++++++++ .../demos/pwreset/PWResetApplication.java | 14 ++++++ .../src/main/resources/application.properties | 1 + .../pwreset/PWResetApplicationTests.java | 14 ++++++ 6 files changed, 134 insertions(+) create mode 100644 .gitignore create mode 100644 pom.xml create mode 100644 pwreset/pom.xml create mode 100644 pwreset/src/main/java/de/juplo/demos/pwreset/PWResetApplication.java create mode 100644 pwreset/src/main/resources/application.properties create mode 100644 pwreset/src/test/java/de/juplo/demos/pwreset/PWResetApplicationTests.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..97f526e --- /dev/null +++ b/pom.xml @@ -0,0 +1,24 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.4.3 + + + de.juplo.demos + pact + 1.0.0 + pom + pact + Pact-Demo based on Spring Boot + + 11 + + + pwreset + + + diff --git a/pwreset/pom.xml b/pwreset/pom.xml new file mode 100644 index 0000000..e63871b --- /dev/null +++ b/pwreset/pom.xml @@ -0,0 +1,50 @@ + + + 4.0.0 + + de.juplo.demos + pact + 1.0.0 + + de.juplo.demos + pwreset + 1.0.0 + consumer + Password-Reset Service + + + org.springframework.boot + spring-boot-starter-web + + + + 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/pwreset/src/main/java/de/juplo/demos/pwreset/PWResetApplication.java b/pwreset/src/main/java/de/juplo/demos/pwreset/PWResetApplication.java new file mode 100644 index 0000000..779a098 --- /dev/null +++ b/pwreset/src/main/java/de/juplo/demos/pwreset/PWResetApplication.java @@ -0,0 +1,14 @@ +package de.juplo.demos.pwreset; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class PWResetApplication +{ + + public static void main(String[] args) { + SpringApplication.run(PWResetApplication.class, args); + } + +} diff --git a/pwreset/src/main/resources/application.properties b/pwreset/src/main/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/pwreset/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/pwreset/src/test/java/de/juplo/demos/pwreset/PWResetApplicationTests.java b/pwreset/src/test/java/de/juplo/demos/pwreset/PWResetApplicationTests.java new file mode 100644 index 0000000..4e80f8a --- /dev/null +++ b/pwreset/src/test/java/de/juplo/demos/pwreset/PWResetApplicationTests.java @@ -0,0 +1,14 @@ +package de.juplo.demos.pwreset; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class PWResetApplicationTests +{ + + @Test + void contextLoads() { + } + +} -- 2.20.1