Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1288

KieModuleMetaData: Enhance to return a collection of "function" definitons

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 7.0.0.Beta1
    • core engine
    • 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.

              mfusco@redhat.com Mario Fusco
              manstis@redhat.com Michael Anstis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: