summaryrefslogtreecommitdiffstats
path: root/models-interactions
diff options
context:
space:
mode:
authorVidyashree Rama <vidyashree.rama@huawei.com>2019-05-16 10:46:03 +0530
committerVidyashree Rama <vidyashree.rama@huawei.com>2019-05-16 10:46:03 +0530
commit0ae55ffc3f39511c9a0a0e7076d0769c05be51c5 (patch)
treeac4bc554dc88626c2a62d34a611ab5c49fbb14d5 /models-interactions
parentc328f102536b3dcc8865337668982202ec4794b1 (diff)
Incorrect SDNC API called for CCVPN Bandwidth on demand policy
Incorrect SDNC API called for CCVPN Bandwidth on demand policy Issue-ID: POLICY-1774 Change-Id: I6a8f2fa57aef6d5a4d5c679dfb96fe4160e55da5 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
Diffstat (limited to 'models-interactions')
-rw-r--r--models-interactions/model-actors/actor.sdnc/src/main/java/org/onap/policy/controlloop/actor/sdnc/SdncActorServiceProvider.java2
-rw-r--r--models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/SdncSimulatorJaxRs.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/models-interactions/model-actors/actor.sdnc/src/main/java/org/onap/policy/controlloop/actor/sdnc/SdncActorServiceProvider.java b/models-interactions/model-actors/actor.sdnc/src/main/java/org/onap/policy/controlloop/actor/sdnc/SdncActorServiceProvider.java
index 0a091c581..3f850f21f 100644
--- a/models-interactions/model-actors/actor.sdnc/src/main/java/org/onap/policy/controlloop/actor/sdnc/SdncActorServiceProvider.java
+++ b/models-interactions/model-actors/actor.sdnc/src/main/java/org/onap/policy/controlloop/actor/sdnc/SdncActorServiceProvider.java
@@ -141,7 +141,7 @@ public class SdncActorServiceProvider implements Actor {
SdncRequest request = new SdncRequest();
request.setNsInstanceId(serviceInstance);
request.setRequestId(onset.getRequestId());
- request.setUrl("/GENERIC-RESOURCE-API:vnf-topology-operation");
+ request.setUrl("/GENERIC-RESOURCE-API:vf-module-topology-operation");
SdncHealVnfInfo vnfInfo = new SdncHealVnfInfo();
vnfInfo.setVnfId(onset.getAai().get("vnfId"));
diff --git a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/SdncSimulatorJaxRs.java b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/SdncSimulatorJaxRs.java
index 72106ff52..acee6fdcd 100644
--- a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/SdncSimulatorJaxRs.java
+++ b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/SdncSimulatorJaxRs.java
@@ -59,12 +59,12 @@ public class SdncSimulatorJaxRs {
/**
- * SDNC vnf topology operation.
+ * SDNC vf module topology operation.
*
* @return the response
*/
@POST
- @Path("/GENERIC-RESOURCE-API:vnf-topology-operation")
+ @Path("/GENERIC-RESOURCE-API:vf-module-topology-operation")
@Consumes(MediaType.APPLICATION_JSON)
@Produces("application/json")
public String sdncVnfTopologyOperation() {