Repository: jhipster/jhipster-lite
Pull request #12434 (2025-05-01 19:57:42)

Rename package: springdocoauth=>springdocoauth2


Patch:
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth/application/SpringdocOauth2ApplicationService.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/application/SpringdocOauth2ApplicationService.java
similarity index 87%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth/application/SpringdocOauth2ApplicationService.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/application/SpringdocOauth2ApplicationService.java
index 399568670..6b257d368 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth/application/SpringdocOauth2ApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/application/SpringdocOauth2ApplicationService.java
@@ -1,7 +1,7 @@
-package tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth.application;
+package tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth2.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth.domain.SpringdocOauth2ModuleFactory;
+import tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth2.domain.SpringdocOauth2ModuleFactory;
 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/server/springboot/apidocumentation/springdocoauth/domain/SpringdocOauth2ModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/domain/SpringdocOauth2ModuleFactory.java
similarity index 98%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth/domain/SpringdocOauth2ModuleFactory.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/domain/SpringdocOauth2ModuleFactory.java
index 0eb2060a8..71f9cdf81 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth/domain/SpringdocOauth2ModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/domain/SpringdocOauth2ModuleFactory.java
@@ -1,4 +1,4 @@
-package tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth.domain;
+package tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth2.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/server/springboot/apidocumentation/springdocoauth/infrastructure/primary/SpringdocOauth2ModuleConfiguration.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/infrastructure/primary/SpringdocOauth2ModuleConfiguration.java
similarity index 93%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth/infrastructure/primary/SpringdocOauth2ModuleConfiguration.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/infrastructure/primary/SpringdocOauth2ModuleConfiguration.java
index dc09d4a89..73b2f9955 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth/infrastructure/primary/SpringdocOauth2ModuleConfiguration.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/infrastructure/primary/SpringdocOauth2ModuleConfiguration.java
@@ -1,4 +1,4 @@
-package tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth.infrastructure.primary;
+package tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth2.infrastructure.primary;
 
 import static tech.jhipster.lite.shared.slug.domain.JHLiteFeatureSlug.AUTHENTICATION_SPRINGDOC;
 import static tech.jhipster.lite.shared.slug.domain.JHLiteFeatureSlug.SPRINGDOC;
@@ -7,7 +7,7 @@ import static tech.jhipster.lite.shared.slug.domain.JHLiteModuleSlug.SPRING_BOOT
 
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Configuration;
-import tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth.application.SpringdocOauth2ApplicationService;
+import tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth2.application.SpringdocOauth2ApplicationService;
 import tech.jhipster.lite.module.domain.resource.JHipsterModuleOrganization;
 import tech.jhipster.lite.module.domain.resource.JHipsterModulePropertiesDefinition;
 import tech.jhipster.lite.module.domain.resource.JHipsterModuleResource;
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth/package-info.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/package-info.java
similarity index 80%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth/package-info.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/package-info.java
index 5d54888df..625ec7a22 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth/package-info.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/package-info.java
@@ -1,2 +1,2 @@
 @tech.jhipster.lite.BusinessContext
-package tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth;
+package tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth2;


Test patch:
diff --git a/src/test/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth/domain/SpringdocOauth2ModuleFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/domain/SpringdocOauth2ModuleFactoryTest.java
similarity index 98%
rename from src/test/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth/domain/SpringdocOauth2ModuleFactoryTest.java
rename to src/test/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/domain/SpringdocOauth2ModuleFactoryTest.java
index e8305bf1d..73778f5a3 100644
--- a/src/test/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth/domain/SpringdocOauth2ModuleFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/server/springboot/apidocumentation/springdocoauth2/domain/SpringdocOauth2ModuleFactoryTest.java
@@ -1,4 +1,4 @@
-package tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth.domain;
+package tech.jhipster.lite.generator.server.springboot.apidocumentation.springdocoauth2.domain;
 
 import static tech.jhipster.lite.module.infrastructure.secondary.JHipsterModulesAssertions.assertThatModuleWithFiles;
 import static tech.jhipster.lite.module.infrastructure.secondary.JHipsterModulesAssertions.pomFile;