From 139e8221933f4d72149601900b421921263e2ba3 Mon Sep 17 00:00:00 2001 From: Renu Kumari Date: Mon, 4 Oct 2021 20:59:18 -0400 Subject: Separate ncmp south-bound endpoints in openapi specs - existing ncmp-cps swagger ui shows only northbound endpoints - added cps-ncmp-internal for southbound endpoints Issue-ID: CPS-722 Signed-off-by: Renu Kumari Change-Id: I6917a9c1cf6d033f7ed76f2172113d5e43ac84a7 --- cps-application/src/main/resources/application.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cps-application/src/main/resources') diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 42addf1b0c..6717d4e92b 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -25,6 +25,7 @@ rest: api: cps-base-path: /cps/api ncmp-base-path: /ncmp + ncmp-inventory-base-path: /ncmpInventory spring: main: @@ -93,10 +94,13 @@ springdoc: url: /api-docs/cps-core/openapi.yaml - name: cps-ncmp url: /api-docs/cps-ncmp/openapi.yaml + - name: cps-ncmp-inventory + url: /api-docs/cps-ncmp/openapi-inventory.yaml + security: # comma-separated uri patterns which do not require authorization - permit-uri: /manage/**,/swagger-ui/**,/swagger-resources/**,/api-docs + permit-uri: /manage/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/** auth: username: ${CPS_USERNAME} password: ${CPS_PASSWORD} -- cgit 1.2.3-korg