drools-model-compiler

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[DROOLS-4525] add null check in executable model match operator

  1. … 1 more file in changeset.
[DROOLS-4307] Drools unable to compile rules when using a declared enum in the DRL file (#2536)

* Added new test for enum field

* Support for enum

* Support for enum

* EnumGenerator

* POJOGenerator is not static anymore

* Refactor

* Enum Generator

* Test for enum in DeclaredTypesTest.java

* Moved POJO generator to package

* Removed test

* Removed test

* Green tests

* Simplified toClassDeclaration

* Extracted GeneratedHashCode

* Moved toString generation

* Separated generated equals

* Generated constructor

* Split constructor and annotation processor

* Separated construction generation

* Added comment for failing test

* FullArgumentConstructor

* NoConstructor

* Ignore soft annotations by passing empty list

* Refactor

* Processing of EnumDescr in ModelBuilderImpl.java

* Generation of enum, passing test

* Refactor

* SonarLint

* Fix regression in error messages

  1. … 6 more files in changeset.
[DROOLS-4509] fix @watch on an alpha node followed by a from

  1. … 2 more files in changeset.
[DROOLS-4492] fix type declaration definition in executable model

    • -0
    • +138
    ./src/test/java/org/drools/modelcompiler/CepTest.java
  1. … 2 more files in changeset.
[DROOLS-4475] generate stable ids for field indexes across different executable model compilations (#2523)

  1. … 4 more files in changeset.
DROOLS-4458 Fix String to Boolean coercion in executable model (#2513)

upgraded to next SNAPSHOT version

  1. … 75 more files in changeset.
upgraded to next SNAPSHOT version

  1. … 75 more files in changeset.
Upgraded versions for release 7.26.0.Final

  1. … 75 more files in changeset.
[DROOLS-4374] Align error messages when missing semicolons (#2501)

[DROOLS-4546] BigDecimal in from accumulate with MVEL with executable-model (#2497)

* Tests

* Post process phase to transform BigDecimal literals after having processed the LHS phase

* Convert BigDecimal assign plus operator to add or remove

* Passing AccumulateTest

* Null case for BigDecimalConversion

* Moved accumulateInline in separate class

* Moved to constructor

* Removed dead code

* Refactor of AccumulateInline

* Mvel compiler is a field

* New field

* Avoid recompile init block twice

* Use inline template in resource folder

* Use specific exception

* First refactor of parseInitBlock

* Remove dead code

* use MVEL compiler for everything

* Better control flow

* Check for unsupported Inline Accumulate

* Better control flow for LegacyAccumulateInline

* Better control flow for LegacyAccumulateInline

* Moved reverse method closer

* write accumulate method closer

* Extracted parsing method

* Rename

* Moved method

* Removed TODO

* Reverted unwanted commit

    • -0
    • +36
    ./src/main/resources/AccumulateInlineTemplate.java
  1. … 12 more files in changeset.
upgraded to next SNAPSHOT version

  1. … 75 more files in changeset.
[DROOLS-4291] ModelWriter: refactor to smaller classes (#2428)

* [DROOLS-4291] ModelWriter: refactor to smaller classes

* fix: did not set file names correctly, did not add models to list

* adjust path for broken integration tests

[DROOLS-4376] [DROOLS-4377] [DROOLS-4831] (#2490)

* CompilerTest.testMapAbbreviatedComparison

* New case for ExpressionTyper

* Refactor

* WithCast

* Removed author and javadoc for HalfBinary

* New test for simple half binary

* Avoid handcrafted parsing

* Avoid putting meaningless generic type into parameter

* Allow special comparison case to change the expression

* Default in findLelftLeafOfNameExpr

* Refactor PatternDSL

* Removed impl from Implementation causing OSGi to fail

* Fix rebase

* Avoid handcrafted parsing

* Allow special comparison case to change the expression

* test and first refactor

* Can coerce map

* added todo

* Fix ExpressionTyper test

* Coerce map expressions

* Better check

* Remove useless cast to object

* SonarLint

  1. … 1 more file in changeset.
[DROOLS-4382] fix function invocation as argument of a point-free expression in executable model

Upgraded versions for release 7.25.0.Final

  1. … 75 more files in changeset.
Upgraded versions for release 7.25.0.Final

  1. … 75 more files in changeset.
DROOLS-4343 Change fact handle id type to long (#2468)

* DROOLS-4343 Change fact handle id type to long

* DROOLS-4343 Change fact handle id type to long

  1. … 35 more files in changeset.
DROOLS-4362 Fix date parsing in executable model on non-English locale (#2470)

[DROOLS-4188] Error while using Declared Types in different kjars with includes (#2469)

* [DROOLS-4188] Error while using Declared Types in different kjars with include

* Fix classloader in included kbase

[DROOLS-4342] Using BigDecimal with From Accumulate causes an "Error: argument type mismatch" (#2464)

* Reproducer

* Reproducer that fails on the executable model

* Reproducer

* Reproducer with our classes

* Accumulate with MVEL uses the correct function

* Removed reproducer class

* Passing test

  1. … 1 more file in changeset.
[DROOLS-4335] promote sequential option to public API (#2466)

  1. … 9 more files in changeset.
[RHDM-1020] Error while beta joining short and integer fields (#2459)

* 4207-1

* 4207-2

* Fix compilation

bumped up version to 7.25.0-SNAPSHOT

  1. … 75 more files in changeset.
[DROOLS-4339] Avoid implicit conversion while accumulating, type is always one returned from the function (#2450)

* Avoid implicit conversion while accumulating, type is always the one of the returned function

* Added reference test for accumulating short using a Number pattern matching

* Renamed test

[7.23.x] DROOLS-4061 : Guided Score card rules not executed via test scenario. (#2445)

* DROOLS-4061 : Guided Score card rules not executed via test scenario.

(cherry picked from commit a0ba9249e99c0299f886f4a0516f8c1049c40678)

* [DROOLS-4125] restore TypeResolver and RuleUnitDescritors after Knowl… (#2374)

* [DROOLS-4125] restore TypeResolver and RuleUnitDescritors after KnowledgePackage cloning

* additional change

* [DROOLS-4125] restore TypeResolver and RuleUnitDescritors after KnowledgePackage cloning

(cherry picked from commit 1b379a3658cb9dce74e362cdd2484ee31cab11b0)

  1. … 22 more files in changeset.
[DROOLS-4175] Error in compiling BigLiteral binding as literal (#2444)

Upgraded versions for release 7.24.0.Final

  1. … 75 more files in changeset.
[DROOLS-4276] avoid using reflection in accumulate statements generated by the executable model

  1. … 2 more files in changeset.
Upgraded versions for release 7.24.0.test

  1. … 75 more files in changeset.