Drools

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Upgraded version to 7.31.0.Final

  1. … 64 more files in changeset.
DROOLS-4850: ModelCompiler, rm RuleUnitDescription.getRuleUnitClass() (#2678)

* DROOLS-4850: ModelCompiler, rm RuleUnitDescription.getRuleUnitClass()

* fix names

* fix imports and unused methods

DROOLS-4840 DMN v1.3 refactoring of UnaryTest in MM (#2675)

[DROOLS-4805] remove a not yet triggered job in the sliding window when a new is created

DROOLS-4837: Abstract reflective accesses from RuleUnitDescription (#2673)

* DROOLS-4837: Abstract reflective accesses from RuleUnitDescription

* fix test

* getName

* fix assertions

* fix test, check

* fix types

* some tests pass

* toString

* restore missing legacy rule unit check

Drools 4834 - Raise the timeout for concurrency tests (#2670)

* DROOLS-4834 - Raise the timeout for concurrency tests

* reverting DROOLS-4834

* DROOLS-4834 Raise the timeout for concurrency tests

[DROOLS-4842] Parametrize Lambda Externalization (#2676)

[DROOLS-4777] minor refactor for kogito compatibility with externalized lambdas

[DROOLS-4623] using a negated constraint in a not pattern doesn't work with executable model (#2674)

DROOLS-4831 DMN v1.3 verify operator in name examples (#2669)

DROOLS-4813 DMN v1.3 verify example changes (#2663)

[DROOLS-4777] Extract Exec Model Lambda in separated classes (#2665)

* Creation of Class from lamba

* Refactor

* Single parameter lambda

* Remove extended type

* HashedClassName

* Renamed class

* Convertion of expr lambda

* Search for LambdaExpr

* Integrate LambdaReplace in ModelWriter

* Correct package

* add the type in Lambda (sometimes) avoid generating same lambda classes twice

* Use Drools predicate types

* Override in lambda

* Override

* Need to use an instance of the predicate, not a method reference

* Avoid generating lambda classes when missing types

* Do not put type if it's object in the Lambda

* Removed timeout

* Fix test

* Fix dirty state in Lambda Generation

* Added exception

* Create predicate test

* Commented extractor test

* testCustomer with two constraints

* Separated Predicate and Extractor

* Changed Namespace

* Created extractor

* Fix unit tests

* D.alphaIndexedBy

* Correct extractor

* Consequnce Test

* Replace consequence

* Parameter Type in consequence lambda

* Fixed test

* Clear model map

* Use enum for singleton for materialized lambdas

* Avoid putting rules in static fields

* Add static import in materialized predicate

* rules declaration per class

* Parallel class loading at startup

* Refactor predicate and consequence

* Refactor predicate and consequence

* Refactor

* Refactor extractor

* Refactor post processor

* 130 failing tests to go

* 116 tests failing

* Fix lambda extractor test

* Avoid converting consequences when there is a drools or a bitmask

23 tests to fix

* Fix incremental compilation tests, 17 failing test to go

* Extracted replace binding visitor

* When in accumulate we rewrite the types, we should that in lambdas also (14 tests failing)

* 11 tests to go

* Throw exception, 9 tests to go

* Also add static imports, 8 tests to go

* 4 tests to go

* Preserve original rule unit type 2 tests to go

* Correct static import

* Every test passing

* Share generated lambda in PackageModel

* better test for ExecModelLambdaPostProcessorTest.java

* Charset in configuration

* Beta indexed by

* Indexed by and flow

* Do not convert consequence test

* Removed duplication in test

* Use original DSL if it was not able to convert it

* Avoid generating lambda classes when post processing fail

* Dump drl

* Reproducer for GuidedDecisionTableTest.java

* Reproducer

* Fix accumulate problem

* Types in indexing

* Replace all lambdas

* Better error message

* Never share state in Materialized lambdas

* Replace also BIND call in accumulate

* Remove sysout

* Removed dump drl

* Reverted timeout

* Reverted wip

* Removed customercasetest

* Revert GuidedDecisionTableTest.java

* Fix rebase compilation

* Fix aggregate pattern in testVariableBindingWithOR

* Fix some accumulate test

* Fix declared type test with arrays

* renamed conflicting test

* Disable Lambda Externalization for rule units

* Reproducer for accumulate test

* Refactor test

* Refactor test

* Avoid replacing type when it's not defined

* Do not stop converting lambdas when rules class has drools

* Refactor test

* Added materialized lambda annotation

* Annotate Materialized lambda

  1. … 34 more files in changeset.
[KOGITO-608] restore kie-soup MVELEvaluator

[KOGITO-608] use additional pattern for rule unit only for v7 ones in executable model

[KOGITO-608] preliminary work for drools-model unfork

[KOGITO-608] preliminary work for drools-model unfork

[KOGITO-608] remove dependency from TypeResolver in kie-soup (#2668)

  1. … 66 more files in changeset.
[KOGITO-608] preliminary work for drools-model unfork (#2664)

* [KOGITO-608] preliminary work for drools-model unfork

* [KOGITO-608] preliminary work for drools-model unfork

* [KOGITO-608] preliminary work for drools-model unfork

  1. … 14 more files in changeset.
Minor README.md updates (#2659)

DROOLS-4825 DMN v1.3 verify DMN13-132 type conversions (#2662)

Add missing .gitignore files in recent new modules (#2661)

    • -0
    • +11
    /drools-model/drools-mvel-compiler/.gitignore
    • -0
    • +11
    /drools-model/drools-mvel-parser/.gitignore
    • -0
    • +11
    /drools-ruleunit/.gitignore
DROOLS-4824 DMN v1.3 marshaller support for dmnedge (#2660)

DROOLS-4811 DMN stddev for single or empty list (#2655)

DROOLS-4814 DMN v1.3 marshaller support for group artifact (#2657)

* DROOLS-4814 DMN v1.3 marshaller support for group artifact

* Implement sonarcloud code review feedback

DROOLS-4809 DMN v1.3 verify calculation precision from ch10 (#2654)

DROOLS-4817 - Raise the timeout for generated tests (#2658)

[DROOLS-4617] Fix coercion with uppercase L as Long literal

minor optimization in evaluation of 1-arg lambda predicate

DROOLS-4797 DMN itemdef resolution in xml namespaces (#2651)

[RHDM-1154] Fix runner support for simple types (#2653)

* [RHDM-1154] Fix runner support for simple types

* [RHDM-1154] Improved error message