From 04ffc88f07fbe45463de3ea4f3c240cdbf223c07 Mon Sep 17 00:00:00 2001 From: "waqas.ikram" Date: Thu, 25 Jan 2024 12:03:26 +0000 Subject: Omitting the basic auth header in healthcheck test as it is not required and adding v3 to uri of api-docs plus allowing swagger-ui.html to be access as well Issue-ID: CPS-2045 Change-Id: Ia254e718a28d58578b8b0dcbf2abd8f7ef1c0e1d Signed-off-by: waqas.ikram --- src/main/resources/application.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index d2b53071..732f46db 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -30,7 +30,7 @@ rest: dmi-base-path: /dmi security: - permit-uri: /actuator/**,/swagger-ui/**,/swagger-resources/**,/v3/api-docs + permit-uri: /actuator/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/**,/v3/api-docs/** auth: username: ${DMI_USERNAME} password: ${DMI_PASSWORD} @@ -125,4 +125,4 @@ springdoc: urlsPrimaryName: query urls: - name: query - url: /api-docs/openapi.yaml \ No newline at end of file + url: /api-docs/openapi.yaml -- cgit 1.2.3-korg