Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DROOLS-3230 DMN - Fix generating paths on Windows for executable model (#2133)

* DROOLS-3230 DMN - Fix generating paths on Windows for executable model

* DROOLS-3230 DMN - Fix generating paths on Windows for executable model

DROOLS-3217 DMN compilation via kie-maven-plugin wrong lookup at runtime (#2125)

    • -0
    • +4
    ./core/compiler/DMNEvaluatorCompiler.java
[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

    • -8
    • +21
    ./core/assembler/DMNAssemblerService.java
    • -3
    • +32
    ./core/compiler/DMNEvaluatorCompiler.java
  1. … 4 more files in changeset.
DROOLS-3132 DMN assign null to ItemDefinition with allowedValues (#2108)

  1. … 3 more files in changeset.
DROOLS-3055 DMN 1.2 compiler to support type alias (#2088)

    • -13
    • +6
    ./core/compiler/DMNCompilerImpl.java
    • -0
    • +14
    ./core/compiler/DMNTypeRegistryV12.java
  1. … 2 more files in changeset.
DROOLS-3045 DMN model API to display namespace transitive import deps (#2087)

  1. … 2 more files in changeset.
DROOLS-3026 DMN model get[Decision|Input]by[Name|Id] consistency (#2085)

* DROOLS-3026 DMN model get[Decision|Input]by[Name|Id] consistency

* Refactoring.

  1. … 1 more file in changeset.
DROOLS-3012 DMN API to evaluate direct-dependency imported Decisions (#2081)

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

    • -5
    • +40
    ./core/ast/DMNDecisionServiceFunctionDefinitionEvaluator.java
  1. … 3 more files in changeset.
DROOLS-2823 FEEL Parser: refactor `not` unary negation and `not` function call; fix support to wildcard `?` (#2059) (#2074)

* wip

* all tests pass

* wip

* fix input var type

* fields order, notExitst builtin f

* most compile-time tests pass

* fix all compiler tests

* fix all tests

* grammar fix

* cleanup

* move method back into its original position

* fix short-circuiting on null (notExists)

* test support to listeners

* fix error logging

* remove decision table in feel expresion tests -- no longer in 1.2

* replace commented out tests with error-checking tests

* move NOT to lexing section;

* fix erroneous reference to non-existing symbol "Not_Key"

(cherry picked from commit 23b87d2e62a1f550ed7afd47dba27b34c9b9a01c)

  1. … 25 more files in changeset.
DROOLS-2823 FEEL Parser: refactor `not` unary negation and `not` function call; fix support to wildcard `?` (#2059)

* wip

* all tests pass

* wip

* fix input var type

* fields order, notExitst builtin f

* most compile-time tests pass

* fix all compiler tests

* fix all tests

* grammar fix

* cleanup

* move method back into its original position

* fix short-circuiting on null (notExists)

* test support to listeners

* fix error logging

* remove decision table in feel expresion tests -- no longer in 1.2

* replace commented out tests with error-checking tests

* move NOT to lexing section;

* fix erroneous reference to non-existing symbol "Not_Key"

  1. … 25 more files in changeset.
DROOLS-2944 DMN decision logic referencing DMN<import> InputData (#2038)

* Simplified reproducer

Conflicts:

kie-dmn/kie-dmn-core/src/test/java/org/kie/dmn/core/imports/ImportsTest.java

* Fix.

* small refactor

    • -1
    • +10
    ./core/compiler/DecisionCompiler.java
  1. … 2 more files in changeset.
DROOLS-2943 DMN DecisionServiceCompiler not correctly wired for DMNv1.2 format (#2037)

* DROOLS-2943 DMN DecisionServiceCompiler not correctly wired for DMNv1.2

... format

* .

  1. … 8 more files in changeset.
DROOLS-2937 DMNRuntime API parameter nullcheck (#2030)

* Test case demonstrating the problem

for instance stacktrace being (as called from Kie DMN API)

java.lang.NullPointerException

at org.kie.dmn.core.impl.DMNRuntimeImpl.performRuntimeTypeCheck(DMNRuntimeImpl.java:622)

at org.kie.dmn.core.impl.DMNRuntimeImpl.evaluateAll(DMNRuntimeImpl.java:118)

at org.kie.dmn.core.DMNRuntimeTypeCheckTest.testMisleadingNPEbyAPIusage(DMNRuntimeTypeCheckTest.java:199)

...

* AFTER:

java.lang.NullPointerException: Kie DMN API parameter 'model' cannot be

null.

at java.util.Objects.requireNonNull(Objects.java:290)

at org.kie.dmn.core.impl.DMNRuntimeImpl.evaluateAll(DMNRuntimeImpl.java:123)

at org.kie.dmn.core.DMNRuntimeTypeCheckTest.testMisleadingNPEbyAPIusage(DMNRuntimeTypeCheckTest.java:199)

* .

  1. … 2 more files in changeset.
[DROOLS-2923] Improve DMN execution performance (#1997)

[DROOLS-2923] Improve DMN execution performance

    • -0
    • +2
    ./core/assembler/DMNAssemblerService.java
  1. … 1 more file in changeset.
DROOLS-2927 DMN DecisionTable inputClause importing ItemDefinition ... (#2025)

... throws NPE at compilation

    • -17
    • +6
    ./core/compiler/DMNEvaluatorCompiler.java
  1. … 2 more files in changeset.
DROOLS-2917 DMN resolveTypeRef returning null in BKM causes NPE during KieContainer compilation (#2023)

* Reproducing error

* Fix to avoid throwing the NPE externally and expected behavior of

resolveTypeREf

* .

  1. … 2 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

* .

    • -3
    • +3
    ./core/assembler/DMNAssemblerService.java
    • -1
    • +1
    ./core/ast/BusinessKnowledgeModelNodeImpl.java
    • -1
    • +1
    ./core/ast/DMNFunctionDefinitionEvaluator.java
    • -2
    • +2
    ./core/ast/DMNInvocationEvaluator.java
    • -1
    • +1
    ./core/ast/DecisionServiceNodeImpl.java
  1. … 383 more files in changeset.
[DROOLS-2766] support for null values in compiled DMN dtables + minor refactor (#2013)

  1. … 1 more file in changeset.
DROOLS-2512 Add support for multi-file validation on the DMN Validator (#2012)

* WIP broken

* wip broken

* WIP broken

* WIP only 1 remaining failing check from DRLs

* Element reference namespaceOfImport#drgElementID DRL rules aligned.

.

.

* .

* (working OK) Base Model now defines a DS

* (working OK) Importing a DS

* (working OK) few refactorings

* (working OK) refactored API

* (working OK) Finalizations

* .

    • -7
    • +11
    ./core/assembler/DMNAssemblerService.java
  1. … 15 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

    • -0
    • +18
    ./core/ast/DMNContextEvaluator.java
    • -0
    • +81
    ./core/impl/AfterEvaluateContextEntryEventImpl.java
    • -0
    • +74
    ./core/impl/BeforeEvaluateContextEntryEventImpl.java
    • -0
    • +5
    ./core/impl/DMNRuntimeEventManagerImpl.java
    • -26
    • +47
    ./core/impl/DMNRuntimeEventManagerUtils.java
  1. … 6 more files in changeset.
[DROOLS-2766] support for question mark variable in evaluation context of compiled DMN decision table (#2010)

[DROOLS-2766] add conf option for exec model based DMN dtable compiler + minor refactor (#2009)

    • -0
    • +51
    ./core/compiler/ExecModelCompilerOption.java
  1. … 1 more file in changeset.
[DROOLS-2766] fix error management + other minor improvements in compiled DMN decision tables (#2006)

    • -1
    • +1
    ./core/ast/DMNDTExpressionEvaluator.java
    • -17
    • +22
    ./core/compiler/DMNEvaluatorCompiler.java
  1. … 2 more files in changeset.
[DROOLS-2766] support default values + allow to access evaluation con… (#2002)

[DROOLS-2766] support default values + allow to access evaluation context in constraint evaluation + better error management in compiled DMN decision tables

  1. … 8 more files in changeset.
DROOLS-2813 DMN boxed invocation missing expression NPE and Validator .. (#2005)

.. issue.

    • -0
    • +11
    ./core/compiler/DMNEvaluatorCompiler.java
  1. … 4 more files in changeset.
[DROOLS-2766] allow symbols in output of compiled DMN decision tables (#1999)

[DROOLS-2766] allow symbols in output of compiled DMN decision tables

    • -0
    • +62
    ./core/compiler/execmodelbased/DecisionTableEvaluator.java
  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
    • +1
    ./core/ast/DMNDTExpressionEvaluator.java
    • -168
    • +179
    ./core/compiler/DMNEvaluatorCompiler.java
  1. … 1 more file in changeset.
[DROOLS-2766] compilation of DMN decision tables (#1996)

    • -2
    • +2
    ./core/ast/DMNDTExpressionEvaluator.java
    • -1
    • +1
    ./core/ast/DMNLiteralExpressionEvaluator.java
    • -178
    • +184
    ./core/compiler/DMNEvaluatorCompiler.java
    • -0
    • +162
    ./core/compiler/execmodelbased/AbstractModelEvaluator.java
    • -0
    • +114
    ./core/compiler/execmodelbased/DMNUnit.java
    • -0
    • +272
    ./core/compiler/execmodelbased/DTableModel.java
  1. … 15 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
    • +1
    ./core/ast/DMNDecisionServiceEvaluator.java
    • -1
    • +5
    ./core/ast/DecisionServiceNodeImpl.java
  1. … 4 more files in changeset.