diff options
author | Jim Hahn <jrh3@att.com> | 2020-08-31 20:53:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-08-31 20:53:44 +0000 |
commit | a588736799d94747f70ed648d3d821210993c5c4 (patch) | |
tree | f54ea646db61861985fe6ae87b76d87e8a9369a2 /controlloop/common/controller-frankfurt | |
parent | 1c5cb8a0d740ccd92d2b3fdce8eb192cd20b147f (diff) | |
parent | a6d4077e3639a0f3478f0cbf51e06ef46517a10d (diff) |
Merge "Add tdjam-controller"
Diffstat (limited to 'controlloop/common/controller-frankfurt')
-rw-r--r-- | controlloop/common/controller-frankfurt/src/main/resources/frankfurt.drl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/controlloop/common/controller-frankfurt/src/main/resources/frankfurt.drl b/controlloop/common/controller-frankfurt/src/main/resources/frankfurt.drl index 9723cec43..8169e1cdc 100644 --- a/controlloop/common/controller-frankfurt/src/main/resources/frankfurt.drl +++ b/controlloop/common/controller-frankfurt/src/main/resources/frankfurt.drl @@ -25,7 +25,7 @@ import org.onap.policy.controlloop.CanonicalOnset; import org.onap.policy.controlloop.VirtualControlLoopEvent; import org.onap.policy.controlloop.VirtualControlLoopNotification; import org.onap.policy.controlloop.ControlLoopNotificationType; -import org.onap.policy.controlloop.eventmanager.ControlLoopEventManager2; +import org.onap.policy.controlloop.eventmanager.ControlLoopEventManager2Drools; import org.onap.policy.controlloop.eventmanager.ControlLoopEventManager2.NewEventStatus; import org.onap.policy.controlloop.eventmanager.ControlLoopOperationManager2; import org.onap.policy.controlloop.utils.ControlLoopUtils; @@ -98,7 +98,7 @@ rule "EVENT" when $params : ControlLoopParams( $clName : getClosedLoopControlName() ) $event : CanonicalOnset( closedLoopControlName == $clName ) - not ( ControlLoopEventManager2( closedLoopControlName == $event.getClosedLoopControlName(), + not ( ControlLoopEventManager2Drools( closedLoopControlName == $event.getClosedLoopControlName(), getContext().getEvent() == $event ) ) then @@ -116,7 +116,7 @@ rule "EVENT" try { // // Check the event, because we need it to not be null when - // we create the ControlLoopEventManager2. The ControlLoopEventManager2 + // we create the ControlLoopEventManager2Drools. The ControlLoopEventManager2Drools // will do extra syntax checking as well as check if the closed loop is disabled. // if ($event.getRequestId() == null) { @@ -129,7 +129,7 @@ rule "EVENT" notification.setPolicyVersion($params.getPolicyVersion()); } else { - ControlLoopEventManager2 manager = new ControlLoopEventManager2($params, $event, drools.getWorkingMemory()); + ControlLoopEventManager2Drools manager = new ControlLoopEventManager2Drools($params, $event, drools.getWorkingMemory()); insert(manager); try { manager.start(); @@ -171,7 +171,7 @@ end rule "EVENT.MANAGER.NEW.EVENT" when $event : VirtualControlLoopEvent( ) - $manager : ControlLoopEventManager2( closedLoopControlName == $event.getClosedLoopControlName(), + $manager : ControlLoopEventManager2Drools( closedLoopControlName == $event.getClosedLoopControlName(), getContext().getEvent() == $event ) then @@ -224,7 +224,7 @@ end */ rule "EVENT.MANAGER.PROCESSING" when - $manager : ControlLoopEventManager2( isUpdated(), isActive(), $notification : getNotification() ) + $manager : ControlLoopEventManager2Drools( isUpdated(), isActive(), $notification : getNotification() ) then Logger logger = LoggerFactory.getLogger(drools.getRule().getPackage()); @@ -271,7 +271,7 @@ end */ rule "EVENT.MANAGER.FINAL" when - $manager : ControlLoopEventManager2( !isActive(), $notification : getNotification() ) + $manager : ControlLoopEventManager2Drools( !isActive(), $notification : getNotification() ) then Logger logger = LoggerFactory.getLogger(drools.getRule().getPackage()); |