11:28 am
[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 bitmask23 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
- … 48 more files in changeset.