[jboss-jira] [JBoss JIRA] (DROOLS-1288) KieModuleMetaData: Enhance to return a collection of "functions" definitons
Michael Anstis (JIRA)
issues at jboss.org
Thu Sep 15 05:17:02 EDT 2016
Michael Anstis created DROOLS-1288:
--------------------------------------
Summary: KieModuleMetaData: Enhance to return a collection of "functions" definitons
Key: DROOLS-1288
URL: https://issues.jboss.org/browse/DROOLS-1288
Project: Drools
Issue Type: Feature Request
Affects Versions: 7.0.0.Beta1
Reporter: Michael Anstis
Assignee: Edson Tirelli
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