Fix the name of SO processing class in Policy 07/128807/6
authorzhaoyh6 <zhaoyh6@asiainfo.com>
Sun, 24 Apr 2022 06:21:36 +0000 (14:21 +0800)
committerJorge Hernandez <jorge.hernandez-herrero@att.com>
Wed, 27 Apr 2022 15:22:05 +0000 (15:22 +0000)
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

models-interactions/model-actors/actor.so/src/main/java/org/onap/policy/controlloop/actor/so/SoActor.java
models-interactions/model-actors/actor.so/src/test/java/org/onap/policy/controlloop/actor/so/SoActorTest.java
models-interactions/model-actors/actor.so/src/test/resources/service.yaml

index f1505ed..b817048 100644 (file)
@@ -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));
     }
 }
index 79b9944..a06c918 100644 (file)
@@ -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());
 
index 11197e9..6306656 100644 (file)
@@ -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