[jboss-jira] [JBoss JIRA] (DROOLS-5571) Change KiePmmlModel name generation

Gabriele Cardosi (Jira) issues at jboss.org
Tue Aug 11 09:05:00 EDT 2020


Gabriele Cardosi created DROOLS-5571:
----------------------------------------

             Summary: Change KiePmmlModel name generation
                 Key: DROOLS-5571
                 URL: https://issues.redhat.com/browse/DROOLS-5571
             Project: Drools
          Issue Type: Task
            Reporter: Gabriele Cardosi
            Assignee: Gabriele Cardosi


Currently, name of generated classes depends on KiePMMLModel name that, in turns, depends on (original) Model name.
This name may be missing (it is auto-generated) but it seems the same model name could be used inside different models in the same PMML file, at least inside nested Segments of MiningModel.
This lead to class clashes at evaluation time.
The current workaround is to ensure no models share the same model name (but this is not needed in jpmml).
To allow unique name generation, KiePMMLModel name must be created out of original file name and a different identifier strategy (index ?).




--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list