Drools

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix PMML XSD urls in test PMML files (#2049)

  1. … 49 more files in changeset.
[DROOLS-2625] Better support for ArrayAccess Expression in Exec Model accumulate test (#2045)

* Better regexp match tests down to 26

* Disable accumulate tests

* New test for array access in AccumulateTest.java

* New test for array access

* Yet another new test for accumulate

* Parse element from arrayAccessExpr when it's a methodCallExpr

* First test of flattenScope

* Refactor test

* Flatten method call

* Unary expressions

* FlattenArrayAccess

* Fix testUseAccumulateFunctionWithArrayAccessOperation by supporting ArrayAccessExpression

* Support ArrayAccessExpr in AccumulateVisitor

* ArrayAccessExprWorking tests

* Expression Typer supports declarations with bindings

* First test of remove root node

* Removed println

* Converted arrayaccessexpr to methodcallexpr

* New FindRootViaNodeScope

* New remove node method

* Fix for method without scope

* Removed optional

* FIx regression of findRootNodeViaScope2Rec

* Rename

* Convert to methodCallExpr when using the accumulate

* Also coerce expressions on the right

* Support CastExpr in findLeftLeafOfMethod

* New test in FlowTest

* Fix ExpressionTyperTest.java

* Revert "Also coerce expressions on the right"

This reverts commit 5a42614

* Better test

* Removed test

* Moved unsupported test

* Regression test

* Fix regression

(cherry picked from commit 3fc8a354b7e0e176e11ee346d48e369c4f8ff522)

[DROOLS-2625] Better support for ArrayAccess Expression in Exec Model accumulate test (#2045)

* Better regexp match tests down to 26

* Disable accumulate tests

* New test for array access in AccumulateTest.java

* New test for array access

* Yet another new test for accumulate

* Parse element from arrayAccessExpr when it's a methodCallExpr

* First test of flattenScope

* Refactor test

* Flatten method call

* Unary expressions

* FlattenArrayAccess

* Fix testUseAccumulateFunctionWithArrayAccessOperation by supporting ArrayAccessExpression

* Support ArrayAccessExpr in AccumulateVisitor

* ArrayAccessExprWorking tests

* Expression Typer supports declarations with bindings

* First test of remove root node

* Removed println

* Converted arrayaccessexpr to methodcallexpr

* New FindRootViaNodeScope

* New remove node method

* Fix for method without scope

* Removed optional

* FIx regression of findRootNodeViaScope2Rec

* Rename

* Convert to methodCallExpr when using the accumulate

* Also coerce expressions on the right

* Support CastExpr in findLeftLeafOfMethod

* New test in FlowTest

* Fix ExpressionTyperTest.java

* Revert "Also coerce expressions on the right"

This reverts commit 5a42614

* Better test

* Removed test

* Moved unsupported test

* Regression test

* Fix regression

[7.11.x] [BAPL-944] Tests for mining model - sum, weighted avg., selectAll (#2047)

* [BAPL-944] Tests for sum strategy in PMML mining model

* [BAPL-944] Tests for weighted avg operator in mining model

* [BAPL-944] Tests for select all mining model operator

[BAPL-944] Tests for mining model - sum, weighted avg., selectAll (#2046)

* [BAPL-944] Tests for sum strategy in PMML mining model

* [BAPL-944] Tests for weighted avg operator in mining model

* [BAPL-944] Tests for select all mining model operator

[BAPL-944] Parameterize and fix PMML regression test (#2044)

[BAPL-944] Parameterize and fix PMML regression test (#2042)

[DROOLS-2634] fix generation of dynamic attributes for type declaration in executable model

[DROOLS-2634] fix generation of dynamic attributes for type declaration in executable model

(cherry picked from commit 2547d71b34df028557f992272339f3044e38edc4)

[BAPL-944] Tests for selectFirst strategy in PMML mining model (#2040) (#2043)

(cherry picked from commit e142035e8e068edf857f032849db25f931ac796d)

[DROOLS-2634] allow to use also fields and globals in temporal expressions

(cherry picked from commit 1c3dc46b73abff05d1143b5f8deb53cff87f2e82)

  1. … 5 more files in changeset.
[DROOLS-2634] allow to use also fields and globals in temporal expressions

  1. … 5 more files in changeset.
[BAPL-944] Tests for selectFirst strategy in PMML mining model (#2040)

upgraded kie to 7.12.0-SNAPSHOT and appformer to 2.9.0-SNAPSHOT

  1. … 53 more files in changeset.
upgraded to 7.11.1-SNAPSHOT

  1. … 53 more files in changeset.
Upgraded versions for release 7.11.0.Final

  1. … 52 more files in changeset.
DROOLS-2944 DMN decision logic referencing DMN<import> InputData (#2038)

* Simplified reproducer

Conflicts:

kie-dmn/kie-dmn-core/src/test/java/org/kie/dmn/core/imports/ImportsTest.java

* Fix.

* small refactor

DROOLS-2943 DMN DecisionServiceCompiler not correctly wired for DMNv1.2 format (#2037)

* DROOLS-2943 DMN DecisionServiceCompiler not correctly wired for DMNv1.2

... format

* .

[RHDM-717] allow to invoke a live query with null arguments

DROOLS-2908 Guided Score Card (#2035)

* Fixed/updated unit tests and verified that scorecards are compiling and executing

* Added ability to use external types when using the PMML4ExecutionHelper

DROOLS-2937 DMNRuntime API parameter nullcheck (#2030)

* Test case demonstrating the problem

for instance stacktrace being (as called from Kie DMN API)

java.lang.NullPointerException

at org.kie.dmn.core.impl.DMNRuntimeImpl.performRuntimeTypeCheck(DMNRuntimeImpl.java:622)

at org.kie.dmn.core.impl.DMNRuntimeImpl.evaluateAll(DMNRuntimeImpl.java:118)

at org.kie.dmn.core.DMNRuntimeTypeCheckTest.testMisleadingNPEbyAPIusage(DMNRuntimeTypeCheckTest.java:199)

...

* AFTER:

java.lang.NullPointerException: Kie DMN API parameter 'model' cannot be

null.

at java.util.Objects.requireNonNull(Objects.java:290)

at org.kie.dmn.core.impl.DMNRuntimeImpl.evaluateAll(DMNRuntimeImpl.java:123)

at org.kie.dmn.core.DMNRuntimeTypeCheckTest.testMisleadingNPEbyAPIusage(DMNRuntimeTypeCheckTest.java:199)

* .

[DROOLS-2828] fix modify of an object with mutable hashcode in equality mode when using mvel dialect

[DROOLS-2625] Better declaration search in consequence (#2031)

* Better regexp match tests down to 26

* Disable accumulate tests

upgraded to 7.11.0.t035

  1. … 52 more files in changeset.
DROOLS-2884 Guided Score Card build fails (#2034)

* Fixed issue that prevented build/compile when the guided scorecard referenced a type without a fully qualified name

* Updated tests to include testing for external types referenced without fully qualified names

DROOLS-2939 DMN v1.2 marshaller ignoring DMN<import> name attribute in the DMN (proper) namespace (#2033)

* Test case reproducer

* fix

[DROOLS-2892] fix PathMemory reset

DROOLS-2938 DMN Validator DMN<import> extended attributre drools:modelName error (#2032)

* Test case

* Fix

DROOLS-2875 Problem compiling PMML when multiple output fields are present (#2016)

* scorecardOutputGeneration.drlt - Updated rule names to add the target field for situations where there are

multiple output fields defined.

* regParams.drlt - Changed the insertion of RegTable objects to be insert instead of insertLogical

* Updated test files to include multiple fields tagged as output

* Fixed Miningmodel.java so that the getMiningFields method would also return any fields that were used by

sub-models. This removes a limitation that previously existed where the all fields that were in a sub-model's

mining schema had to be included in the mining models mining schema.

DROOLS-2936 DMN Validator is not sorting model files correctly ... (#2029)

...when containing DMN Imports