From 09d03cd16410a59494edec179e4d6466eb93fee5 Mon Sep 17 00:00:00 2001 From: Saravana-PS <97792884+Saravana-PS@users.noreply.github.com> Date: Wed, 2 Aug 2023 17:36:28 +0530 Subject: [PATCH 1/3] Property has been removed --- .../actuator/domain/SpringBootActuatorModuleFactory.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/technicaltools/actuator/domain/SpringBootActuatorModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/technicaltools/actuator/domain/SpringBootActuatorModuleFactory.java index 077b9cc0a33..a0d025e723a 100644 --- a/src/main/java/tech/jhipster/lite/generator/server/springboot/technicaltools/actuator/domain/SpringBootActuatorModuleFactory.java +++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/technicaltools/actuator/domain/SpringBootActuatorModuleFactory.java @@ -26,7 +26,6 @@ public JHipsterModule buildModule(JHipsterModuleProperties properties) { propertyValue("configprops", "env", "health", "info", "logfile", "loggers", "threaddump") ) .set(propertyKey("management.endpoint.health.probes.enabled"), propertyValue("true")) - .set(propertyKey("spring.security.oauth2.client.registration.oidc.scope"), propertyValue("openid", "profile", "email")) .set(propertyKey("management.endpoint.health.show-details"), propertyValue("always")) .and() .build(); From 95aa362604bb1eadbba99eb1a1ea9db6fc92cb14 Mon Sep 17 00:00:00 2001 From: Saravana-PS <97792884+Saravana-PS@users.noreply.github.com> Date: Wed, 2 Aug 2023 20:17:22 +0530 Subject: [PATCH 2/3] property removed in the test file --- .../actuator/domain/SpringBootActuatorModuleFactoryTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/java/tech/jhipster/lite/generator/server/springboot/technicaltools/actuator/domain/SpringBootActuatorModuleFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/server/springboot/technicaltools/actuator/domain/SpringBootActuatorModuleFactoryTest.java index b5b55383679..5ee04cbeb3c 100644 --- a/src/test/java/tech/jhipster/lite/generator/server/springboot/technicaltools/actuator/domain/SpringBootActuatorModuleFactoryTest.java +++ b/src/test/java/tech/jhipster/lite/generator/server/springboot/technicaltools/actuator/domain/SpringBootActuatorModuleFactoryTest.java @@ -36,7 +36,6 @@ void shouldCreateSpringBootActuatorModule() { .containing("management.endpoints.web.base-path=/management") .containing("management.endpoints.web.exposure.include=configprops,env,health,info,logfile,loggers,threaddump") .containing("management.endpoint.health.probes.enabled=true") - .containing("spring.security.oauth2.client.registration.oidc.scope=openid,profile,email") .containing("management.endpoint.health.show-details=always"); } } From 69a123520e0cd3a1c1ffa79216833ba2b6d8b2a7 Mon Sep 17 00:00:00 2001 From: Saravana-PS <97792884+Saravana-PS@users.noreply.github.com> Date: Wed, 2 Aug 2023 22:41:43 +0530 Subject: [PATCH 3/3] removed the property from the feature file --- src/test/features/springboot-actuator.feature | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/features/springboot-actuator.feature b/src/test/features/springboot-actuator.feature index 907290feffc..58b416e5b29 100644 --- a/src/test/features/springboot-actuator.feature +++ b/src/test/features/springboot-actuator.feature @@ -9,6 +9,5 @@ Feature: Spring Boot Actuator modules | management.endpoints.web.base-path | | management.endpoints.web.exposure.include | | management.endpoint.health.probes.enabled | - | spring.security.oauth2.client.registration.oidc.scope | | management.endpoint.health.show-details |