Drools

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Removed redundant test for optimistic lock interceptor (#2054)

[DROOLS-2625] Exec Model: support tests generating compositepatterns and count on multiple patterns (#2058)

* Fix test2AccumulatesWithOr

* Disabled accumulate test

* Support processing of ExistentialPatternImpl and CompositePatterns

* Ported failing test case from integrationTest

* Generate id for anonymous accumulate functions (fixes testAccumulateWithLessParameter)

* Better generator for missing accumulate binding id

* unique exprId for same constraint on different patterns

* Revert "unique exprId for same constraint on different patterns"

This reverts commit 8078322

* Avoid searching for declarations in a subnetworktuple if it's not needed (i.e. with accumulate)

* Disabled AccumulateTest

* Replace accumulate in DSL with a version that forces it to provide at least one accumulate function

* Fixed regression

[DROOLS-2625] Exec Model: support tests generating compositepatterns and count on multiple patterns (#2058)

* Fix test2AccumulatesWithOr

* Disabled accumulate test

* Support processing of ExistentialPatternImpl and CompositePatterns

* Ported failing test case from integrationTest

* Generate id for anonymous accumulate functions (fixes testAccumulateWithLessParameter)

* Better generator for missing accumulate binding id

* unique exprId for same constraint on different patterns

* Revert "unique exprId for same constraint on different patterns"

This reverts commit 8078322

* Avoid searching for declarations in a subnetworktuple if it's not needed (i.e. with accumulate)

* Disabled AccumulateTest

* Replace accumulate in DSL with a version that forces it to provide at least one accumulate function

* Fixed regression

(cherry picked from commit 7300c303ce331103b52264bd2e69f84fe666a5dc)

[BAPL-944] PMML test for surrogate predicate (#2056)

[BAPL-944] PMML test for surrogate predicate (#2041)

[DROOLS-2906] Implement scenario runner (backend) (#2036)

DROOLS-2906: Implement scenario runner (backend)

[RHPAM-2] NullPointerException during transaction rollback when using CMT (#2015)

if it is not the transaction owner we try to rely on the transaction registry

and set the current tx associated as a rollback

[DROOLS-2625] In the exec model use the legacy accumulator when the action uses globals (#2051)

* Fix test2AccumulatesWithOr

* Use legacyAccumulate when there's a global in the action block

* Disabled accumulate test

[DROOLS-2625] In the exec model use the legacy accumulator when the action uses globals (#2051)

* Fix test2AccumulatesWithOr

* Use legacyAccumulate when there's a global in the action block

* Disabled accumulate test

(cherry picked from commit 442bd46af866dfb69394362b14479396c5d1a4c3)

Ignore randomly failing tests till problem is investigated and fixed (#2053)

[DROOLS-2634] implement dynamic timers in executable model

[DROOLS-2634] implement dynamic timers in executable model

(cherry picked from commit c8f76c7c0b18695f4b0674f45be90c123649be2b)

RHPAM-1500 PMML compilation problem with weightedAverage mining operator (#2052)

* Removed @Ignore from MiningModelWeightedAverageTest

* Added a method to get the Double value from the MiningSegmentWeight

* Fixed errors in the weightedAvg.mvel including

- making sure that the correct PMML4Result is used for setting a MiningSegmentWeight

- making sure that the correct PMML4Result gets the weighted average for its target field

- making sure that the all possible SegmentExecutions are inserted prior to starting any SegmentExecution

- updating the "Check Segment Can Fire" rules to update the proper SegmentExecution, instead of inserting a new one

* Fixed tests in MiningmodelTest that were broken by the above fixes

RHPAM-1500 PMML compilation problem with weightedAverage mining operator (#2052)

* Removed @Ignore from MiningModelWeightedAverageTest

* Added a method to get the Double value from the MiningSegmentWeight

* Fixed errors in the weightedAvg.mvel including

- making sure that the correct PMML4Result is used for setting a MiningSegmentWeight

- making sure that the correct PMML4Result gets the weighted average for its target field

- making sure that the all possible SegmentExecutions are inserted prior to starting any SegmentExecution

- updating the "Check Segment Can Fire" rules to update the proper SegmentExecution, instead of inserting a new one

* Fixed tests in MiningmodelTest that were broken by the above fixes

(cherry picked from commit 8eb1aae0dcbdf2b0f36e3ccbbc39e5291bf06c69)

Fix PMML XSD urls in test PMML files (#2050)

  1. … 49 more files in changeset.
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.