Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Cherry-pick of DROOLS-1513 (#1196) for porting to 70x branch. (#1199)

DROOLS-1513 Evaluation result Type error check and reporting (#1196)

* WIP - still failing tests

* Fix 0007-date-time.dmn

* Fix dinner.dmn

* Fix trisotech_namespace.dmn

* Reimplementation of DMNType isInstanceOf

* latent bug FIX: the DMNType on DMN layer wrapping FEEL's BuiltInType.LIST

is NOT a DMN Collection.

* .

* Resolve merge conflict.

* FIX 0009-invocation-arithmetic.dmn

* Revert "FIX 0009-invocation-arithmetic.dmn"

This reverts commit 6961c88f4c10725ad5dd1c8dc8666c0cfdb96e2e.

* Revert "Augment flight test using FEEL "date and time" datatype in input context (#72)"

This reverts commit d0c712c20b2212c84d34144cb4e490ed1f448c10.

* Add ContentEntry return type check, BKM not possible yet.

* Check output type for DMNRelationEvaluator

* .

* .

* Check output type for DMNListEvaluator, analogous to DMNRelationEvaluator

* Reverting DMNRelationEvaluator and DMNListEvaluator mods

This reverts commit 5ade8012c77caae4f83e9f2dcb4cab1dfdb9fcd9.

This reverts commit 2ee7571538f70aa3a41552565db319236e85b72e.

This reverts commit b45dc151a04615ddb511573f29795fadf491f627.

  1. … 21 more files in changeset.
DROOLS-1513 Evaluation result Type error check and reporting (#1196)

* WIP - still failing tests

* Fix 0007-date-time.dmn

* Fix dinner.dmn

* Fix trisotech_namespace.dmn

* Reimplementation of DMNType isInstanceOf

* latent bug FIX: the DMNType on DMN layer wrapping FEEL's BuiltInType.LIST

is NOT a DMN Collection.

* .

* Resolve merge conflict.

* FIX 0009-invocation-arithmetic.dmn

* Revert "FIX 0009-invocation-arithmetic.dmn"

This reverts commit 6961c88f4c10725ad5dd1c8dc8666c0cfdb96e2e.

* Revert "Augment flight test using FEEL "date and time" datatype in input context (#72)"

This reverts commit d0c712c20b2212c84d34144cb4e490ed1f448c10.

* Add ContentEntry return type check, BKM not possible yet.

* Check output type for DMNRelationEvaluator

* .

* .

* Check output type for DMNListEvaluator, analogous to DMNRelationEvaluator

* Reverting DMNRelationEvaluator and DMNListEvaluator mods

This reverts commit 5ade8012c77caae4f83e9f2dcb4cab1dfdb9fcd9.

This reverts commit 2ee7571538f70aa3a41552565db319236e85b72e.

This reverts commit b45dc151a04615ddb511573f29795fadf491f627.

  1. … 21 more files in changeset.
DROOLS-1504 Resolution of variable with leading or trailing spaces (#1185)

    • -1
    • +1
    ./kie/dmn/api/core/DMNMessageType.java
  1. … 7 more files in changeset.
DROOLS-1500 DecisionTable single output typeRef inference (#1176)

* DROOLS-1500 DecisionTable single output typeRef inference

* Add test case for context recursion inference of `typeRef`

* Removed non-DMN attribute from test case DMN file

* Check for PRIORITY decision table must have output values also during compilation

* Change Msg name to "Unknown output type for decision table on node '%s'"

* Use `originalElement` for error reporting

    • -1
    • +1
    ./kie/dmn/api/core/DMNMessageType.java
  1. … 6 more files in changeset.
DROOLS-1463: finishing consolidation work and adding remaining context validations (#75)

* DROOLS-1463: finishing error message consolidation

* DROOLS-1463: adding the remaining context validations

    • -37
    • +29
    ./kie/dmn/api/core/DMNMessageType.java
  1. … 8 more files in changeset.
DROOLS-1463: Improving validation (#73)

* DROOLS-1463: Improving validation

* DROOLS-1463: Improving validation

* DROOLS-1463: Improving validation

* DROOLS-1463: Improving validation

    • -3
    • +3
    ./kie/dmn/api/core/DMNMessageType.java
  1. … 11 more files in changeset.
DROOLS-1463: consolidating validation and error reporting (#69)

* Refactoring the DMNValidator interface to allow selection of validation type to perform

* DROOLS-1463: improving error messages

    • -52
    • +55
    ./kie/dmn/api/core/DMNMessageType.java
  1. … 36 more files in changeset.
DROOLS-1463: Consolidate Validation and Core error handling (#67)

* DROOLS-1463 Consolidate Validation on Core DMNMessage guidelines

* Annotate in comments potential duplicates.

* DROOLS-1463: refactoring code to consolidate validation messages

* DROOLS-1463: consolidating messages

* DROOLS-1463: YEY! It compiles and runs again!

* DROOLS-1463: Simplifying rules and kbase compilation

* DROOLS-1463: minor fixes

* DROOLS-1463: starting to document validation messages

* DROOLS-1463: starting to document validation messages

    • -0
    • +39
    ./kie/dmn/api/core/DMNMessageContainer.java
    • -0
    • +65
    ./kie/dmn/api/core/DMNMessageType.java
  1. … 34 more files in changeset.
[DROOLS-1454] osgify kie-dmn (#49)

    • -1
    • +1
    ./kie/dmn/api/core/ast/DecisionNode.java
  1. … 158 more files in changeset.
DROOLS-1456: changing the interface to return Object instead of DMNElement to prevent breaks when we move to DMN 1.2 and to avoid compile/runtime dependencies that might not be necessary for every use case.

  1. … 1 more file in changeset.
DO NOT MERGE: DROOLS-1456: Fixing error message (#46)

DROOLS-1456: Fixing error message

  1. … 12 more files in changeset.
DROOLS-1432: improving error reporting for expressions with errors (#35)

DROOLS-1432: improving error reporting for expressions with errors

    • -0
    • +4
    ./kie/dmn/api/core/ast/InputDataNode.java
  1. … 46 more files in changeset.
DROOLS-1434: moving public interfaces to kie-dmn-api module (#41)

* DROOLS-1434: moving public interfaces to kie-dmn-api module

* DROOLS-1434: add .newContext() to DMNRuntime to allow creation from API

    • -1
    • +1
    ./kie/dmn/api/core/DMNDecisionResult.java
    • -0
    • +28
    ./kie/dmn/api/core/ast/BusinessKnowledgeModelNode.java
    • -7
    • +6
    ./kie/dmn/api/core/ast/DecisionNode.java
    • -6
    • +2
    ./kie/dmn/api/core/ast/InputDataNode.java
    • -4
    • +4
    ./kie/dmn/api/core/ast/ItemDefNode.java
  1. … 164 more files in changeset.
Refactoring package names and marshaller interface

  1. … 98 more files in changeset.
Implementing the DMN xml parser. Adding kie-dmn-core module.

  1. … 15 more files in changeset.
Move to POJO model

  1. … 61 more files in changeset.