-
Feature Request
-
Resolution: Obsolete
-
Minor
-
None
-
7.0.0.Beta1
-
None
-
NEW
-
NEW
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.