-
Feature Request
-
Resolution: Done
-
Critical
-
Kogito Tooling 0.6.0
-
5
-
2020 Week 28-30 (from Jul 6), 2020 Week 31-33 (from Jul 27)
The scope of this feature request is to enable PMML file imports inside DMN Editor, in a similar way we import external DMN files.
Expected functionalities are:
- A PMML file can be linked to a DMN file using "Included Model" tab. Pressing Include Model button, a popup with a selection box containing all PMML and DMN files inside the same directory of the opened DMN file should appear.
- After adding the PMML file, a new Box should appean inside "Included Model" tab, containing file name and given import name by the user.
The number represents the number of models inside the PMML file. This is currently set to ZERO in any case, because is a temporary mocked data. To have the real data, we need the PMML marshaller (https://issues.redhat.com/browse/KOGITO-2895) - Saving a DMN file after linking a PMML files will result to:
- Have a new import entry inside .dmn file
<dmn:import id="_AC634F87-C318-454B-9BA2-284ED4629E80" name="test-pmml" namespace="test-pmml" locationURI="test.pmml" importType="http://www.dmg.org/PMML-4_3"/>
- Closing and reopening the file, the PMML linked file should be present.
NOT MANAGED PART:
- Number of models are currently mocked. It will be managed in this ticket https://issues.redhat.com/browse/KOGITO-2895.
- Not possible to use a linked PMML file inside the editor. This ticket enables linking only. Usage of the PMML file will be managed here: https://issues.redhat.com/browse/KOGITO-2896
- If a linked file is deleted, there is no explicit warning shown by editor. This will be managed in this ticket: https://issues.redhat.com/browse/KOGITO-2382
- is related to
-
KOGITO-2382 [DMN Designer] Show a message when an included model can not be found
- Open