Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[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

  1. … 3 more files in changeset.
[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)

  1. … 3 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)

  1. … 12 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

  1. … 12 more files in changeset.
DROOLS-2607 Add rounding to the BigDecimal average accumulator (#2017)

* Add rounding to the BigDecimal average accumulator

* DROOLS-2607 Add reproducer

  1. … 1 more file in changeset.
[DROOLS-2634] various fixes to cep in executable model + minor refactor

  1. … 8 more files in changeset.
[DROOLS-2634] add support for custom operators in executable model

  1. … 4 more files in changeset.
[DROOLS-2634] fix for several cep use cases in executable model

  1. … 18 more files in changeset.
[DROOLS-2595] average accumulate function should return null instead of zero when no facts are matched

  1. … 1 more file in changeset.
[DROOLS-2649] various fixes to executable model generation

  1. … 15 more files in changeset.
[DROOLS-2733] New class for unsupported Accumulate test (#1980)

* Moved testMVELAccumulate

* Moved testMVELAccumulate2WM

* Disable test

* Renamed to AccumulateUnsupportedWithModelTest

* Disabled test

[DROOLS-2715] raise a compile time error when attemting to use the result of an accumulate in the functions of the same accumulate

  1. … 1 more file in changeset.
[DROOLS-2649] fix generation of executable model for rule units

  1. … 13 more files in changeset.
[DROOLS-2649] fix indexing for executable model

  1. … 8 more files in changeset.
[RHPAM-1305] several fixes to executable model (#1968)

    • -0
    • +199
    ./drools/compiler/integrationtests/AccumulateCepTest.java
    • -0
    • +4015
    ./drools/compiler/integrationtests/AccumulateTest.java
    • -0
    • +246
    ./drools/compiler/integrationtests/AlphaNetworkModifyTest.java
    • -0
    • +100
    ./drools/compiler/integrationtests/AnnotationsCepTest.java
    • -0
    • +269
    ./drools/compiler/integrationtests/AnnotationsOnPatternTest.java
    • -0
    • +2038
    ./drools/compiler/integrationtests/BackwardChainingTest.java
  1. … 153 more files in changeset.
DROOLS-2390 Use tests from drools-compiler module with exec. model (#1959)

    • -0
    • +130
    ./drools/compiler/integrationtests/RuleChainingTest.java
    • -0
    • +1828
    ./drools/compiler/integrationtests/TimerAndCalendarTest.java
  1. … 33 more files in changeset.
[DROOLS-2637] avoid overwriting accumulate pattern type with accumulate function type in executable model generation + add support for predicates with 5 and 6 arguments

  1. … 12 more files in changeset.
[DROOLS-2637] avoid overwriting accumulate pattern type with accumulate function type in executable model generation + add support for predicates with 5 and 6 arguments

(cherry picked from commit 025e5546a19966f7491acd0403b67259a06799cd)

  1. … 12 more files in changeset.
[DROOLS-2625] partial fix of queries generation in executable model

  1. … 7 more files in changeset.
DROOLS-2634 - Migrate test classes starting with C to a new test module (#1947)

* DROOLS-2390 Move test classes starting with C from drools-compiler

* DROOLS-2390 Enable exec. model in integ. test classes starting with C

    • -0
    • +164
    ./drools/compiler/integrationtests/CepEspNegativeCloudTest.java
    • -0
    • +155
    ./drools/compiler/integrationtests/ChangesetUndoTest.java
    • -0
    • +358
    ./drools/compiler/integrationtests/CustomOperatorTest.java
  1. … 72 more files in changeset.
[DROOLS-2625] partial fix of queries generation in executable model

  1. … 16 more files in changeset.
[DROOLS-2625] fix annotations usage and array access in executable model (#1944)

[DROOLS-2625] fix annotations usage and array access in executable model

    • -0
    • +269
    ./drools/compiler/integrationtests/AnnotationsOnPatternTest.java
  1. … 28 more files in changeset.
DROOLS-2390 Migrate tests from drools-compiler module (#1941)

* DROOLS-2390 Migrate tests from drools-compiler module

* DROOLS-2390 Fix KieBaseTestConfiguration

    • -0
    • +199
    ./drools/compiler/integrationtests/AccumulateCepTest.java
    • -0
    • +4015
    ./drools/compiler/integrationtests/AccumulateTest.java
    • -0
    • +247
    ./drools/compiler/integrationtests/AlphaNetworkModifyTest.java
    • -0
    • +100
    ./drools/compiler/integrationtests/AnnotationsCepTest.java
    • -0
    • +2779
    ./drools/compiler/integrationtests/BackwardChainingTest.java
  1. … 91 more files in changeset.
[DROOLS-2575] various fix in executable model generation

  1. … 27 more files in changeset.
Support BigDecimal and BigInteger literals (#1937)

* Support BigDecimal and BigInteger literals

* Also fix in pattern DSL

* Narrow literals to BigInteger/BigDecimals

* Fixed PatternTest.testBigDecimal regression

* Fail better when provided with an invalid Accumulate

* Disabled pattern test

* Removed exec model java tracing

  1. … 7 more files in changeset.
DROOLS-2612 Change default artifact version to 1.0.0 (#1938)

  1. … 5 more files in changeset.
[DROOLS-2575] various fix on executable model generation (#1936)

* [DROOLS-2575] fix class loading for mvel consequences in executable model

* [DROOLS-2575] various fix on executable model generation

  1. … 19 more files in changeset.
[DROOLS-2551] Check that binding used in an OR expressions are defined in every branch (#1935)

  1. … 5 more files in changeset.
[DROOLS-2551] Fix Math test regression (#1932)

* Fix compilation of MathTest

* Fix Math Test regression

  1. … 3 more files in changeset.
[DROOLS-2551] fix from clause generation in executable model (#1933)

* [DROOLS-2551] fix from clause generation in executable model

* [DROOLS-2551] implement from clause with 2 variables in executable model

* [DROOLS-2551] implement parsing of instanceof expression in executable model

* [DROOLS-2551] fix EvalTests for executable model

  1. … 33 more files in changeset.