From c53ad826391ef385e614b8c4617eb5e424ae11f7 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Wed, 25 Mar 2020 14:22:28 -0400 Subject: Adjust properties for context URI with slash Added a trailing "/" to the context URI for the various actors. Updated the properties to accomodate it. Also fixed the "path" for a couple of actors; the path property only applies at the individual operation level, not at the actor level. Issue-ID: POLICY-2441 Signed-off-by: Jim Hahn Change-Id: I4e8c4cd07de5ac075dbfa56d83116e1e87bdee1c --- .../src/test/resources/config/event-manager.properties | 7 +++---- .../src/test/resources/config/frankfurt-http-client.properties | 2 +- .../src/main/feature/config/GUARD-http-client.properties | 2 +- .../src/main/feature/config/VFC-http-client.properties | 2 +- .../src/main/feature/config/controlloop.properties.environment | 2 +- .../src/main/feature/config/event-manager.properties | 7 +++---- 6 files changed, 10 insertions(+), 12 deletions(-) diff --git a/controlloop/common/controller-frankfurt/src/test/resources/config/event-manager.properties b/controlloop/common/controller-frankfurt/src/test/resources/config/event-manager.properties index 9244fd2ed..3cd8f70a1 100644 --- a/controlloop/common/controller-frankfurt/src/test/resources/config/event-manager.properties +++ b/controlloop/common/controller-frankfurt/src/test/resources/config/event-manager.properties @@ -60,9 +60,8 @@ actor.service.CDS.grpcTimeout=10 actor.service.CDS.operations.xxx.yyy= actor.service.SDNC.clientName=SDNC -actor.service.SDNC.path=/ -actor.service.SDNC.operations.BandwidthOnDemand.placeholder= -actor.service.SDNC.operations.Reroute.placeholder= +actor.service.SDNC.operations.BandwidthOnDemand.path=/ +actor.service.SDNC.operations.Reroute.path=/ actor.service.SDNR.sinkTopic=SDNR-CL actor.service.SDNR.sourceTopic=SDNR-CL-RSP @@ -76,4 +75,4 @@ actor.service.SO.operations.VF\ Module\ Create.path=serviceInstantiation/v7/serv actor.service.SO.operations.VF\ Module\ Delete.path=serviceInstances/v7 actor.service.VFC.clientName=VFC -actor.service.VFC.operations.xxx.yyy= +actor.service.VFC.operations.Restart.path=/ diff --git a/controlloop/common/controller-frankfurt/src/test/resources/config/frankfurt-http-client.properties b/controlloop/common/controller-frankfurt/src/test/resources/config/frankfurt-http-client.properties index bb3a1a02b..afc8772f9 100644 --- a/controlloop/common/controller-frankfurt/src/test/resources/config/frankfurt-http-client.properties +++ b/controlloop/common/controller-frankfurt/src/test/resources/config/frankfurt-http-client.properties @@ -25,7 +25,7 @@ http.client.services.GUARD.host=localhost http.client.services.GUARD.port=6669 http.client.services.GUARD.username=pdpx http.client.services.GUARD.password=pdpx -http.client.services.GUARD.contextUriPath=policy/pdpx/v1 +http.client.services.GUARD.contextUriPath=policy/pdpx/v1/ http.client.services.AAI.managed=true http.client.services.AAI.host=localhost diff --git a/controlloop/common/feature-controlloop-management/src/main/feature/config/GUARD-http-client.properties b/controlloop/common/feature-controlloop-management/src/main/feature/config/GUARD-http-client.properties index 98122f5ee..8772f906e 100644 --- a/controlloop/common/feature-controlloop-management/src/main/feature/config/GUARD-http-client.properties +++ b/controlloop/common/feature-controlloop-management/src/main/feature/config/GUARD-http-client.properties @@ -24,4 +24,4 @@ http.client.services.GUARD.host=${envd:PDP_HOST} http.client.services.GUARD.port=${envd:PDP_PORT} http.client.services.GUARD.username=${envd:PDP_USERNAME} http.client.services.GUARD.password=${envd:PDP_PASSWORD} -http.client.services.GUARD.contextUriPath=${envd:PDP_CONTEXT_URI:policy/pdpx/v1} +http.client.services.GUARD.contextUriPath=${envd:PDP_CONTEXT_URI:policy/pdpx/v1/} diff --git a/controlloop/common/feature-controlloop-management/src/main/feature/config/VFC-http-client.properties b/controlloop/common/feature-controlloop-management/src/main/feature/config/VFC-http-client.properties index f09880763..b4bc9427d 100644 --- a/controlloop/common/feature-controlloop-management/src/main/feature/config/VFC-http-client.properties +++ b/controlloop/common/feature-controlloop-management/src/main/feature/config/VFC-http-client.properties @@ -24,4 +24,4 @@ http.client.services.VFC.host=${envd:VFC_HOST} http.client.services.VFC.port=${envd:VFC_PORT} http.client.services.VFC.username=${envd:VFC_USERNAME} http.client.services.VFC.password=${envd:VFC_PASSWORD} -http.client.services.VFC.contextUriPath=${envd:VFC_CONTEXT_URI:api/nslcm/v1} +http.client.services.VFC.contextUriPath=${envd:VFC_CONTEXT_URI:api/nslcm/v1/} diff --git a/controlloop/common/feature-controlloop-management/src/main/feature/config/controlloop.properties.environment b/controlloop/common/feature-controlloop-management/src/main/feature/config/controlloop.properties.environment index 18e7c936f..fdd8d421e 100644 --- a/controlloop/common/feature-controlloop-management/src/main/feature/config/controlloop.properties.environment +++ b/controlloop/common/feature-controlloop-management/src/main/feature/config/controlloop.properties.environment @@ -43,7 +43,7 @@ pdpx.host=${envd:PDP_HOST} pdpx.username=${envd:PDP_USERNAME} pdpx.password=${envd:PDP_PASSWORD} -guard.url=https://${envd:PDP_HOST}:${envd:PDP_PORT:443}/${envd:PDP_CONTEXT_URI}/decision +guard.url=https://${envd:PDP_HOST}:${envd:PDP_PORT:443}/${envd:PDP_CONTEXT_URI}decision guard.jdbc.url=jdbc:mariadb://${envd:SQL_HOST}:3306/operationshistory guard.disabled=false diff --git a/controlloop/common/feature-controlloop-management/src/main/feature/config/event-manager.properties b/controlloop/common/feature-controlloop-management/src/main/feature/config/event-manager.properties index 21476847f..a578da85a 100644 --- a/controlloop/common/feature-controlloop-management/src/main/feature/config/event-manager.properties +++ b/controlloop/common/feature-controlloop-management/src/main/feature/config/event-manager.properties @@ -61,9 +61,8 @@ actor.service.CDS.grpcTimeout=10 actor.service.CDS.operations.gRPC.placeholder= actor.service.SDNC.clientName=SDNC -actor.service.SDNC.path= -actor.service.SDNC.operations.Reroute.placeholder= -actor.service.SDNC.operations.BandwidthOnDemand.placeholder= +actor.service.SDNC.operations.Reroute.path=/ +actor.service.SDNC.operations.BandwidthOnDemand.path=/ actor.service.SDNR.sinkTopic=SDNR-CL actor.service.SDNR.sourceTopic=SDNR-CL-RSP @@ -77,4 +76,4 @@ actor.service.SO.operations.VF\ Module\ Create.path=serviceInstantiation/v7/serv actor.service.SO.operations.VF\ Module\ Delete.path=serviceInstances/v7 actor.service.VFC.clientName=VFC -actor.service.VFC.operations.Restart.path= +actor.service.VFC.operations.Restart.path=/ -- cgit 1.2.3-korg