From 7a397ca71ce9aacbddc64b87813c1c5f8fc8bd9b Mon Sep 17 00:00:00 2001 From: "waqas.ikram" Date: Thu, 25 Jan 2024 11:36:16 +0000 Subject: Omitting the basic auth header in healthcheck test as it is not required and adding v3 to uri of api-docs Issue-ID: CPS-2045 Change-Id: If229bbd46a5c5187ddac242f8bfda00d5c951995 Signed-off-by: waqas.ikram --- cps-application/src/main/resources/application.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cps-application') diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 4e20a4b8d..e56e0e13c 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -142,7 +142,7 @@ springdoc: security: # comma-separated uri patterns which do not require authorization - permit-uri: /actuator/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/** + permit-uri: /actuator/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/**,/v3/api-docs/** auth: username: ${CPS_USERNAME} password: ${CPS_PASSWORD} @@ -209,4 +209,4 @@ hazelcast: mode: kubernetes: enabled: ${HAZELCAST_MODE_KUBERNETES_ENABLED:false} - service-name: ${CPS_NCMP_SERVICE_NAME:"cps-and-ncmp-service"} \ No newline at end of file + service-name: ${CPS_NCMP_SERVICE_NAME:"cps-and-ncmp-service"} -- cgit 1.2.3-korg