Repository: jhipster/jhipster-lite
Pull request #12506 (2025-05-09 18:47:46)

Rename packages
Related to #12442 


Patch:
diff --git a/src/main/java/tech/jhipster/lite/generator/client/hexagonal_documentation/application/FrontHexagonalArchitectureDocumentationApplicationService.java b/src/main/java/tech/jhipster/lite/generator/client/hexagonaldocumentation/application/FrontHexagonalArchitectureDocumentationApplicationService.java
similarity index 72%
rename from src/main/java/tech/jhipster/lite/generator/client/hexagonal_documentation/application/FrontHexagonalArchitectureDocumentationApplicationService.java
rename to src/main/java/tech/jhipster/lite/generator/client/hexagonaldocumentation/application/FrontHexagonalArchitectureDocumentationApplicationService.java
index 90cea775a..a302f2434 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/hexagonal_documentation/application/FrontHexagonalArchitectureDocumentationApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/hexagonaldocumentation/application/FrontHexagonalArchitectureDocumentationApplicationService.java
@@ -1,7 +1,7 @@
-package tech.jhipster.lite.generator.client.hexagonal_documentation.application;
+package tech.jhipster.lite.generator.client.hexagonaldocumentation.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.client.hexagonal_documentation.domain.FrontHexagonalDocumentationModuleFactory;
+import tech.jhipster.lite.generator.client.hexagonaldocumentation.domain.FrontHexagonalDocumentationModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
diff --git a/src/main/java/tech/jhipster/lite/generator/client/hexagonal_documentation/domain/FrontHexagonalDocumentationModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/client/hexagonaldocumentation/domain/FrontHexagonalDocumentationModuleFactory.java
similarity index 92%
rename from src/main/java/tech/jhipster/lite/generator/client/hexagonal_documentation/domain/FrontHexagonalDocumentationModuleFactory.java
rename to src/main/java/tech/jhipster/lite/generator/client/hexagonaldocumentation/domain/FrontHexagonalDocumentationModuleFactory.java
index dca903dde..0d9eebf86 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/hexagonal_documentation/domain/FrontHexagonalDocumentationModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/hexagonaldocumentation/domain/FrontHexagonalDocumentationModuleFactory.java
@@ -1,4 +1,4 @@
-package tech.jhipster.lite.generator.client.hexagonal_documentation.domain;
+package tech.jhipster.lite.generator.client.hexagonaldocumentation.domain;
 
 import static tech.jhipster.lite.module.domain.JHipsterModule.documentationTitle;
 import static tech.jhipster.lite.module.domain.JHipsterModule.from;
diff --git a/src/main/java/tech/jhipster/lite/generator/client/hexagonal_documentation/infrastructure/primary/FrontHexagonalDocumentationModuleConfiguration.java b/src/main/java/tech/jhipster/lite/generator/client/hexagonaldocumentation/infrastructure/primary/FrontHexagonalDocumentationModuleConfiguration.java
similarity index 76%
rename from src/main/java/tech/jhipster/lite/generator/client/hexagonal_documentation/infrastructure/primary/FrontHexagonalDocumentationModuleConfiguration.java
rename to src/main/java/tech/jhipster/lite/generator/client/hexagonaldocumentation/infrastructure/primary/FrontHexagonalDocumentationModuleConfiguration.java
index 496852095..7b52533a5 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/hexagonal_documentation/infrastructure/primary/FrontHexagonalDocumentationModuleConfiguration.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/hexagonaldocumentation/infrastructure/primary/FrontHexagonalDocumentationModuleConfiguration.java
@@ -1,8 +1,8 @@
-package tech.jhipster.lite.generator.client.hexagonal_documentation.infrastructure.primary;
+package tech.jhipster.lite.generator.client.hexagonaldocumentation.infrastructure.primary;
 
 import org.springframework.context.annotation.Bean;
 import org.springframework.stereotype.Component;
-import tech.jhipster.lite.generator.client.hexagonal_documentation.application.FrontHexagonalArchitectureDocumentationApplicationService;
+import tech.jhipster.lite.generator.client.hexagonaldocumentation.application.FrontHexagonalArchitectureDocumentationApplicationService;
 import tech.jhipster.lite.module.domain.resource.JHipsterModuleResource;
 import tech.jhipster.lite.shared.slug.domain.JHLiteModuleSlug;
 
