The drools based ?policies? are stateful, and built around drools technology drl + java helpers. The PolicyEngine.manager.deliver() is typically invoked from the .drl. For example the vFW and vDNS flows, see the .drl in the policy/drools-applications repo, will invoke it.
Best regards, Jorge From: onap-discuss-bounces at lists.onap.org [mailto:[email protected]] On Behalf Of Jingjing Zhang Sent: Tuesday, April 25, 2017 10:35 AM To: onap-discuss at lists.onap.org Subject: [onap-discuss] [Policy] Drools notify its decisions to outside world To my understanding, after drools policy engine make a decision, it should send out the decision to the message bus and further delivered to external systems. I think the order is PdpJmx.ruleFired -> PolicySession.afterMatchFired->MavenDroolsController.deliver->policyEngine.manager.deliver(). However, I didn't see the sequence happening. So, how does the decision being propagated throughout the system? -- Regards! Zhang, Jingjing -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/d355b7cc/attachment.html>
