From 0a68d55a396912d9a525eebcf0ad88f9c40776ce Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Mon, 24 Feb 2020 14:37:53 -0500 Subject: Move CQ operation name from actor.aai to aai Issue-ID: POLICY-2385 Signed-off-by: Jim Hahn Change-Id: I12a7d55b118baa5f0f849855fbcf0602a1208b52 --- .../org/onap/policy/controlloop/actor/appc/ModifyConfigOperation.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'models-interactions/model-actors/actor.appc/src/main') diff --git a/models-interactions/model-actors/actor.appc/src/main/java/org/onap/policy/controlloop/actor/appc/ModifyConfigOperation.java b/models-interactions/model-actors/actor.appc/src/main/java/org/onap/policy/controlloop/actor/appc/ModifyConfigOperation.java index b88be4472..a318444aa 100644 --- a/models-interactions/model-actors/actor.appc/src/main/java/org/onap/policy/controlloop/actor/appc/ModifyConfigOperation.java +++ b/models-interactions/model-actors/actor.appc/src/main/java/org/onap/policy/controlloop/actor/appc/ModifyConfigOperation.java @@ -25,7 +25,6 @@ import org.onap.aai.domain.yang.GenericVnf; import org.onap.policy.aai.AaiConstants; import org.onap.policy.aai.AaiCqResponse; import org.onap.policy.appc.Request; -import org.onap.policy.controlloop.actor.aai.AaiCustomQueryOperation; import org.onap.policy.controlloop.actorserviceprovider.OperationOutcome; import org.onap.policy.controlloop.actorserviceprovider.parameters.BidirectionalTopicConfig; import org.onap.policy.controlloop.actorserviceprovider.parameters.ControlLoopOperationParams; @@ -54,7 +53,7 @@ public class ModifyConfigOperation extends AppcOperation { @SuppressWarnings("unchecked") protected CompletableFuture startPreprocessorAsync() { ControlLoopOperationParams cqParams = params.toBuilder().actor(AaiConstants.ACTOR_NAME) - .operation(AaiCustomQueryOperation.NAME).payload(null).retry(null).timeoutSec(null).build(); + .operation(AaiCqResponse.OPERATION).payload(null).retry(null).timeoutSec(null).build(); // run Custom Query and Guard, in parallel return allOf(() -> params.getContext().obtain(AaiCqResponse.CONTEXT_KEY, cqParams), this::startGuardAsync); -- cgit 1.2.3-korg