-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
Low
-
Undefined
-
NEW
-
NEW
-
---
-
---
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)
- blocks
-
DROOLS-5859 Include new impl (kie-pmml-trusty) in product artifacts
- Resolved