diff options
author | Peyton Puckett <pp5762@att.com> | 2020-03-02 16:02:07 -0600 |
---|---|---|
committer | Peyton Puckett <peyton.puckett@att.com> | 2020-03-05 07:42:58 -0600 |
commit | efafe30feec4864cd325bcb36bff6a7cd9dd4e5e (patch) | |
tree | a8d59152a2fb74b33b873d7e17c39dcf4271132e /models-interactions/model-actors/actor.appc | |
parent | 958fc6626f14e4101f0101d7c3bc75793aefa754 (diff) |
Add APPC-LCM actor
Issue-ID: POLICY-2403
Change-Id: Ia7b26cce9ec8308c3d83c374e5ac6aea3af38a1d
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
Diffstat (limited to 'models-interactions/model-actors/actor.appc')
2 files changed, 1 insertions, 10 deletions
diff --git a/models-interactions/model-actors/actor.appc/src/main/java/org/onap/policy/controlloop/actor/appc/AppcActorServiceProvider.java b/models-interactions/model-actors/actor.appc/src/main/java/org/onap/policy/controlloop/actor/appc/AppcActorServiceProvider.java index 117bd5c86..0a03957ec 100644 --- a/models-interactions/model-actors/actor.appc/src/main/java/org/onap/policy/controlloop/actor/appc/AppcActorServiceProvider.java +++ b/models-interactions/model-actors/actor.appc/src/main/java/org/onap/policy/controlloop/actor/appc/AppcActorServiceProvider.java @@ -81,15 +81,6 @@ public class AppcActorServiceProvider extends BidirectionalTopicActor<Bidirectio ModifyConfigOperation::new)); } - /** - * This actor should take precedence over APPC-LCM. - */ - @Override - public int getSequenceNumber() { - return -1; - } - - // TODO old code: remove lines down to **HERE** @Override diff --git a/models-interactions/model-actors/actor.appc/src/test/java/org/onap/policy/controlloop/actor/appc/AppcServiceProviderTest.java b/models-interactions/model-actors/actor.appc/src/test/java/org/onap/policy/controlloop/actor/appc/AppcServiceProviderTest.java index a2bf018b3..068f0b5a1 100644 --- a/models-interactions/model-actors/actor.appc/src/test/java/org/onap/policy/controlloop/actor/appc/AppcServiceProviderTest.java +++ b/models-interactions/model-actors/actor.appc/src/test/java/org/onap/policy/controlloop/actor/appc/AppcServiceProviderTest.java @@ -133,7 +133,7 @@ public class AppcServiceProviderTest extends BasicActor { @Test public void testConstructor() { AppcActorServiceProvider prov = new AppcActorServiceProvider(); - assertEquals(-1, prov.getSequenceNumber()); + assertEquals(0, prov.getSequenceNumber()); // verify that it has the operators we expect var expected = Arrays.asList(ModifyConfigOperation.NAME).stream().sorted().collect(Collectors.toList()); |