Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DROOLS-2441 DMN runtime not using the kiecontainer root classloader ... (#1853)

* DROOLS-2441 DMN runtime not using the kiecontainer root classloader ...

... to load classes

* Implementing correction 1/n: refactor method for default ClassLoader

* Implementing correction 2/n: rename to getRootClassLoader()

* Implementing correction 3/n: DMNFEELHelper overload constructor and ...

... Have a default classloader if one is not set.

* Implementing correction 4/4: FEELImpl overload the constructor ...

best to overload the constructor and set the default inside the

parameterless constructor instead of on the invocation [call site].

* Remove unnecessary comments.

* fixing typo

  1. … 22 more files in changeset.
DROOLS-1663 Kie DMN doesn't support IMPORT decisions between DMN files (#1832)

* WIP

* WIP types

* Hardcoded dependency ordering but fixes compilation errors.

* With hardcoded dependency order, and hardcoded import, working execution

* .

* Dependency sorter

* import ItemDefinition and BKM from the located import model

* .

* Refactoring

* .

* .

* Guarding for DMN importType namespace only

* Externalize ResourceWithConfiguration interface

* Use wide type Collection for collection of resources

* Applying PR comments

    • -6
    • +20
    ./kie/dmn/api/core/DMNCompiler.java
    • -0
    • +1
    ./kie/dmn/api/core/DMNMessageType.java
  1. … 20 more files in changeset.
[DROOLS-1730] Cyclic information requirement generates a stackoverflow (#1534)

    • -1
    • +1
    ./kie/dmn/api/core/DMNDecisionResult.java
  1. … 3 more files in changeset.
[DROOLS-1691] Add method to the DMNRuntime to execute multiple decisions at once (#1540)

  1. … 4 more files in changeset.
[DROOLS-1691] Add method to the DMNRuntime to execute multiple decisions at once (#1530)

  1. … 4 more files in changeset.
[DROOLS-1730] Cyclic information requirement generates a stackoverflow (#1513)

    • -1
    • +1
    ./kie/dmn/api/core/DMNDecisionResult.java
  1. … 3 more files in changeset.
DROOLS-1676 invoke FEEL function (#1468)

cherry-pick from ddfc085e6 (#1391)

  1. … 13 more files in changeset.
DROOLS-1676 (#1391)

[DROOLS-1676] invoke FEEL function

  1. … 13 more files in changeset.
DROOLS-1706 Allow marshalling of DMN Extension Elements (#1460)

Cherry picked from f1389b9f350aecd8d74af8d87ad725b5e3e6978e (#1423)

  1. … 8 more files in changeset.
DROOLS-1706 Allow marshalling of DMN Extension Elements (#1423)

  1. … 8 more files in changeset.
[DROOLS-1649] ServiceRegistry refactor (#1387) (#1395)

[DROOLS-1649] ServiceRegistry refactor

(cherry picked from commit 41797ffbbdfdf17f115b5aeeccfc89eae4f85c8d)

  1. … 106 more files in changeset.
[DROOLS-1649] ServiceRegistry refactor (#1387)

[DROOLS-1649] ServiceRegistry refactor

  1. … 106 more files in changeset.
DROOLS-1630 DMN support during incremental KieContainer upgrade (#1336)

* DROOLS-1630 DMN support during incremental KieContainer upgrade

* Add DMN support for cloned KiePackage

For the use-case where the KieRepository contains a cached copy of the

built KiePackages, rebuild the DMNModel from its DMN xml representation

from the DMNModel.Definitions

* Update test parameters.

* Avoid problem with Woodstox trying to insert trailing newline before EOF

* Additional create/dispose/upgrade tests.

* Fix DMNModel serialization, add serialization format header for future..

.. marshalling/serialization formats.

* Rename ResourceTypePackage method to "removeResource()"

  1. … 17 more files in changeset.
Add input tests + move some tests that are in wrong class (#1324)

  1. … 12 more files in changeset.
DROOLS-1569 Enrich DMN InputData node type information (#1278)

    • -0
    • +21
    ./kie/dmn/api/core/DMNUnaryTest.java
  1. … 10 more files in changeset.
DROOLS-1550: adding support to boxed function definitions and fixing the usage of FEEL function definitions in BKM nodes (#1258)

    • -0
    • +1
    ./kie/dmn/api/core/DMNMessageType.java
  1. … 15 more files in changeset.
Drools 1535 - improving error reporting for unknown variables (#1237)

* DROOLS-1535: adding compilation validation to DT input expressions

* DROOLS-1535: Improving compilation to report unknown variables for decision table input expressions

* DROOLS-1535: Improving compilation to report unknown variables for decision table input expressions

* Drools 1535+tarilabs (#1)

* Compile DT output to provide the users with compile time feedback on errors.

  1. … 18 more files in changeset.
DROOLS-1531 Fix instanceof accordingly to FEEL spec table 49 (#1230)

* DROOLS-1531 Fix instanceof accordingly to FEEL spec table 49 and InstanceOfNode (#1214)

* DROOLS-1531 Fix instanceof accordingly to FEEL spec table 49 (optimizations)

* Fix case for null property values in isInstanceOf and isAssignableValue

  1. … 15 more files in changeset.
DROOLS-1477 DMN Extension Elements (#1192)

* 1. To use extension elements inside inputData elements in order to provide “external” information: GEO location, time and location tracking of a decision making (when and were specific decision was taken). This is the primary scope of the use.

2. In case extension element represents a complex type customer prefers to get back an instance of the complex type, assuming the complex type is defined as a class by the development team on the customer side. However, the customer also understands that it can be more complex and considers the possibility to get the complex type as an XML snippet. The parsing and turning the XML snippet into the complex type, defined by the customer.

3. The possibility of getting the list of extension elements is expected from other DMN elements, which extend from DMNElement, according to the DMN specification and meta model diagram by OMG. In other words, the usage of extension elements is not limited to be a part of input data elements only.

4. The client is not expecting “authoring” of the extension elements.

Since extension elements are a part of DMN specification, this is an attempt to make it possible for drools to register custom extension elements in a generic way.

* "Refactoring" after the code review https://github.com/kiegroup/drools/pull/1183.

* Refactoring after code review 2.

* Logging the classnotfoundexception for an extension element register, instead of creating a DMNKnowledgeBuilder result.

* Tests and last (hopefully) changes for the ExtensionElements

* Modification of Tests and proper copyright.

* Not used elements in the sample file.

* Removing customer specific samples

* Removing non-used property files.

* .

* Implement code review comments.

* Oops commit.

* Implement code review comments for the Test.

* currently because KieAssembler is a singleton it is not possible to cache the compiler inside this KieAssembler

    • -0
    • +29
    ./kie/dmn/api/core/DMNCompilerConfiguration.java
    • -0
    • +26
    ./kie/dmn/api/marshalling/v1_1/DMNExtensionRegister.java
  1. … 17 more files in changeset.
DROOLS-1477 DMN Extension Elements (#1222)

* 1. To use extension elements inside inputData elements in order to provide “external” information: GEO location, time and location tracking of a decision making (when and were specific decision was taken). This is the primary scope of the use.

2. In case extension element represents a complex type customer prefers to get back an instance of the complex type, assuming the complex type is defined as a class by the development team on the customer side. However, the customer also understands that it can be more complex and considers the possibility to get the complex type as an XML snippet. The parsing and turning the XML snippet into the complex type, defined by the customer.

3. The possibility of getting the list of extension elements is expected from other DMN elements, which extend from DMNElement, according to the DMN specification and meta model diagram by OMG. In other words, the usage of extension elements is not limited to be a part of input data elements only.

4. The client is not expecting “authoring” of the extension elements.

Since extension elements are a part of DMN specification, this is an attempt to make it possible for drools to register custom extension elements in a generic way.

* "Refactoring" after the code review https://github.com/kiegroup/drools/pull/1183.

* Refactoring after code review 2.

* Logging the classnotfoundexception for an extension element register, instead of creating a DMNKnowledgeBuilder result.

* Tests and last (hopefully) changes for the ExtensionElements

* Modification of Tests and proper copyright.

* Not used elements in the sample file.

* Removing customer specific samples

* Removing non-used property files.

* .

* Implement code review comments.

* Oops commit.

* Implement code review comments for the Test.

* currently because KieAssembler is a singleton it is not possible to cache the compiler inside this KieAssembler

    • -0
    • +29
    ./kie/dmn/api/core/DMNCompilerConfiguration.java
    • -0
    • +26
    ./kie/dmn/api/marshalling/v1_1/DMNExtensionRegister.java
  1. … 17 more files in changeset.
DROOLS-1531 Fix instanceof accordingly to FEEL spec table 49 and InstanceOfNode (#1214)

  1. … 12 more files in changeset.
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.