diff options
Diffstat (limited to 'controlloop/common/controller-frankfurt/src/main/resources')
-rw-r--r-- | controlloop/common/controller-frankfurt/src/main/resources/frankfurt.drl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/controlloop/common/controller-frankfurt/src/main/resources/frankfurt.drl b/controlloop/common/controller-frankfurt/src/main/resources/frankfurt.drl index 00c4f5f10..f54786da9 100644 --- a/controlloop/common/controller-frankfurt/src/main/resources/frankfurt.drl +++ b/controlloop/common/controller-frankfurt/src/main/resources/frankfurt.drl @@ -243,6 +243,20 @@ rule "EVENT.MANAGER.PROCESSING" $manager, e); } // + // Generate Response notification + // + try { + ControlLoopResponse clResponse = $manager.getControlLoopResponse(); + if (clResponse != null) { + PolicyEngineConstants.getManager().deliver("DCAE_CL_RSP", clResponse); + } + + } catch(RuntimeException e) { + logger.warn("{}: {}.{}: manager={} exception generating Response notification", + $manager.getClosedLoopControlName(), $manager.getPolicyName(), drools.getRule().getName(), + $manager, e); + } + // // Discard this message and wait for the next response. // $manager.nextStep(); |