aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-03-27 17:59:07 -0400
committerJim Hahn <jrh3@att.com>2020-03-30 08:52:31 -0400
commitba08880be9f3164bcad11f8daf995bb70e76f3af (patch)
tree7391c9a82320b759b499e17da40cfb4455c52496
parent559b454fa777f2e2551eb82b7c7535037cbc60f4 (diff)
Update path properties for new actors
Some of the new actors were modified to get their path prefixes from the property files. In addition, the models code was modified to allow an empty "path", so that is now used, where appropriate. Issue-ID: POLICY-2441 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I4573c5e2a506fb67be9bd040ce047612007fd969 Signed-off-by: Jim Hahn <jrh3@att.com>
-rw-r--r--controlloop/common/controller-frankfurt/src/test/resources/config/event-manager.properties9
-rw-r--r--controlloop/common/feature-controlloop-management/src/main/feature/config/event-manager.properties9
2 files changed, 12 insertions, 6 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 3cd8f70a1..e5bd83c92 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,8 +60,10 @@ actor.service.CDS.grpcTimeout=10
actor.service.CDS.operations.xxx.yyy=
actor.service.SDNC.clientName=SDNC
-actor.service.SDNC.operations.BandwidthOnDemand.path=/
-actor.service.SDNC.operations.Reroute.path=/
+actor.service.SDNC.operations.BandwidthOnDemand.path=\
+ GENERIC-RESOURCE-API:vf-module-topology-operation
+actor.service.SDNC.operations.Reroute.path=\
+ GENERIC-RESOURCE-API:network-topology-operation
actor.service.SDNR.sinkTopic=SDNR-CL
actor.service.SDNR.sourceTopic=SDNR-CL-RSP
@@ -75,4 +77,5 @@ 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.pathGet=jobs
+actor.service.VFC.operations.Restart.path=ns
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 a578da85a..6f925314e 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,8 +61,10 @@ actor.service.CDS.grpcTimeout=10
actor.service.CDS.operations.gRPC.placeholder=
actor.service.SDNC.clientName=SDNC
-actor.service.SDNC.operations.Reroute.path=/
-actor.service.SDNC.operations.BandwidthOnDemand.path=/
+actor.service.SDNC.operations.BandwidthOnDemand.path=\
+ GENERIC-RESOURCE-API:vf-module-topology-operation
+actor.service.SDNC.operations.Reroute.path=\
+ GENERIC-RESOURCE-API:network-topology-operation
actor.service.SDNR.sinkTopic=SDNR-CL
actor.service.SDNR.sourceTopic=SDNR-CL-RSP
@@ -76,4 +78,5 @@ 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.pathGet=jobs
+actor.service.VFC.operations.Restart.path=ns