[
https://issues.redhat.com/browse/DROOLS-5867?page=com.atlassian.jira.plug...
]
Gabriele Cardosi updated DROOLS-5867:
-------------------------------------
Description:
Currently, ApplyPmmlModelCommand (inside drools) invoke directly the legacy PMML delegate
(ApplyPmmlModelCommandExecutorImpl).
# move Command newApplyPmmlModel(PMMLRequestData request); from ExtendedKieCommands to
KieCommands
# define PMMLCommandExecutor interface inside kie-internal (droolsjbpm-knowledge)
# define PMMLCommandExecutorFactory interface inside kie-internal (droolsjbpm-knowledge)
# write PMMLCommandExecutor implementation (inside kie-pmml-trusty )
# write PMMLCommandExecutorFactory implementation (inside kie-pmml-trusty )
# write kie.konf in the same module as PMMLCommandExecutorFactory implementation to bind
the implementation to the interface
# create a static method "isToEnable()" to be used by PMMLAssemblerService(s)
and ApplyPmmlModelCommand to retrieve which implementation is to be enabled - it will
replace the ones in PMMLAssemblerService(s) (inside kie-api)
# modify ApplyPmmlModelCommand to switch between factories/implementations (using the
above method to choose the implementation to enable)
was:
Currently, ApplyPmmlModelCommand (inside drools) invoke directly the legacy PMML delegate
(ApplyPmmlModelCommandExecutorImpl).
# define PMMLCommandExecutor interface inside kie-internal (droolsjbpm-knowledge)
# write a PMMLCommandExecutor factory (where ? It must be visible by drools-core inside
ApplyPmmlModelCommand)
# write a PMMLCommandExecutor implementation (where ? It must be visible by
PMMLCommandExecutor factory )
# modify ApplyPmmlModelCommand to switch between factories/implementations.
Update ApplyPmmlModelCommand to manage both PMML implementations
-----------------------------------------------------------------
Key: DROOLS-5867
URL:
https://issues.redhat.com/browse/DROOLS-5867
Project: Drools
Issue Type: Task
Reporter: Gabriele Cardosi
Assignee: Gabriele Cardosi
Priority: Major
Labels: TrustyAI
Currently, ApplyPmmlModelCommand (inside drools) invoke directly the legacy PMML delegate
(ApplyPmmlModelCommandExecutorImpl).
# move Command newApplyPmmlModel(PMMLRequestData request); from ExtendedKieCommands to
KieCommands
# define PMMLCommandExecutor interface inside kie-internal (droolsjbpm-knowledge)
# define PMMLCommandExecutorFactory interface inside kie-internal (droolsjbpm-knowledge)
# write PMMLCommandExecutor implementation (inside kie-pmml-trusty )
# write PMMLCommandExecutorFactory implementation (inside kie-pmml-trusty )
# write kie.konf in the same module as PMMLCommandExecutorFactory implementation to bind
the implementation to the interface
# create a static method "isToEnable()" to be used by PMMLAssemblerService(s)
and ApplyPmmlModelCommand to retrieve which implementation is to be enabled - it will
replace the ones in PMMLAssemblerService(s) (inside kie-api)
# modify ApplyPmmlModelCommand to switch between factories/implementations (using the
above method to choose the implementation to enable)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)