From d2925c1263edb74719f99320fb08be11b0b81a04 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 5 Nov 2023 10:54:42 +0100 Subject: [PATCH] Rename package kickstart to catering --- src/main/java/{kickstart => catering}/Application.java | 2 +- .../{kickstart => catering}/welcome/WelcomeController.java | 2 +- src/main/resources/application.properties | 4 ++-- src/test/java/kickstart/welcome/ModularityTests.java | 4 ++-- .../kickstart/welcome/WelcomeControllerIntegrationTests.java | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) rename src/main/java/{kickstart => catering}/Application.java (98%) rename src/main/java/{kickstart => catering}/welcome/WelcomeController.java (96%) diff --git a/src/main/java/kickstart/Application.java b/src/main/java/catering/Application.java similarity index 98% rename from src/main/java/kickstart/Application.java rename to src/main/java/catering/Application.java index e53a7d4..160ed73 100644 --- a/src/main/java/kickstart/Application.java +++ b/src/main/java/catering/Application.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package kickstart; +package catering; import org.salespointframework.EnableSalespoint; import org.springframework.boot.SpringApplication; diff --git a/src/main/java/kickstart/welcome/WelcomeController.java b/src/main/java/catering/welcome/WelcomeController.java similarity index 96% rename from src/main/java/kickstart/welcome/WelcomeController.java rename to src/main/java/catering/welcome/WelcomeController.java index b63af5e..9dbdb42 100644 --- a/src/main/java/kickstart/welcome/WelcomeController.java +++ b/src/main/java/catering/welcome/WelcomeController.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package kickstart.welcome; +package catering.welcome; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index ecddf76..aee089a 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,7 +1,7 @@ # Uncomment these two lines of configuration to -# enable persistent storage in db/kickstart. +# enable persistent storage in db/catering. ################################################ -# spring.datasource.url=jdbc:h2:./db/kickstart +# spring.datasource.url=jdbc:h2:./db/catering # spring.jpa.hibernate.ddl-auto=update # Uncomment the folowing when running behind reverse proxy diff --git a/src/test/java/kickstart/welcome/ModularityTests.java b/src/test/java/kickstart/welcome/ModularityTests.java index 9c34e69..e3cb20e 100644 --- a/src/test/java/kickstart/welcome/ModularityTests.java +++ b/src/test/java/kickstart/welcome/ModularityTests.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package kickstart.welcome; +package catering.welcome; -import kickstart.Application; +import catering.Application; import java.io.IOException; diff --git a/src/test/java/kickstart/welcome/WelcomeControllerIntegrationTests.java b/src/test/java/kickstart/welcome/WelcomeControllerIntegrationTests.java index f9f2bed..43f59f7 100644 --- a/src/test/java/kickstart/welcome/WelcomeControllerIntegrationTests.java +++ b/src/test/java/kickstart/welcome/WelcomeControllerIntegrationTests.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package kickstart.welcome; +package catering.welcome; import static org.hamcrest.CoreMatchers.*; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;