[
https://issues.jboss.org/browse/DROOLS-3348?page=com.atlassian.jira.plugi...
]
Kris Verlaenen updated DROOLS-3348:
-----------------------------------
Sprint: 2018 Week 48-50, 2018 Week 51-01 (was: 2018 Week 48-50)
Support Compiled Feel Expression in the kie-maven-plugin
--------------------------------------------------------
Key: DROOLS-3348
URL:
https://issues.jboss.org/browse/DROOLS-3348
Project: Drools
Issue Type: Enhancement
Components: executable model
Reporter: Luca Molteni
Assignee: Luca Molteni
Priority: Major
Currently the kie-maven-plugin avoid generating and compiles FEELExpression from DMN
such as
```
import static org.kie.dmn.feel.codegen.feel11.CompiledFEELSemanticMappings.*;
import org.kie.dmn.feel.codegen.feel11.CompiledCustomFEELFunction;
import org.kie.dmn.feel.codegen.feel11.CompiledFEELExpression;
import org.kie.dmn.feel.codegen.feel11.CompiledFEELSupport;
import org.kie.dmn.feel.lang.EvaluationContext;
public class TemplateCompiledFEELExpression implements CompiledFEELExpression {
/**
* FEEL: 20
*/
@Override
public Object apply(EvaluationContext feelExprCtx) {
return K_20;
}
public static final java.math.BigDecimal K_20 = new java.math.BigDecimal(20,
java.math.MathContext.DECIMAL128);
}
```
These are jitted at runtime.
We could compile them in kjar to have a faster runtime
Poker: 5
--
This message was sent by Atlassian Jira
(v7.12.1#712002)