diff --git a/src/main/java/tech/jhipster/lite/generator/client/pagination_domain/package-info.java b/src/main/java/tech/jhipster/lite/generator/client/pagination_domain/package-info.java
deleted file mode 100644
index a00abbb4e..000000000
--- a/src/main/java/tech/jhipster/lite/generator/client/pagination_domain/package-info.java
+++ /dev/null
@@ -1,2 +0,0 @@
-@tech.jhipster.lite.BusinessContext
-package tech.jhipster.lite.generator.client.pagination_domain;
diff --git a/src/main/java/tech/jhipster/lite/generator/client/pagination_domain/application/TsPaginationDomainApplicationService.java b/src/main/java/tech/jhipster/lite/generator/client/paginationdomain/application/TsPaginationDomainApplicationService.java
similarity index 72%
rename from src/main/java/tech/jhipster/lite/generator/client/pagination_domain/application/TsPaginationDomainApplicationService.java
rename to src/main/java/tech/jhipster/lite/generator/client/paginationdomain/application/TsPaginationDomainApplicationService.java
index f969abc00..e83eba198 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/pagination_domain/application/TsPaginationDomainApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/paginationdomain/application/TsPaginationDomainApplicationService.java
@@ -1,7 +1,7 @@
-package tech.jhipster.lite.generator.client.pagination_domain.application;
+package tech.jhipster.lite.generator.client.paginationdomain.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.client.pagination_domain.domain.TSPaginationDomainModuleFactory;
+import tech.jhipster.lite.generator.client.paginationdomain.domain.TSPaginationDomainModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
diff --git a/src/main/java/tech/jhipster/lite/generator/client/pagination_domain/domain/TSPaginationDomainModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/client/paginationdomain/domain/TSPaginationDomainModuleFactory.java
similarity index 94%
rename from src/main/java/tech/jhipster/lite/generator/client/pagination_domain/domain/TSPaginationDomainModuleFactory.java
rename to src/main/java/tech/jhipster/lite/generator/client/paginationdomain/domain/TSPaginationDomainModuleFactory.java
index f07e6a8ed..c7135078d 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/pagination_domain/domain/TSPaginationDomainModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/paginationdomain/domain/TSPaginationDomainModuleFactory.java
@@ -1,4 +1,4 @@
-package tech.jhipster.lite.generator.client.pagination_domain.domain;
+package tech.jhipster.lite.generator.client.paginationdomain.domain;
 
 import static tech.jhipster.lite.module.domain.JHipsterModule.from;
 import static tech.jhipster.lite.module.domain.JHipsterModule.moduleBuilder;
diff --git a/src/main/java/tech/jhipster/lite/generator/client/pagination_domain/infrastructure/primary/TsPaginationDomainModuleConfiguration.java b/src/main/java/tech/jhipster/lite/generator/client/paginationdomain/infrastructure/primary/TsPaginationDomainModuleConfiguration.java
similarity index 83%
rename from src/main/java/tech/jhipster/lite/generator/client/pagination_domain/infrastructure/primary/TsPaginationDomainModuleConfiguration.java
rename to src/main/java/tech/jhipster/lite/generator/client/paginationdomain/infrastructure/primary/TsPaginationDomainModuleConfiguration.java
index 1064c8921..072639b5f 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/pagination_domain/infrastructure/primary/TsPaginationDomainModuleConfiguration.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/paginationdomain/infrastructure/primary/TsPaginationDomainModuleConfiguration.java
@@ -1,10 +1,10 @@
-package tech.jhipster.lite.generator.client.pagination_domain.infrastructure.primary;
+package tech.jhipster.lite.generator.client.paginationdomain.infrastructure.primary;
 
 import static tech.jhipster.lite.shared.slug.domain.JHLiteFeatureSlug.CLIENT_CORE;
 
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Configuration;
-import tech.jhipster.lite.generator.client.pagination_domain.application.TsPaginationDomainApplicationService;
+import tech.jhipster.lite.generator.client.paginationdomain.application.TsPaginationDomainApplicationService;
 import tech.jhipster.lite.module.domain.resource.JHipsterModuleOrganization;
 import tech.jhipster.lite.module.domain.resource.JHipsterModuleResource;
 import tech.jhipster.lite.shared.slug.domain.JHLiteModuleSlug;
