[JBoss JIRA] (DROOLS-1691) Add method to the DMNRuntime to execute multiple decisions at once
by Edson Tirelli (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1691?page=com.atlassian.jira.plugi... ]
Edson Tirelli updated DROOLS-1691:
----------------------------------
Sprint: 2017 Week 36-37
> Add method to the DMNRuntime to execute multiple decisions at once
> ------------------------------------------------------------------
>
> Key: DROOLS-1691
> URL: https://issues.jboss.org/browse/DROOLS-1691
> Project: Drools
> Issue Type: Enhancement
> Components: dmn engine
> Affects Versions: 7.1.0.Final
> Reporter: Edson Tirelli
> Assignee: Edson Tirelli
> Fix For: 7.4.0.Beta1
>
>
> The DMN runtime currently has methods to execute:
> * all decisions in a model
> * a single decision (and its dependencies) by name
> * a single decision (and its dependencies) by id
> For remote invocation, it is important to add two new methods that take a list of decisions (one by name, the other by id) to execute and return the values in a single call.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (DROOLS-1733) Enhance test coverage of FEEL built-in functions
by Edson Tirelli (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1733?page=com.atlassian.jira.plugi... ]
Edson Tirelli updated DROOLS-1733:
----------------------------------
Sprint: 2017 Week 36-37
> Enhance test coverage of FEEL built-in functions
> ------------------------------------------------
>
> Key: DROOLS-1733
> URL: https://issues.jboss.org/browse/DROOLS-1733
> Project: Drools
> Issue Type: Bug
> Components: dmn engine
> Affects Versions: 7.3.0.Final
> Reporter: Tibor Zimányi
> Assignee: Tibor Zimányi
> Labels: reported-by-qe
> Fix For: 7.3.1.Final
>
>
> Majority of classes in module kie-dmn-feel in package org.kie.dmn.feel.runtime.functions can be tested by unit tests. Having such tests we can cover nearly 100% of these classes.
> While coding these tests I found and fixed these bugs and problems:
> * Rounding problem in EvalHelper.getBigDecimalOrNull() method - The method used .doubleValue() call which produced rounding errors.
> * AnyFunction and AllFunction didn't check if the items in the list parameter are all Booleans (they must be according to the spec.)
> * ConcatenateFunction didn't check for nulls in the list parameter
> * EqualsFunction didn't compare BigDecimals with compareTo() method (which checks just values and ignores scale)
> * MinFunction and MaxFunction didn't check if the items in the list parameter are comparable
> * NumberFunction - split of one error message into two
> * ReplaceFunction - NPE when having replacement param as null
> * StringFunction and CodeFunction contained duplicated code
> * SublistFunction - it was possible to input negative length as parameter
> * ReplaceFunction now handles regexp flags
> I will create a PR with new tests and fixes for mentioned things.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months