Hi Jorge, I see that invoke from drools-applications repo. But I don't understand why the detail code inside drools policy should be exposed to drools rule writers. can you enlighten me on this? Thanks.
On Tue, Apr 25, 2017 at 3:17 PM, HERNANDEZ-HERRERO, JORGE <jh1730 at att.com> wrote: > 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:onap-discuss-bounces@ > lists.onap.org] *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 > > _______________________________________________ > onap-discuss mailing list > onap-discuss at lists.onap.org > https://lists.onap.org/mailman/listinfo/onap-discuss > > -- Regards! Zhang, Jingjing -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/8e27fdf7/attachment.html>
