From d81f99f6ef6a60f5f38ae08280d1f35e2a8397bd Mon Sep 17 00:00:00 2001 From: Jerome Villiseck Date: Fri, 19 Jan 2024 10:29:50 +0100 Subject: [PATCH 1/2] CDE-343 Suppression du boolean pour laisser le choix ou non de la verification du provider --- pom.xml | 5 +++++ src/main/resources/application.properties | 2 ++ 2 files changed, 7 insertions(+) diff --git a/pom.xml b/pom.xml index 3b1080f..1cf66fa 100644 --- a/pom.xml +++ b/pom.xml @@ -226,6 +226,11 @@ validation-api 2.0.1.Final + + + org.springframework.boot + spring-boot-starter-actuator + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index c43a23b..9653d08 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -20,3 +20,5 @@ logging.config=classpath:log4j2-all.xml springdoc.packages-to-scan=fr.abes.convergence.controller springdoc.api-docs.path=/api-docs/ springdoc.swagger-ui.path=/swagger-ui.html + +management.endpoints.web.exposure.include=* \ No newline at end of file From a352576a68ff8fd1264f2777ae0d80983dd9e2f4 Mon Sep 17 00:00:00 2001 From: Jerome Villiseck Date: Fri, 19 Jan 2024 10:50:57 +0100 Subject: [PATCH 2/2] FIX suppression cross origins --- src/main/java/fr/abes/sudoc/controller/KbartController.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/fr/abes/sudoc/controller/KbartController.java b/src/main/java/fr/abes/sudoc/controller/KbartController.java index 496cf56..add69dd 100644 --- a/src/main/java/fr/abes/sudoc/controller/KbartController.java +++ b/src/main/java/fr/abes/sudoc/controller/KbartController.java @@ -25,7 +25,6 @@ import java.util.Optional; @RestController -@CrossOrigin(origins = "*") @Slf4j @RequestMapping("/v1") public class KbartController {