From 9b4d965e3467a3f1c1f1969e24815b088191dc4b Mon Sep 17 00:00:00 2001 From: Ravi Avhad Date: Mon, 7 Jun 2021 15:52:34 +0530 Subject: [PATCH] moving spring service layer validation code --- .../spring-boot-servicelayer-validation}/.gitignore | 0 .../spring-boot-servicelayer-validation/README.md | 4 ++++ .../spring-boot-servicelayer-validation}/pom.xml | 0 .../SpringServiceLayerValidationApp.java | 0 .../controller/UserAccountController.java | 0 .../spring/servicevalidation/dao/UserAccountDao.java | 0 .../spring/servicevalidation/domain/UserAccount.java | 0 .../spring/servicevalidation/domain/UserAddress.java | 0 .../service/UserAccountService.java | 0 spring-service-layer-validation/README.md | 12 ------------ 10 files changed, 4 insertions(+), 12 deletions(-) rename {spring-service-layer-validation => spring-boot-modules/spring-boot-servicelayer-validation}/.gitignore (100%) create mode 100644 spring-boot-modules/spring-boot-servicelayer-validation/README.md rename {spring-service-layer-validation => spring-boot-modules/spring-boot-servicelayer-validation}/pom.xml (100%) rename {spring-service-layer-validation => spring-boot-modules/spring-boot-servicelayer-validation}/src/main/java/com/baeldung/spring/servicevalidation/SpringServiceLayerValidationApp.java (100%) rename {spring-service-layer-validation => spring-boot-modules/spring-boot-servicelayer-validation}/src/main/java/com/baeldung/spring/servicevalidation/controller/UserAccountController.java (100%) rename {spring-service-layer-validation => spring-boot-modules/spring-boot-servicelayer-validation}/src/main/java/com/baeldung/spring/servicevalidation/dao/UserAccountDao.java (100%) rename {spring-service-layer-validation => spring-boot-modules/spring-boot-servicelayer-validation}/src/main/java/com/baeldung/spring/servicevalidation/domain/UserAccount.java (100%) rename {spring-service-layer-validation => spring-boot-modules/spring-boot-servicelayer-validation}/src/main/java/com/baeldung/spring/servicevalidation/domain/UserAddress.java (100%) rename {spring-service-layer-validation => spring-boot-modules/spring-boot-servicelayer-validation}/src/main/java/com/baeldung/spring/servicevalidation/service/UserAccountService.java (100%) delete mode 100644 spring-service-layer-validation/README.md diff --git a/spring-service-layer-validation/.gitignore b/spring-boot-modules/spring-boot-servicelayer-validation/.gitignore similarity index 100% rename from spring-service-layer-validation/.gitignore rename to spring-boot-modules/spring-boot-servicelayer-validation/.gitignore diff --git a/spring-boot-modules/spring-boot-servicelayer-validation/README.md b/spring-boot-modules/spring-boot-servicelayer-validation/README.md new file mode 100644 index 0000000000..7c39135db6 --- /dev/null +++ b/spring-boot-modules/spring-boot-servicelayer-validation/README.md @@ -0,0 +1,4 @@ +## Spring Service Layer Validation + +This module contains articles about validation in Service layer of Spring Boot project. + diff --git a/spring-service-layer-validation/pom.xml b/spring-boot-modules/spring-boot-servicelayer-validation/pom.xml similarity index 100% rename from spring-service-layer-validation/pom.xml rename to spring-boot-modules/spring-boot-servicelayer-validation/pom.xml diff --git a/spring-service-layer-validation/src/main/java/com/baeldung/spring/servicevalidation/SpringServiceLayerValidationApp.java b/spring-boot-modules/spring-boot-servicelayer-validation/src/main/java/com/baeldung/spring/servicevalidation/SpringServiceLayerValidationApp.java similarity index 100% rename from spring-service-layer-validation/src/main/java/com/baeldung/spring/servicevalidation/SpringServiceLayerValidationApp.java rename to spring-boot-modules/spring-boot-servicelayer-validation/src/main/java/com/baeldung/spring/servicevalidation/SpringServiceLayerValidationApp.java diff --git a/spring-service-layer-validation/src/main/java/com/baeldung/spring/servicevalidation/controller/UserAccountController.java b/spring-boot-modules/spring-boot-servicelayer-validation/src/main/java/com/baeldung/spring/servicevalidation/controller/UserAccountController.java similarity index 100% rename from spring-service-layer-validation/src/main/java/com/baeldung/spring/servicevalidation/controller/UserAccountController.java rename to spring-boot-modules/spring-boot-servicelayer-validation/src/main/java/com/baeldung/spring/servicevalidation/controller/UserAccountController.java diff --git a/spring-service-layer-validation/src/main/java/com/baeldung/spring/servicevalidation/dao/UserAccountDao.java b/spring-boot-modules/spring-boot-servicelayer-validation/src/main/java/com/baeldung/spring/servicevalidation/dao/UserAccountDao.java similarity index 100% rename from spring-service-layer-validation/src/main/java/com/baeldung/spring/servicevalidation/dao/UserAccountDao.java rename to spring-boot-modules/spring-boot-servicelayer-validation/src/main/java/com/baeldung/spring/servicevalidation/dao/UserAccountDao.java diff --git a/spring-service-layer-validation/src/main/java/com/baeldung/spring/servicevalidation/domain/UserAccount.java b/spring-boot-modules/spring-boot-servicelayer-validation/src/main/java/com/baeldung/spring/servicevalidation/domain/UserAccount.java similarity index 100% rename from spring-service-layer-validation/src/main/java/com/baeldung/spring/servicevalidation/domain/UserAccount.java rename to spring-boot-modules/spring-boot-servicelayer-validation/src/main/java/com/baeldung/spring/servicevalidation/domain/UserAccount.java diff --git a/spring-service-layer-validation/src/main/java/com/baeldung/spring/servicevalidation/domain/UserAddress.java b/spring-boot-modules/spring-boot-servicelayer-validation/src/main/java/com/baeldung/spring/servicevalidation/domain/UserAddress.java similarity index 100% rename from spring-service-layer-validation/src/main/java/com/baeldung/spring/servicevalidation/domain/UserAddress.java rename to spring-boot-modules/spring-boot-servicelayer-validation/src/main/java/com/baeldung/spring/servicevalidation/domain/UserAddress.java diff --git a/spring-service-layer-validation/src/main/java/com/baeldung/spring/servicevalidation/service/UserAccountService.java b/spring-boot-modules/spring-boot-servicelayer-validation/src/main/java/com/baeldung/spring/servicevalidation/service/UserAccountService.java similarity index 100% rename from spring-service-layer-validation/src/main/java/com/baeldung/spring/servicevalidation/service/UserAccountService.java rename to spring-boot-modules/spring-boot-servicelayer-validation/src/main/java/com/baeldung/spring/servicevalidation/service/UserAccountService.java diff --git a/spring-service-layer-validation/README.md b/spring-service-layer-validation/README.md deleted file mode 100644 index 674831d6a5..0000000000 --- a/spring-service-layer-validation/README.md +++ /dev/null @@ -1,12 +0,0 @@ -## Spring Boot MVC - -This module contains articles about validation in Service layer of Spring Boot project. - -### Relevant Articles: - -- [Circular View Path Error](https://www.baeldung.com/spring-circular-view-path-error) -- [Download an Image or a File with Spring MVC](https://www.baeldung.com/spring-controller-return-image-file) -- [Spring MVC Async vs Spring WebFlux](https://www.baeldung.com/spring-mvc-async-vs-webflux) -- [Differences in @Valid and @Validated Annotations in Spring](https://www.baeldung.com/spring-valid-vs-validated) -- [CharacterEncodingFilter In SpringBoot](https://www.baeldung.com/spring-boot-characterencodingfilter) -- More articles: [[prev -->]](/spring-boot-modules/spring-boot-mvc-2)