diff options
author | zhaoyh6 <zhaoyh6@asiainfo.com> | 2022-04-24 14:21:36 +0800 |
---|---|---|
committer | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2022-04-27 15:22:05 +0000 |
commit | c029cff59bf9b2105285d7f1539c4a0899b8368d (patch) | |
tree | caaa8194f7082d8265af2797913a998bfb0bf1c9 /models-interactions | |
parent | 8f36fa6eb32fb955e6668edb2039bf33860bf8a2 (diff) |
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 <zhaoyh6@asiainfo.com>
Change-Id: Ibfea9f56ed8e2fdb87cd2113a477ff4bfaa0af71
Diffstat (limited to 'models-interactions')
3 files changed, 3 insertions, 3 deletions
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<HttpPollingActorParams> { 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 |