summaryrefslogtreecommitdiffstats
path: root/models-interactions/model-actors/actor.vfc
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2020-05-31 01:35:16 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-31 01:35:16 +0000
commit6db9b01f854ca687453daf19e3ff65a56a836003 (patch)
tree21f474814fda1c8c53d1f183446871f4752cbdec /models-interactions/model-actors/actor.vfc
parent50b5f7233f63ff6f1f5703885d461d05b0ec3e67 (diff)
parentde514f246459666a87f93796f2027d6a6bf5c738 (diff)
Merge "Made Actor names public"
Diffstat (limited to 'models-interactions/model-actors/actor.vfc')
-rw-r--r--models-interactions/model-actors/actor.vfc/src/main/java/org/onap/policy/controlloop/actor/vfc/VfcActorServiceProvider.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/models-interactions/model-actors/actor.vfc/src/main/java/org/onap/policy/controlloop/actor/vfc/VfcActorServiceProvider.java b/models-interactions/model-actors/actor.vfc/src/main/java/org/onap/policy/controlloop/actor/vfc/VfcActorServiceProvider.java
index b7a41ddf0..5bd6b59ad 100644
--- a/models-interactions/model-actors/actor.vfc/src/main/java/org/onap/policy/controlloop/actor/vfc/VfcActorServiceProvider.java
+++ b/models-interactions/model-actors/actor.vfc/src/main/java/org/onap/policy/controlloop/actor/vfc/VfcActorServiceProvider.java
@@ -42,6 +42,8 @@ public class VfcActorServiceProvider extends ActorImpl {
// Strings for VFC Actor
private static final String VFC_ACTOR = "VFC";
+ public static final String NAME = VFC_ACTOR;
+
// Strings for targets
private static final String TARGET_VM = "VM";
@@ -58,9 +60,9 @@ public class VfcActorServiceProvider extends ActorImpl {
* Constructor.
*/
public VfcActorServiceProvider() {
- super(VFC_ACTOR);
+ super(NAME);
- addOperator(new VfcOperator(VFC_ACTOR, Restart.NAME, Restart::new));
+ addOperator(new VfcOperator(NAME, Restart.NAME, Restart::new));
}
// TODO old code: remove lines down to **HERE**