From c029cff59bf9b2105285d7f1539c4a0899b8368d Mon Sep 17 00:00:00 2001 From: zhaoyh6 Date: Sun, 24 Apr 2022 14:21:36 +0800 Subject: Fix the name of SO processing class in Policy A new processing class of SO is added in policy, but the name of the processing class was written incorrectly before. Issue-ID: POLICY-4106 Signed-off-by: zhaoyh6 Change-Id: Ibfea9f56ed8e2fdb87cd2113a477ff4bfaa0af71 --- .../src/main/java/org/onap/policy/controlloop/actor/so/SoActor.java | 2 +- .../src/test/java/org/onap/policy/controlloop/actor/so/SoActorTest.java | 2 +- .../model-actors/actor.so/src/test/resources/service.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'models-interactions') diff --git a/models-interactions/model-actors/actor.so/src/main/java/org/onap/policy/controlloop/actor/so/SoActor.java b/models-interactions/model-actors/actor.so/src/main/java/org/onap/policy/controlloop/actor/so/SoActor.java index f1505ed46..b81704838 100644 --- a/models-interactions/model-actors/actor.so/src/main/java/org/onap/policy/controlloop/actor/so/SoActor.java +++ b/models-interactions/model-actors/actor.so/src/main/java/org/onap/policy/controlloop/actor/so/SoActor.java @@ -39,6 +39,6 @@ public class SoActor extends HttpActor { addOperator(new HttpPollingOperator(NAME, VfModuleCreate.NAME, VfModuleCreate::new)); addOperator(new HttpPollingOperator(NAME, VfModuleDelete.NAME, VfModuleDelete::new)); addOperator(new HttpPollingOperator(NAME, ModifyNssi.NAME, ModifyNssi::new)); - addOperator(new HttpPollingOperator(NAME, ModifyNssi.NAME, ModifyCll::new)); + addOperator(new HttpPollingOperator(NAME, ModifyCll.NAME, ModifyCll::new)); } } diff --git a/models-interactions/model-actors/actor.so/src/test/java/org/onap/policy/controlloop/actor/so/SoActorTest.java b/models-interactions/model-actors/actor.so/src/test/java/org/onap/policy/controlloop/actor/so/SoActorTest.java index 79b9944d3..a06c91817 100644 --- a/models-interactions/model-actors/actor.so/src/test/java/org/onap/policy/controlloop/actor/so/SoActorTest.java +++ b/models-interactions/model-actors/actor.so/src/test/java/org/onap/policy/controlloop/actor/so/SoActorTest.java @@ -37,7 +37,7 @@ public class SoActorTest extends BasicActor { SoActor prov = new SoActor(); // verify that it has the operators we expect - var expected = Arrays.asList(VfModuleCreate.NAME, VfModuleDelete.NAME, ModifyNssi.NAME).stream() + var expected = Arrays.asList(VfModuleCreate.NAME, VfModuleDelete.NAME, ModifyNssi.NAME, ModifyCll.NAME).stream() .sorted().collect(Collectors.toList()); var actual = prov.getOperationNames().stream().sorted().collect(Collectors.toList()); diff --git a/models-interactions/model-actors/actor.so/src/test/resources/service.yaml b/models-interactions/model-actors/actor.so/src/test/resources/service.yaml index 11197e933..63066566e 100644 --- a/models-interactions/model-actors/actor.so/src/test/resources/service.yaml +++ b/models-interactions/model-actors/actor.so/src/test/resources/service.yaml @@ -38,4 +38,4 @@ actors: Modify NSSI: path: 3gppservices/v7/modify ModifyCloudLeasedLine: - path: infra/serviceIntent/v1/modify \ No newline at end of file + path: serviceIntent/v1/modify \ No newline at end of file -- cgit 1.2.3-korg