Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DROOLS-4745 DMN v1.3 support (#2648)

* DROOLS-4745 DMN v1.3 support

* Marshalling

* XSD resource files for dmn-validation

* wip

* Add ch11 second example test

* Fix typo and missing default xmlns namespace in Ch11 2nd example

* Validator WIP

* wip

* finalizing validator

* .

* .

* .

  1. … 170 more files in changeset.
DROOLS-4627 DMN DS invocation message for parameter name coercion (#2573)

DROOLS-4488 DMN runtime listener from kmodule (followup for Kogito) (#2530)

* DROOLS-4488 DMN runtime listener from kmodule (followup for Kogito)

* sonarcloud

DROOLS-4488 DMN runtime listener from kmodule (#2526)

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

  1. … 4 more files in changeset.
DROOLS-4129 DMN BKM invocation type check (#2376)

* WIP

* WIP

* WIP

* WIP

* .

  1. … 9 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.
[RHDM-969] avoid serializing a DMNPackage when serialization is done for cloning purpose (#2368)

  1. … 6 more files in changeset.
DROOLS-3136 DROOLS-2609 DMN Validation Decision Table Analysis end-to-end API (#2275)

* WIP

* Gaps analysis draft

* Metamodel to assert Gaps values.

* Refactoring to use DMNProfile as FEELProfile(s)

* WIP

* Bound ordering, Infix EQ

* Implement String discrete domain GAP analysis.

* .

* Minors.

* .

* Drafting OVERLAP analysis

* extend test

* extend tests.

* refactor

* Test refactor.

* Test infrastructure refactor to accomodate for multiple DMNMessages

* Refactor Overlap as DMNMessage too, and refactor tests

* Rename flag

* Lookup typeRef heuristics, refactor for empty DTAnalysis messages

* Minor refactorings

* Test Refactorings

* DTANALYSIS_ERROR_RULE_OUTSIDE_DOMAIN

* compile output entry rule value

* .

* license header fixes

* License header fixes (test classes)

* terminology fixes

* Unlink drools-verifier module until next re-sync

* Rebase and imports alignments after rebase

* Implement code review feedback

* implement code review feedback

* .

  1. … 48 more files in changeset.
[Drools-3444] Support monitoring (#2236)

* Pass reference of before event in after

* Use timestamp instead of object

* Use shared event for n listeners

* After Activation has a reference to BeforeActivation

BeforeActivation has a timestamp

* Getter for before event

    • -0
    • +9
    ./BeforeEvaluateDecisionEventImpl.java
  1. … 5 more files in changeset.
DROOLS-3355: Improve Assembler/Weaver API (#2181)

* cleanup

* fix compile

* rename AssemblerContext to DroolsAssemblerContext

* whitespace

* docs

* simpler ProcessPackage API

* use less specific result type in processbuilder interface

* revert process changes

* fix package serialization

* require non-null namespace on BaseDescr

as a side-effect: raises an expected exception in a jbpm test

  1. … 31 more files in changeset.
DROOLS-3450 Error during DMNModelImpl serialization (#2201)

  1. … 1 more file in changeset.
DROOLS-3379: RuntimeService API should not require a KSession to create an instance (#2170)

  1. … 4 more files in changeset.
DROOLS-3335 Broken DMN resource to inhibit KJAR and report error (#2165)

* WIP

* WIP

* Correct DMN model typos

* addendum to DROOLS-2075 Allow empty output cell on DTs

* Align kie-dmn-core

* Align kie-dmn-validation

* cleanup test

* Kie API usage snippet for custom build for documentation

* added license header

* implement code review feedback

  1. … 13 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-3132 DMN assign null to ItemDefinition with allowedValues (#2108)

  1. … 3 more files in changeset.
DROOLS-3045 DMN model API to display namespace transitive import deps (#2087)

  1. … 3 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-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. … 4 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. … 3 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. … 395 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
    • +81
    ./AfterEvaluateContextEntryEventImpl.java
    • -0
    • +74
    ./BeforeEvaluateContextEntryEventImpl.java
    • -26
    • +47
    ./DMNRuntimeEventManagerUtils.java
  1. … 7 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. … 8 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
    • +48
    ./AfterEvaluateDecisionServiceEventImpl.java
    • -0
    • +47
    ./BeforeEvaluateDecisionServiceEventImpl.java
  1. … 31 more files in changeset.
JBPM-7368 - CMMN ProcesTask and DecisionTask reference support (#1946)

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

    • -0
    • +83
    ./DMNContextFEELCtxWrapper.java
  1. … 19 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. … 9 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. … 21 more files in changeset.