Drools

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Update tests plus delete test cleanup (#1011)

* Added update tests, added one delete test, delete test cleanup - inner private class deleted, used one that already exists in model. Classes Person and Cheese implement serializable

* removed code redundancy and eyecandy comments.

removed unneeded implements Serializable

* Parameters revision (added final where possible),

Using arrays as input params instead of varargs

* reverted using arrays instead of varargs

* Edited helper method names to better fit their purpose

* Added update tests, added one delete test, delete test cleanup - inner private class deleted, used one that already exists in model. Classes Person and Cheese implement serializable

* removed code redundancy and eyecandy comments.

removed unneeded implements Serializable

* Parameters revision (added final where possible),

Using arrays as input params instead of varargs

* reverted using arrays instead of varargs

* Edited helper method names to better fit their purpose

* clean up

* Method names edit

Minor fixes and preparing to implement support for all the expression types

Preventing failed decisions from setting null to their values in the context.

Adding model for test

Improving error handling during compilation and loading

Improving error handling during compilation and loading

Fixing bug on decision table invocation

Fixing negated unary tests

Refactoring DecisionTable implementation. Fixing bugs.

Adding support for tracking decision table rule matches

recoverScope() fix. (#16)

JavaBackedType cache. (#17)

Now, to create a JavaBackedType, the method `JavaBackedType.of` must

be used which will memoize if necessary the result.

The method `JavaBackedType.of` returns a BuiltInType.UNKNOWN if it is

not possible to represent Class<> as a JavaBackedType.

The criteria if a Class<> can be represented as a JavaBackedType is

currently implemented in `JavaBackedType.createIfAnnotated`

Added test to demonstrate currently not necessary to express properties

which are standard JavaBean compliant.

Only non-standard JavaBean compliant properties are currently needed

to be captured by JavaBackedType.

Improving event framework, fixing bugs

  1. … 3 more files in changeset.
Type protocols/"specs" as hints to compilation stage (#15)

* 2 step fwd 1 step back

* Hard-coded, but working.

* Less hard-coding, working.

* Should no longer have hard-coding, and working.

* Draft of working version.

* Refactorings.

* Basic support for Maps.

* Refactoring to use FEEL Type for hierarchical type definition

* WIP hierarchical.

* Removing unnecessary changes.

* Removing scratchpad tests.

* Moving determineTypeFromClass from Type interface to ParserHelper class.

* Was static class in interface "Field", now "Property" interface+impl.

* Was "FEELAccessor", now "FEELProperty".

    • -0
    • +29
    /kie-dmn/kie-dmn-feel/src/test/java/test/Address.java
    • -0
    • +55
    /kie-dmn/kie-dmn-feel/src/test/java/test/Person.java
    • -0
    • +32
    /kie-dmn/kie-dmn-feel/src/test/resources/logback.xml
[DROOLS-1326] add indexed key in tuple hashtable's buckets

(cherry picked from commit d4324bc974ab69403c608df4bf50b6e795f2fb1d)

[DROOLS-1326] add indexed key in tuple hashtable's buckets

Fixing bug on parsing of qualified names with more than 2 level nesting

Removing spurious comment

DROOLS-1187 reproducer (#1012)

Add test case for right tuples reordering in existential nodes

DROOLS-1174 reproducer (#1009)

This commit adds missing test coverage for the fix made some time ago.

Number coercion to BigDecimal for EvaluationContext (#14)

* Number coercion to BigDecimal for EvaluationContext

* Number coercion for property in an object, or a nested value in a Map.

upgraded to 7.0.0.Beta4

  1. … 37 more files in changeset.
Adding event listener API to the FEEL engine

Initial implementation for the event support

Fixing decision table test. Fixing parameter expression evaluation on DTs.

Fixing multi-hit policies. Enabling expressions as DT results. Fixing string unescaping. Fixing tests. Adding test cases.

GUVNOR-2745: [Guided Rule Template] RTE when generating Template for Pattern with multiple non-template constraints (#1007)

Adding support to expressions as DT output columns.

Adding test cases

HitPolicy support extended for multiple output Decision tables. (#13)

* Collector finalizer fix.

do not use .collect( Collectors.toMap ) as it does not support null for values.

* Finalizing multiple output support for DT hitpolicy.