Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DROOLS-2824: adding support for context entry evaluator listeners (#2008)

* DROOLS-2824: adding support for context entry evaluator listeners

* DROOLS-2824: addressing comments from the PR review

  1. … 11 more files in changeset.
[DROOLS-2766] fix error management + other minor improvements in compiled DMN decision tables (#2006)

  1. … 8 more files in changeset.
DROOLS-2799 DMN Optimize DT parameter binding for compilation (#1998)

* DROOLS-2799 DMN Optimize DT parameter binding for compilation

* .

  1. … 3 more files in changeset.
[DROOLS-2766] compilation of DMN decision tables (#1996)

  1. … 23 more files in changeset.
DROOLS-2768 DMN Decision Service encapsulate Decision which imports a DS (#1990)

* DROOLS-2768 DMN Decision Service encapsulate Decision which imports a DS

* Expose API

  1. … 7 more files in changeset.
DROOLS-2719 DMN DecisionService backport on DMN v1.1 (#1986)

* WIP BROKEN

* WIP

* WIP

* wip broken?

* WIP

* WIP using BKM and DMN Invocation decision logic with Decision Service

* WIP

* Event manager and only BKM (no Decision) with a dependency on DS

* Small refactors

* WIP

* Reworking DS input parameters (InputData and InputDecision) as agreed

* Additional tests

* Remove "v1.1" create automatically an ItemDefinition, and refactoring

will rely on feel:any

* Refactor "dependency"->specific collection for DS,and typecheck refactor

include test to verify also for DS the typecheck is inherent to the

decision evaluation mechanism.

* Implement coercion of singleton output DS as a default ( + override opt)

* Small message refactoring

* Small refactoring

* Expose API to evaluate the Decision Service from a model

* removed unnecessary code comment

* Implement code review feedback

    • -0
    • +102
    ./DMNDecisionServiceEvaluator.java
    • -0
    • +122
    ./DMNDecisionServiceFunctionDefinitionEvaluator.java
    • -0
    • +91
    ./DecisionServiceNodeImpl.java
  1. … 32 more files in changeset.
DROOLS-2746 DMN Invocation parameters resolution with imported function (#1984)

* DROOLS-2746 DMN Invocation parameters resolution with imported function

reproducer

  1. … 2 more files in changeset.
DROOLS-1663 Kie DMN support for IMPORT decisions between DMN files (#1954)

  1. … 2 more files in changeset.
DROOLS-1663 Kie DMN support for IMPORT decisions between DMN files (#1943)

* WIP

* WIP2

* Reverting unnecessary code changes.

* Provisionally working, at least for the test of 2 bkms.

* Import with BKM chain working -- baseline

* Added 3 layers test, and misc refactoring

* Final refactorings

* Applying code review comment 1/2

* Apply PR code review comments 2/2

    • -9
    • +13
    ./DMNFunctionDefinitionEvaluator.java
  1. … 18 more files in changeset.
DROOLS-1663 Kie DMN doesn't support IMPORT decisions between DMN files (#1923)

* DROOLS-1663 Kie DMN doesn't support IMPORT decisions between DMN files

Add support for simple (mainly hardcoded) Decision imports

* Small refactoring and Provide required data for cycle detection tests

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

  1. … 22 more files in changeset.
DROOLS-2322 Move Kie extended FEEL function into appropriate profile (#1769)

* DROOLS-2322 Move Kie extended FEEL function into appropriate profile

* final changes for edge-cases

* Realign SignavioProfile to changes

* Missing header

* Reconciliate FEELProfile for kie extended FEEL functions

* fix test for Kie extended FEEL function in simple DMN model

* Align manually formatting code

* fix javadoc typo

* Minor optimization (memoize feelFunctions accordingly to feelProfiles)

* Correction and optimizations

* FEEL optimizations for CompilerContext

if the CompilerContext is created via the FEEL instance,

because the configuration is managed via the FEELProfile, the

CompilerContext contains already all the necessary functions and other

configurations as necessary.

  1. … 38 more files in changeset.
RHDM-230 DROOLS-2201 fix DMN runtime typecheck not managed for context and DT output (#1670) (#1673)

cherry-picked from c0401d54daea0fa4e8229ffd22ddd52356b6e008

  1. … 7 more files in changeset.
DROOLS-2201 fix DMN runtime typecheck not managed for context and DT output (#1670)

  1. … 7 more files in changeset.
DROOLS-2117 Improve Msg.ERROR_EVAL_NODE_DEP_WRONG_TYPE (#1593)

  1. … 3 more files in changeset.
DROOLS-1598 Support additional Signavio FEEL functions (#1571)

* DROOLS-1598: implementing additional FEEL functions

* DROOLS-1598: Fixing function implementation

* DROOLS-1598: sorting function list

* Extend support for Signavio custom List operations functions.

(etirelli/drools#2)

* Extend support for Signavio custom Statistical operations, Text handling functions

(etirelli/drools#3)

* Extend support for Signavio custom Statistical operations functions

* Extend support for Signavio custom Text handling functions

* Refactor to isolate Signavio function in Signavio maven module

(etirelli/drools#4)

* Refactor introducing convenience method for Either

* Only prefix with "SignavioXXX" if conflicting function name in core

* Isolate Signavio functions test, minimal refactor to allow MANUAL wiring of Signavio functions

* Move test to signavio maven module

* Move Signavio custom function into Signavio maven module

* enable all Signavio custom function test

* Support FEEL custom profile for compilation and evaluation

(etirelli/drools#5)

* Align with changes from 29c75a8b for DROOLS-1760 Enhance test coverage

* Fix classname for Signavio `secondsDiff` function.

This was wrongly renamed during 3c8329f8

Can be seen here:

https://github.com/etirelli/drools/pull/4/commits/3c8329f8f16d72975f7047a2a08da30b623fcbda#diff-b66d1037a1a7da49997c6fe45abcf702R31

It was working anyway because the function "registry" rely on the

internal String-based name definition and not on the classname

containing the function.

  1. … 83 more files in changeset.
[DROOLS-1767] FEEL: add compile-time cycle detection (#1550)

  1. … 7 more files in changeset.
DROOLS-1676 invoke FEEL function (#1468)

cherry-pick from ddfc085e6 (#1391)

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

[DROOLS-1676] invoke FEEL function

  1. … 12 more files in changeset.
DROOLS-1722: adding support for invoking FEEL functions using boxed invocations (#1446)

* DROOLS-1722: adding support for invoking FEEL functions using boxed invocations

(cherry picked from commit 70bcedba42a8bc525975611cba9b4daeb1bc14e9)

* DROOLS-1722: improving logic for detecting incompatible methods and supporting missing parameters

(cherry picked from commit 175916c6fb41c2c8701927b92c7c80e7d3823dc5)

  1. … 3 more files in changeset.
DROOLS-1722: adding support for invoking FEEL functions using boxed invocations (#1445)

* DROOLS-1722: adding support for invoking FEEL functions using boxed invocations

* DROOLS-1722: improving logic for detecting incompatible methods and supporting missing parameters

  1. … 3 more files in changeset.
DROOLS-1715 DMN parallel evaluation ConcurrentModificationException (#1438) (#1447)

* DROOLS-1715 DMN parallel evaluation ConcurrentModificationException

* Alternative solution

  1. … 12 more files in changeset.
DROOLS-1715 DMN parallel evaluation ConcurrentModificationException (#1438)

* DROOLS-1715 DMN parallel evaluation ConcurrentModificationException

* Alternative solution

  1. … 12 more files in changeset.
DROOLS-1621 Add explicit toString calls to patterns using QName in DMN validation rules (#1332)

  1. … 1 more file in changeset.
DROOLS-1550: downgrading severity and raising warnings in case a PMML function definition is present in the model (#1266)

    • -11
    • +23
    ./DMNFunctionDefinitionEvaluator.java
  1. … 4 more files in changeset.
DROOLS-1550: adding support to boxed function definitions and fixing the usage of FEEL function definitions in BKM nodes (#1258)

    • -6
    • +18
    ./DMNFunctionDefinitionEvaluator.java
    • -156
    • +0
    ./DMNExpressionEvaluatorInvokerFunction.java
    • -0
    • +10
    ./DMNLiteralExpressionEvaluator.java
  1. … 12 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-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.