diff --git a/mall-cloud-native/build.gradle b/mall-catalog/build.gradle similarity index 100% rename from mall-cloud-native/build.gradle rename to mall-catalog/build.gradle diff --git a/mall-cloud-native/src/main/java/org/mall/catalogservice/Application.java b/mall-catalog/src/main/java/org/mall/catalogservice/Application.java similarity index 100% rename from mall-cloud-native/src/main/java/org/mall/catalogservice/Application.java rename to mall-catalog/src/main/java/org/mall/catalogservice/Application.java diff --git a/mall-cloud-native/src/main/java/org/mall/catalogservice/config/MallProperties.java b/mall-catalog/src/main/java/org/mall/catalogservice/config/MallProperties.java similarity index 100% rename from mall-cloud-native/src/main/java/org/mall/catalogservice/config/MallProperties.java rename to mall-catalog/src/main/java/org/mall/catalogservice/config/MallProperties.java diff --git a/mall-cloud-native/src/main/java/org/mall/catalogservice/demo/BookDataLoader.java b/mall-catalog/src/main/java/org/mall/catalogservice/demo/BookDataLoader.java similarity index 100% rename from mall-cloud-native/src/main/java/org/mall/catalogservice/demo/BookDataLoader.java rename to mall-catalog/src/main/java/org/mall/catalogservice/demo/BookDataLoader.java diff --git a/mall-cloud-native/src/main/java/org/mall/catalogservice/domain/Book.java b/mall-catalog/src/main/java/org/mall/catalogservice/domain/Book.java similarity index 100% rename from mall-cloud-native/src/main/java/org/mall/catalogservice/domain/Book.java rename to mall-catalog/src/main/java/org/mall/catalogservice/domain/Book.java diff --git a/mall-cloud-native/src/main/java/org/mall/catalogservice/domain/BookAlreadyExistsException.java b/mall-catalog/src/main/java/org/mall/catalogservice/domain/BookAlreadyExistsException.java similarity index 100% rename from mall-cloud-native/src/main/java/org/mall/catalogservice/domain/BookAlreadyExistsException.java rename to mall-catalog/src/main/java/org/mall/catalogservice/domain/BookAlreadyExistsException.java diff --git a/mall-cloud-native/src/main/java/org/mall/catalogservice/domain/BookNotFoundException.java b/mall-catalog/src/main/java/org/mall/catalogservice/domain/BookNotFoundException.java similarity index 100% rename from mall-cloud-native/src/main/java/org/mall/catalogservice/domain/BookNotFoundException.java rename to mall-catalog/src/main/java/org/mall/catalogservice/domain/BookNotFoundException.java diff --git a/mall-cloud-native/src/main/java/org/mall/catalogservice/domain/BookRepository.java b/mall-catalog/src/main/java/org/mall/catalogservice/domain/BookRepository.java similarity index 100% rename from mall-cloud-native/src/main/java/org/mall/catalogservice/domain/BookRepository.java rename to mall-catalog/src/main/java/org/mall/catalogservice/domain/BookRepository.java diff --git a/mall-cloud-native/src/main/java/org/mall/catalogservice/domain/BookService.java b/mall-catalog/src/main/java/org/mall/catalogservice/domain/BookService.java similarity index 100% rename from mall-cloud-native/src/main/java/org/mall/catalogservice/domain/BookService.java rename to mall-catalog/src/main/java/org/mall/catalogservice/domain/BookService.java diff --git a/mall-cloud-native/src/main/java/org/mall/catalogservice/persistence/InMemoryBookRepository.java b/mall-catalog/src/main/java/org/mall/catalogservice/persistence/InMemoryBookRepository.java similarity index 100% rename from mall-cloud-native/src/main/java/org/mall/catalogservice/persistence/InMemoryBookRepository.java rename to mall-catalog/src/main/java/org/mall/catalogservice/persistence/InMemoryBookRepository.java diff --git a/mall-cloud-native/src/main/java/org/mall/catalogservice/web/BookController.java b/mall-catalog/src/main/java/org/mall/catalogservice/web/BookController.java similarity index 100% rename from mall-cloud-native/src/main/java/org/mall/catalogservice/web/BookController.java rename to mall-catalog/src/main/java/org/mall/catalogservice/web/BookController.java diff --git a/mall-cloud-native/src/main/java/org/mall/catalogservice/web/BookControllerAdvice.java b/mall-catalog/src/main/java/org/mall/catalogservice/web/BookControllerAdvice.java similarity index 100% rename from mall-cloud-native/src/main/java/org/mall/catalogservice/web/BookControllerAdvice.java rename to mall-catalog/src/main/java/org/mall/catalogservice/web/BookControllerAdvice.java diff --git a/mall-cloud-native/src/main/java/org/mall/catalogservice/web/HomeController.java b/mall-catalog/src/main/java/org/mall/catalogservice/web/HomeController.java similarity index 100% rename from mall-cloud-native/src/main/java/org/mall/catalogservice/web/HomeController.java rename to mall-catalog/src/main/java/org/mall/catalogservice/web/HomeController.java diff --git a/mall-cloud-native/src/main/resources/application.yml b/mall-catalog/src/main/resources/application.yml similarity index 100% rename from mall-cloud-native/src/main/resources/application.yml rename to mall-catalog/src/main/resources/application.yml diff --git a/mall-cloud-native/src/test/java/org/mall/catalogservice/ApplicationTests.java b/mall-catalog/src/test/java/org/mall/catalogservice/ApplicationTests.java similarity index 100% rename from mall-cloud-native/src/test/java/org/mall/catalogservice/ApplicationTests.java rename to mall-catalog/src/test/java/org/mall/catalogservice/ApplicationTests.java diff --git a/mall-cloud-native/src/test/java/org/mall/catalogservice/domain/BookValidationTests.java b/mall-catalog/src/test/java/org/mall/catalogservice/domain/BookValidationTests.java similarity index 100% rename from mall-cloud-native/src/test/java/org/mall/catalogservice/domain/BookValidationTests.java rename to mall-catalog/src/test/java/org/mall/catalogservice/domain/BookValidationTests.java diff --git a/mall-cloud-native/src/test/java/org/mall/catalogservice/web/BookControllerMvcTests.java b/mall-catalog/src/test/java/org/mall/catalogservice/web/BookControllerMvcTests.java similarity index 100% rename from mall-cloud-native/src/test/java/org/mall/catalogservice/web/BookControllerMvcTests.java rename to mall-catalog/src/test/java/org/mall/catalogservice/web/BookControllerMvcTests.java diff --git a/mall-cloud-native/src/test/java/org/mall/catalogservice/web/BookJsonTests.java b/mall-catalog/src/test/java/org/mall/catalogservice/web/BookJsonTests.java similarity index 100% rename from mall-cloud-native/src/test/java/org/mall/catalogservice/web/BookJsonTests.java rename to mall-catalog/src/test/java/org/mall/catalogservice/web/BookJsonTests.java diff --git a/settings.gradle b/settings.gradle index 260339d..0265ce0 100644 --- a/settings.gradle +++ b/settings.gradle @@ -5,6 +5,5 @@ include 'mall-crosscut' include 'mall-express' include 'mall-domain' include 'mall-data' -include 'mall-cloud-native' -include 'mall-config' - +include 'mall-catalog' +include 'mall-config' \ No newline at end of file