Disable Trusty pmml when jpmml is present
-----------------------------------------
Key: DROOLS-5613
URL:
https://issues.redhat.com/browse/DROOLS-5613
Project: Drools
Issue Type: Task
Reporter: Gabriele Cardosi
Assignee: Gabriele Cardosi
Priority: Blocker
Labels: TrustyAI
Inside trusty PMMLAssembler:
1. copy/refactor isjPMMLAvailableToClassLoader (from legacy PMMLAssembler)
2. modify
{code:java}
private static boolean isToEnable()
{code}
to always return "false" when jpmml is present
Inside legacy PMMLAssembler:
1. modify
{code:java}
private static boolean isToEnable()
{code}
to always return "false" when jpmml is present
2. remove isjPMMLAvailableToClassLoader invocation from
{code:java}
private void addPackage(Resource resource)
{code}
3. modify isjPMMLAvailableToClassLoader to log when jpmml is present