summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--csit/tests/actuator/actuator.robot4
-rw-r--r--src/main/resources/application.yml4
2 files changed, 3 insertions, 5 deletions
diff --git a/csit/tests/actuator/actuator.robot b/csit/tests/actuator/actuator.robot
index 21ea2df0..9ca3d6f5 100644
--- a/csit/tests/actuator/actuator.robot
+++ b/csit/tests/actuator/actuator.robot
@@ -25,7 +25,6 @@ Library RequestsLibrary
Suite Setup Create Session DMI_URL http://${DMI_HOST}:${DMI_PORT}
*** Variables ***
-${auth} Basic Y3BzdXNlcjpjcHNyMGNrcyE=
${actuatorPath} /actuator/health
${swaggerPath} /swagger-ui/index.html
@@ -40,5 +39,4 @@ Test DMI Enhanced Healthcheck
Test DMI Swagger UI
[Documentation] Runs health check for DMI Swagger UI. If the DMI Swagger URL is accessible, status should be 200.
- ${headers}= Create Dictionary Authorization=${auth}
- GET On Session DMI_URL ${swaggerPath} headers=${headers} expected_status=200
+ GET On Session DMI_URL ${swaggerPath} expected_status=200
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