]
Michael Anstis edited comment on DROOLS-4042 at 6/17/19 3:57 PM:
-----------------------------------------------------------------
[~tirelli] [~jomarko]
{quote}
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).
{quote}
We don't do this at present and it should probably be a new JIRA (in the name of
agility).
[~tirelli]
{quote}
is it possible to automatically update the document attribute on function definitions when
a PMML model is renamed?
{quote}
I'd just like to clarify as your question is a little ambiguous, there is a mechanism
to update files in the WB when another is saved/renamed/deleted etc in the workbench
already. So, when the PMML file (*document*) is renamed we can look for DMN models
referencing the PMML *document* and update the field. What is more difficult (more
expensive operation) is to scan DMN models and update the PMML *model* when the _content_
of the PMML _document_ changes and PMML *models* renamed. Which did you want?
A new JIRA would be raised for this too.
was (Author: manstis):
[~tirelli] [~jomarko]
{quote}
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).
{quote}
We don't do this at present and it should probably be a new JIRA (in the name of
agility).
[~tirelli]
{quote}
is it possible to automatically update the document attribute on function definitions when
a PMML model is renamed?
{quote}
I'd just like to clarify as your question is a little ambiguous, there is a mechanism
to update files in the WB when another is saved/renamed/deleted etc in the workbench
already. So, when the PMML file (*document*) is renamed we can look for DMN models
referencing the PMML *document* and update the field. What is more difficult (more
expensive operation) is to scan DMN models and update the PMML *model* when the _content_
of the PMML _document_ changes and PMML *models* renamed. Which did you want?
A new JIRA would be raised for this too.
[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