diff --git a/src/main/java/tech/jhipster/lite/generator/client/paginationdomain/package-info.java b/src/main/java/tech/jhipster/lite/generator/client/paginationdomain/package-info.java
new file mode 100644
index 000000000..ad651e6aa
--- /dev/null
+++ b/src/main/java/tech/jhipster/lite/generator/client/paginationdomain/package-info.java
@@ -0,0 +1,2 @@
+@tech.jhipster.lite.BusinessContext
+package tech.jhipster.lite.generator.client.paginationdomain;
diff --git a/src/main/java/tech/jhipster/lite/generator/client/rest_pagination/package-info.java b/src/main/java/tech/jhipster/lite/generator/client/rest_pagination/package-info.java
deleted file mode 100644
index 2fa9d426a..000000000
--- a/src/main/java/tech/jhipster/lite/generator/client/rest_pagination/package-info.java
+++ /dev/null
@@ -1,2 +0,0 @@
-@tech.jhipster.lite.BusinessContext
-package tech.jhipster.lite.generator.client.rest_pagination;
diff --git a/src/main/java/tech/jhipster/lite/generator/client/rest_pagination/application/TSRestPaginationApplicationService.java b/src/main/java/tech/jhipster/lite/generator/client/restpagination/application/TSRestPaginationApplicationService.java
similarity index 73%
rename from src/main/java/tech/jhipster/lite/generator/client/rest_pagination/application/TSRestPaginationApplicationService.java
rename to src/main/java/tech/jhipster/lite/generator/client/restpagination/application/TSRestPaginationApplicationService.java
index 547bf765b..4426bbb2a 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/rest_pagination/application/TSRestPaginationApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/restpagination/application/TSRestPaginationApplicationService.java
@@ -1,7 +1,7 @@
-package tech.jhipster.lite.generator.client.rest_pagination.application;
+package tech.jhipster.lite.generator.client.restpagination.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.client.rest_pagination.domain.TSRestPaginationModuleFactory;
+import tech.jhipster.lite.generator.client.restpagination.domain.TSRestPaginationModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
diff --git a/src/main/java/tech/jhipster/lite/generator/client/rest_pagination/domain/TSRestPaginationModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/client/restpagination/domain/TSRestPaginationModuleFactory.java
similarity index 95%
rename from src/main/java/tech/jhipster/lite/generator/client/rest_pagination/domain/TSRestPaginationModuleFactory.java
rename to src/main/java/tech/jhipster/lite/generator/client/restpagination/domain/TSRestPaginationModuleFactory.java
index e53a61a06..487698829 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/rest_pagination/domain/TSRestPaginationModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/restpagination/domain/TSRestPaginationModuleFactory.java
@@ -1,4 +1,4 @@
-package tech.jhipster.lite.generator.client.rest_pagination.domain;
+package tech.jhipster.lite.generator.client.restpagination.domain;
 
 import static tech.jhipster.lite.module.domain.JHipsterModule.documentationTitle;
 import static tech.jhipster.lite.module.domain.JHipsterModule.from;
diff --git a/src/main/java/tech/jhipster/lite/generator/client/rest_pagination/infrastructure/primary/TSRestPaginationModuleConfiguration.java b/src/main/java/tech/jhipster/lite/generator/client/restpagination/infrastructure/primary/TSRestPaginationModuleConfiguration.java
similarity index 83%
rename from src/main/java/tech/jhipster/lite/generator/client/rest_pagination/infrastructure/primary/TSRestPaginationModuleConfiguration.java
rename to src/main/java/tech/jhipster/lite/generator/client/restpagination/infrastructure/primary/TSRestPaginationModuleConfiguration.java
index 0ae429011..1b2897553 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/rest_pagination/infrastructure/primary/TSRestPaginationModuleConfiguration.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/restpagination/infrastructure/primary/TSRestPaginationModuleConfiguration.java
@@ -1,10 +1,10 @@
-package tech.jhipster.lite.generator.client.rest_pagination.infrastructure.primary;
+package tech.jhipster.lite.generator.client.restpagination.infrastructure.primary;
 
 import static tech.jhipster.lite.shared.slug.domain.JHLiteModuleSlug.TS_PAGINATION_DOMAIN;
 
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Configuration;
-import tech.jhipster.lite.generator.client.rest_pagination.application.TSRestPaginationApplicationService;
+import tech.jhipster.lite.generator.client.restpagination.application.TSRestPaginationApplicationService;
 import tech.jhipster.lite.module.domain.resource.JHipsterModuleOrganization;
 import tech.jhipster.lite.module.domain.resource.JHipsterModuleResource;
 import tech.jhipster.lite.shared.slug.domain.JHLiteModuleSlug;
