Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DROOLS-4954 DMN v1.3 instanceof new syntax support (#2732)

* Marshalling support

* basic grammar change

* labeling parser grammar rules

* implement list<type> case

* implement context<name:type> case

* function: prepare for refactoring, build passing.

* function: refactoring, build passing

* implement function<type, ...> -> type case

* remove superseded code

* use proper tokenization in grammar rule, following style

* minor changes

* .

* .

* small changes to improve sonarcloud analysis

    • -2
    • +2
    ./DMNDecisionServiceFunctionDefinitionEvaluator.java
  1. … 37 more files in changeset.
DROOLS-4899 DMN demo extended builtin function for runtime (#2704)

* DROOLS-4899 DMN extended builtin function for runtime

* .

* Revert kie-wise builtin function

* revert -core test

* Provide demo of function

* implement code review feedback

  1. … 9 more files in changeset.
DROOLS-4266 DMN optimize DT ic evaluations (#2418)

  1. … 1 more file in changeset.
DROOLS-4159 DMN minor DS and related typecheck alignments (#2382)

    • -15
    • +13
    ./DMNDecisionServiceFunctionDefinitionEvaluator.java
    • -20
    • +14
    ./DMNFunctionWithReturnType.java
  1. … 2 more files in changeset.
DROOLS-4129 DMN BKM invocation type check (#2376)

* WIP

* WIP

* WIP

* WIP

* .

    • -1
    • +19
    ./DMNFunctionDefinitionEvaluator.java
    • -0
    • +100
    ./DMNFunctionWithReturnType.java
  1. … 8 more files in changeset.
DROOLS-4075 DMN merge upstream PMML evaluators (#2370)

* MEGASQUASH

* x

* .

* Implement license missing detection feedback

* Fix when Resource is absolute URL kieServices#getKieClasspathContainer()

* Implement code review feedback

* implement code review feedback

* omitting local test to check for EJC dead code detection thanks for upd

* Implement code review feedback

* Introduce kie-dmn-core-osgi

* Implement code review feedback

* Temporary inspection code removed

* Implement code review feedback

* Either#consume and alignment for API

* Implement code review feedback: refactor for single URL builder

* Implement code review feedback: split #compileFunctionDefinition

* .

* meanwhile, master moved to 7.24.0-SNAPSHOT

* Implement code review feedback

* Number coercion to BigDecimal to respect DMN spec

* Implement code review feedback

  1. … 24 more files in changeset.
DROOLS-4048 DMN decision service invocation as literal expression typecheck (#2351)

* WIP

* Implement type check for decision service invoked as literal expressions

* Augmenting with error reporting

* Apply code review feedback

    • -2
    • +39
    ./DMNDecisionServiceFunctionDefinitionEvaluator.java
  1. … 4 more files in changeset.
[DROOLS-3112] FEEL Compiler: modularize FEELImpl compiler/interpreter vs. DMNFEELHelper (#2112)

* [DROOLS-3112] FEEL Compiler: modularize FEELImpl compiler/interpreter vs. DMNFEELHelper

* add dep to JavaParser

    • -2
    • +11
    ./DMNLiteralExpressionEvaluator.java
  1. … 17 more files in changeset.
[DROOLS-3072] kie-maven-plugin to persist DMN Compilation results in KJAR like for DRL exec model rules (#2117)

* Listener in configuration

* Move new instance of DMNCompilerConfigurationImpl outside the method

* Register listeners from configuration

* Listener gets filename and file contents

* Typesafe file path

* Avoid compile and define invoker based on listener

* Optimized import

* Deferred compiler

* Try read the evaluator from the class loader

* Removed boolean from event

* Events only in deferred

* Fix option of deferred

* Find the compiled class at runtime

* Find classes

* Instantiate evaluator

* Printout of invokator

* Avoid regenerate the classes if there's the META-INF file

* init parameters

* It workds

* Move generated class name to DTableModel.java

* DMNRuleClassFile

* Refactor

* Renamed ExecModelDMNMavenSourceCompiler.java to MavenSourceCompiler

* OOP

* Extracted method

* Inverted if condition

* Removed println

* Factory to createDMNEvaluator

* Factory to createDMNEvaluator

* Public Rule class flie

* Added debug

* Reverted useless changes

* Avoid caching configuration

* Cache CompilerConfigurationImpl

* Removed ExecModelCompilerDeferredOption.java

* Minor fixes

* minor fixes 2

  1. … 15 more files in changeset.
DROOLS-3005 DMN DecisionService having an imported requiredInput (#2076)

    • -5
    • +40
    ./DMNDecisionServiceFunctionDefinitionEvaluator.java
  1. … 4 more files in changeset.
DROOLS-2832 DMN support for DMN v1.2 serialization (#2018)

* (kie-dmn-model)

* (kie-dmn-backend)

* BROKEN (kie-dmn-core) align imports and minor alignments

* (kie-dmn-core) realign new infra to run -core with DMN v1.1

* BROKEN (kie-dmn-core) alignments

* (kie-dmn-core) align for missing synonims of feel:Any

* API CHANGE: realign Marshaller to proper package name

* WIP -- working on DMNDI to externalize the interface and v1.2 marshaller

* Unmarshal DMN v1.2 files

* Move FEELHelper as part of DMNCompilerCtx and manage FEEL v1.2 flags

* Marshaller factory generalized, execution test w/ DMN v1.2 ch11 example

* (kie-dmn-validation)

* (kie-dmn-signavio)

* Realign Validation to support DMN v1.2

* minor/comment changes.

* Minor header/comment changes.

* Minor import .* changes

* Minor alignments and implement logic instead of hardcode QMap logic

* .

* Remove XSD(s) where not necessary.

* DROOLS-2893 DMN v1.2 Serialization degraded mode without XSD

* Fix OSGi maven plugin export/import filters.

* Implementing the correct specialised interface for b/c

* Package refactor

kie-dmn-model:

from org.kie.dmn.model.v1x

to org.kie.dmn.model.api

kie-dmn-api:

from org.kie.dmn.api.marshalling.v1x

to org.kie.dmn.api.marshalling

* Implement code review feedback.

* Implement code review feedback

* .

  1. … 387 more files in changeset.
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.
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 (#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.