]
Edson Tirelli commented on DROOLS-4042:
---------------------------------------
[~jomarko] looks good, but a few more things to test:
* included model aliases must be unique (doesn't matter if they are DMN or PMML
includes)
* if the PMML file contains no "named" model (only an anonymous one), the UI
should indicate that this model is being used (how to indicate that I leave to UX, but we
can call it "default model" or whatever). I
[~manstis] is it possible to automatically update the document attribute on function
definitions when a PMML model is renamed? I know it is something we don't do at the
moment, but it would be nice if we could.
[DMN Designer] Add support for importing and consuming PMML models
7.5
----------------------------------------------------------------------
Key: DROOLS-4042
URL:
https://issues.jboss.org/browse/DROOLS-4042
Project: Drools
Issue Type: Epic
Components: DMN Editor
Affects Versions: 7.24.0.Final
Reporter: Michael Anstis
Assignee: Michael Anstis
Priority: Critical
Labels: drools-tools
We need the ability to import PMML _documents_. This should be via the "Imported
models" tab. Once a _document_ has been imported (and an alias assigned) selection of
the _document_ and a _model_ held therein should be possible via the PMML Function boxed
expression editor.
h2. Requirement
- As user, via included models tab, remove included pmml model, even if used somewhere
- As user, via included models tab, rename included pmml model, even if used somewhere
- As user, via included models tab, include multiple pmml models
- As user, via included models tab, include multiple pmml models at the same time eternal
dmn
- As user, via included models tab, include multiple pmml models at the same time
external dmn, kinds are visually distinguished
- As user, via dmn designer, if Document or Model of included pmml was changed, the
lisboxes in dmn offers new values
- As user, via included models tab, no restriction for included pmml model name
- As user, via new test scenarios, test dmn model that uses pmml inside
- As user, via kie-server, query kie container that has dmn model with pmml
h2. UX design
- Selectbox in place of Document and Model selection
h2. Documentation
- Mention what pmml model can be imported into dmn
- Mention where it can be used
- Mention if something more needed to dpeloy such project on kie server
h2. Acceptance test
- Include two pmml models
- In dmn, select one in function grid
- Change the selected one to second
- Finish the dmn model
- build deploy on kie-server
- Interact with kie container via rest
- Create new test scenario for created dmn model