diff options
author | Jim Hahn <jrh3@att.com> | 2020-07-02 09:30:52 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-07-02 12:49:44 -0400 |
commit | c6012167b9692eb38bcb479f233543e93c51c998 (patch) | |
tree | 7a2a590eb659cd036f8815de9ce894e6099cf92b /models-interactions/model-actors/actor.guard/src/main | |
parent | e7ba97a66db5c0a45626aff62f9a167f88da62c1 (diff) |
Rename XxxActorServiceProvider to XxxActor
Renamed the actors and their test classes.
Addressed review comments:
- some license dates
Issue-ID: POLICY-2684
Change-Id: Ic9d83e146ef36bb305496d541166cb9f80544025
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-interactions/model-actors/actor.guard/src/main')
-rw-r--r-- | models-interactions/model-actors/actor.guard/src/main/java/org/onap/policy/controlloop/actor/guard/GuardActor.java (renamed from models-interactions/model-actors/actor.guard/src/main/java/org/onap/policy/controlloop/actor/guard/GuardActorServiceProvider.java) | 6 | ||||
-rw-r--r-- | models-interactions/model-actors/actor.guard/src/main/resources/META-INF/services/org.onap.policy.controlloop.actorserviceprovider.spi.Actor | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/models-interactions/model-actors/actor.guard/src/main/java/org/onap/policy/controlloop/actor/guard/GuardActorServiceProvider.java b/models-interactions/model-actors/actor.guard/src/main/java/org/onap/policy/controlloop/actor/guard/GuardActor.java index 1cf09d399..59b509291 100644 --- a/models-interactions/model-actors/actor.guard/src/main/java/org/onap/policy/controlloop/actor/guard/GuardActorServiceProvider.java +++ b/models-interactions/model-actors/actor.guard/src/main/java/org/onap/policy/controlloop/actor/guard/GuardActor.java @@ -1,6 +1,6 @@ /*- * ============LICENSE_START======================================================= - * SdncActorServiceProvider + * ONAP * ================================================================================ * Copyright (C) 2018-2019 Huawei Intellectual Property. All rights reserved. * Modifications Copyright (C) 2019 Nordix Foundation. @@ -25,14 +25,14 @@ package org.onap.policy.controlloop.actor.guard; import org.onap.policy.controlloop.actorserviceprovider.impl.HttpActor; import org.onap.policy.controlloop.actorserviceprovider.impl.OperationPartial; -public class GuardActorServiceProvider extends HttpActor<GuardActorParams> { +public class GuardActor extends HttpActor<GuardActorParams> { // actor name public static final String NAME = OperationPartial.GUARD_ACTOR_NAME; /** * Constructs the object. */ - public GuardActorServiceProvider() { + public GuardActor() { super(NAME, GuardActorParams.class); addOperator(new DecisionOperator(NAME, DecisionOperation.NAME, DecisionOperation::new)); diff --git a/models-interactions/model-actors/actor.guard/src/main/resources/META-INF/services/org.onap.policy.controlloop.actorserviceprovider.spi.Actor b/models-interactions/model-actors/actor.guard/src/main/resources/META-INF/services/org.onap.policy.controlloop.actorserviceprovider.spi.Actor index dd4368504..16d7591fa 100644 --- a/models-interactions/model-actors/actor.guard/src/main/resources/META-INF/services/org.onap.policy.controlloop.actorserviceprovider.spi.Actor +++ b/models-interactions/model-actors/actor.guard/src/main/resources/META-INF/services/org.onap.policy.controlloop.actorserviceprovider.spi.Actor @@ -1 +1 @@ -org.onap.policy.controlloop.actor.guard.GuardActorServiceProvider +org.onap.policy.controlloop.actor.guard.GuardActor |