[jboss-jira] [JBoss JIRA] (DROOLS-1288) KieModuleMetaData: Enhance to return a collection of "function" definitons
Edson Tirelli (JIRA)
issues at jboss.org
Tue Sep 20 13:48:00 EDT 2016
[ https://issues.jboss.org/browse/DROOLS-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edson Tirelli updated DROOLS-1288:
----------------------------------
Component/s: core engine
> KieModuleMetaData: Enhance to return a collection of "function" definitons
> --------------------------------------------------------------------------
>
> Key: DROOLS-1288
> URL: https://issues.jboss.org/browse/DROOLS-1288
> Project: Drools
> Issue Type: Feature Request
> Components: core engine
> Affects Versions: 7.0.0.Beta1
> Reporter: Michael Anstis
> Assignee: Mario Fusco
> Priority: Minor
>
> Functions used in DRL need to be in the same file as the DRL using them; otherwise they need to be imported. Guvnor 5.x built a single {{String}} containing the definition of *all* assets in a project to {{PackageBuilder}} (IIRC) so all functions were always in the same file as any consuming DRL.
> In 6.x we add individual files to {{KieBuilder}} and hence functions are (more than likely) in different files to the DRL using them. Classes used by a specific file need to be imported (if they are not in the same package). Functions will now also need to be imported.
> This request is to enhance {{KieModuleMetaData}} to return a collection of functions so that we can populate these in the {{DataModelOracle}} passed to the client and used to drive the "Import Data Object" screen on editors. We'd need to enhance the DMO and related "import" screens to handle functions. [~nheron] is to raise a GUVNOR JIRA for such enhancement.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list