[jboss-jira] [JBoss JIRA] (DROOLS-4200) Design and implement new DataSources API

Mario Fusco (Jira) issues at jboss.org
Wed Jul 3 04:09:00 EDT 2019


    [ https://issues.jboss.org/browse/DROOLS-4200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13755101#comment-13755101 ] 

Mario Fusco commented on DROOLS-4200:
-------------------------------------

Partially implemented by https://github.com/kiegroup/kogito-runtimes/commit/c2415cbaaf3c2ebc32911a6275e98cd13b125cb4

It is still outstanding the implementation of FH in the DataStore (cannot be the FH returned by the session because 1. the store couldn't be yet linked to any session and 2. the store could be used by multiple units/sessions)

> Design and implement new DataSources API
> ----------------------------------------
>
>                 Key: DROOLS-4200
>                 URL: https://issues.jboss.org/browse/DROOLS-4200
>             Project: Drools
>          Issue Type: Task
>          Components: core engine
>            Reporter: Mario Fusco
>            Assignee: Mario Fusco
>            Priority: Major
>
> We need 2 distinct DataSources:
> * DataStream with only an append operation
> * DataStore with all 3 WMA operations (has to return a FH)
> Each RuleUnit will have a mailbox. When a RuleUnit is executed for the first time all data in its DataSources are flushed into its mailbox (wrapped in Commands). Then, when the RuleUnit is quiescent, it remains subscribed to its DataSources so that all new operation performed on them get also automatically flushed into its mailbox. 



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list