aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/controller-usecases/src/main
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-11-20 13:28:27 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-20 13:28:27 +0000
commit022405974f42fc183d8de46a603a1049dfb2ee15 (patch)
treee34c31c1233a1dfcf4771ca2de1b233f9b84d0f9 /controlloop/common/controller-usecases/src/main
parent03c9f7be0e81f39f71c5ba87a77448a726db06db (diff)
parent3d776b9d24b73b366b2f1e70b6c536e4d2705202 (diff)
Merge "Delete preprocessed flag from actors"
Diffstat (limited to 'controlloop/common/controller-usecases/src/main')
-rw-r--r--controlloop/common/controller-usecases/src/main/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManager.java1
-rw-r--r--controlloop/common/controller-usecases/src/main/resources/usecases.drl2
2 files changed, 1 insertions, 2 deletions
diff --git a/controlloop/common/controller-usecases/src/main/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManager.java b/controlloop/common/controller-usecases/src/main/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManager.java
index 091b26b2d..0649f1882 100644
--- a/controlloop/common/controller-usecases/src/main/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManager.java
+++ b/controlloop/common/controller-usecases/src/main/java/org/onap/policy/drools/apps/controller/usecases/UsecasesEventManager.java
@@ -338,7 +338,6 @@ public class UsecasesEventManager extends ControlLoopEventManager implements Ste
.actor(actor.getActor())
.operation(actor.getOperation())
.requestId(event.getRequestId())
- .preprocessed(true)
.executor(getExecutor())
.retry(policy.getRetries())
.timeoutSec(policy.getTimeout())
diff --git a/controlloop/common/controller-usecases/src/main/resources/usecases.drl b/controlloop/common/controller-usecases/src/main/resources/usecases.drl
index 12c9849f9..578bd9ca4 100644
--- a/controlloop/common/controller-usecases/src/main/resources/usecases.drl
+++ b/controlloop/common/controller-usecases/src/main/resources/usecases.drl
@@ -395,7 +395,7 @@ rule "EVENT.MANAGER.EXECUTE.STEP"
if (guardDisabled && "GUARD".equals($step.getActorName())) {
// guard is disabled - just enqueue a "SUCCESS" (i.e., "Permit")
- OperationOutcome outcome = $step.getParams().makeOutcome();
+ OperationOutcome outcome = $step.getParams().makeOutcome(null);
outcome.setStart(Instant.now());
outcome.setEnd(outcome.getStart());