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 <waqas.ikram@est.tech>
security:
# comma-separated uri patterns which do not require authorization
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}
auth:
username: ${CPS_USERNAME}
password: ${CPS_PASSWORD}
mode:
kubernetes:
enabled: ${HAZELCAST_MODE_KUBERNETES_ENABLED:false}
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"}
Suite Setup Create Session CPS_URL http://${CPS_CORE_HOST}:${CPS_CORE_PORT}
*** Variables ***
Suite Setup Create Session CPS_URL http://${CPS_CORE_HOST}:${CPS_CORE_PORT}
*** Variables ***
-${auth} Basic Y3BzdXNlcjpjcHNyMGNrcyE=
${actuatorPath} /actuator/health
${swaggerPath} /swagger-ui/index.html
${actuatorPath} /actuator/health
${swaggerPath} /swagger-ui/index.html
Test CPS Swagger UI
[Documentation] Runs health check for CPS Swagger UI. If the CPS Swagger URL is accessible, status should be 200.
Test CPS Swagger UI
[Documentation] Runs health check for CPS Swagger UI. If the CPS Swagger URL is accessible, status should be 200.
- ${headers}= Create Dictionary Authorization=${auth}
- GET On Session CPS_URL ${swaggerPath} headers=${headers} expected_status=200
+ GET On Session CPS_URL ${swaggerPath} expected_status=200