diff --git a/src/main/java/tech/jhipster/lite/generator/client/restpagination/package-info.java b/src/main/java/tech/jhipster/lite/generator/client/restpagination/package-info.java
new file mode 100644
index 000000000..13b0703c6
--- /dev/null
+++ b/src/main/java/tech/jhipster/lite/generator/client/restpagination/package-info.java
@@ -0,0 +1,2 @@
+@tech.jhipster.lite.BusinessContext
+package tech.jhipster.lite.generator.client.restpagination;


Test patch:
diff --git a/src/test/java/tech/jhipster/lite/generator/client/hexagonal_documentation/domain/FrontHexagonalDocumentationModuleFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/client/hexagonaldocumentation/domain/FrontHexagonalDocumentationModuleFactoryTest.java
similarity index 92%
rename from src/test/java/tech/jhipster/lite/generator/client/hexagonal_documentation/domain/FrontHexagonalDocumentationModuleFactoryTest.java
rename to src/test/java/tech/jhipster/lite/generator/client/hexagonaldocumentation/domain/FrontHexagonalDocumentationModuleFactoryTest.java
index 689740b10..3d58f7f5f 100644
--- a/src/test/java/tech/jhipster/lite/generator/client/hexagonal_documentation/domain/FrontHexagonalDocumentationModuleFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/client/hexagonaldocumentation/domain/FrontHexagonalDocumentationModuleFactoryTest.java
@@ -1,4 +1,4 @@
-package tech.jhipster.lite.generator.client.hexagonal_documentation.domain;
+package tech.jhipster.lite.generator.client.hexagonaldocumentation.domain;
 
 import static tech.jhipster.lite.module.domain.JHipsterModulesFixture.*;
 import static tech.jhipster.lite.module.infrastructure.secondary.JHipsterModulesAssertions.*;
diff --git a/src/test/java/tech/jhipster/lite/generator/client/pagination_domain/domain/PaginationDomainModuleFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/client/paginationdomain/domain/PaginationDomainModuleFactoryTest.java
similarity index 93%
rename from src/test/java/tech/jhipster/lite/generator/client/pagination_domain/domain/PaginationDomainModuleFactoryTest.java
rename to src/test/java/tech/jhipster/lite/generator/client/paginationdomain/domain/PaginationDomainModuleFactoryTest.java
index 5ea7ac922..6393a9e66 100644
--- a/src/test/java/tech/jhipster/lite/generator/client/pagination_domain/domain/PaginationDomainModuleFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/client/paginationdomain/domain/PaginationDomainModuleFactoryTest.java
@@ -1,4 +1,4 @@
-package tech.jhipster.lite.generator.client.pagination_domain.domain;
+package tech.jhipster.lite.generator.client.paginationdomain.domain;
 
 import static tech.jhipster.lite.module.domain.JHipsterModulesFixture.*;
 import static tech.jhipster.lite.module.infrastructure.secondary.JHipsterModulesAssertions.*;
diff --git a/src/test/java/tech/jhipster/lite/generator/client/rest_pagination/domain/TSRestPaginationModuleFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/client/restpagination/domain/TSRestPaginationModuleFactoryTest.java
similarity index 94%
rename from src/test/java/tech/jhipster/lite/generator/client/rest_pagination/domain/TSRestPaginationModuleFactoryTest.java
rename to src/test/java/tech/jhipster/lite/generator/client/restpagination/domain/TSRestPaginationModuleFactoryTest.java
index 3a04c7717..48960712e 100644
--- a/src/test/java/tech/jhipster/lite/generator/client/rest_pagination/domain/TSRestPaginationModuleFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/client/restpagination/domain/TSRestPaginationModuleFactoryTest.java
@@ -1,4 +1,4 @@
-package tech.jhipster.lite.generator.client.rest_pagination.domain;
+package tech.jhipster.lite.generator.client.restpagination.domain;
 
 import static tech.jhipster.lite.module.domain.JHipsterModulesFixture.*;
 import static tech.jhipster.lite.module.infrastructure.secondary.JHipsterModulesAssertions.*;