diff options
author | Jim Hahn <jrh3@att.com> | 2020-11-20 11:47:02 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-11-20 11:48:29 -0500 |
commit | 74332b54731f535624a6a7ddb27bb048cc36c95e (patch) | |
tree | 337f83f21e68abc3afc331da20887b0b16412f15 /controlloop/common/controller-usecases/src | |
parent | 022405974f42fc183d8de46a603a1049dfb2ee15 (diff) |
Use Params makeOutcome() without targetEntity
Planning to remove the second flavor of makeOutcome() from the Params,
so modifying the drools-apps code to work with the first flavor.
Issue-ID: POLICY-2804
Change-Id: Iddb288f7cf53e93919e77aca8afe3869fadb0d37
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/common/controller-usecases/src')
-rw-r--r-- | controlloop/common/controller-usecases/src/main/resources/usecases.drl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controlloop/common/controller-usecases/src/main/resources/usecases.drl b/controlloop/common/controller-usecases/src/main/resources/usecases.drl index 578bd9ca4..12c9849f9 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(null); + OperationOutcome outcome = $step.getParams().makeOutcome(); outcome.setStart(Instant.now()); outcome.setEnd(outcome.getStart()); |