Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

    • -0
    • +44
    ./profiles/CustomModelCountDMNProfile.java
    • -0
    • +41
    ./profiles/CustomModelCountFunction.java
    • -8
    • +24
    ./profiles/ExtendedDMNProfileTest.java
  1. … 4 more files in changeset.
DROOLS-4544: adding support for durations on the abs() function (#2545)

* DROOLS-4544: adding support for durations on the abs() function

* DROOLS-4544: adding tests for null values

    • -6
    • +0
    ./profiles/ExtendedDMNProfileTest.java
  1. … 3 more files in changeset.
DROOLS-4099 DMN strict mode flag realignments (#2378)

* DROOLS-4099 DMN strict mode flag realignments

realign to DMN v1.2

* Implement code review feedback

    • -12
    • +12
    ./profiles/ExtendedDMNProfileTest.java
  1. … 37 more files in changeset.
DROOLS-3070 Ensure DMN tests run parameterized with executable model (#2096)

* DROOLS-3070 Add exec model parameter to additional tests in kie-dmn-core

* DROOLS-3070 Fix checkstyle warnings in kie-dmn-core tests

* DROOLS-3070 Add exec. model parameter to FEEL extended profile tests

* DROOLS-3070 Fix checkstyle warnings in kie-dmn-feel runtime tests

* DROOLS-3070 Cast the left part of a "+" expression to BigDecimal

    • -63
    • +63
    ./ImportDMNResolverUtilTest.java
    • -8
    • +8
    ./ItemDefinitionDependenciesGeneratedTest.java
    • -105
    • +94
    ./ItemDefinitionDependenciesTest.java
    • -48
    • +48
    ./extensions/DMNExtensionRegisterTest.java
    • -3
    • +3
    ./profiles/ExtendedDMNProfileTest.java
  1. … 59 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

* .

    • -4
    • +5
    ./ItemDefinitionDependenciesGeneratedTest.java
    • -2
    • +2
    ./extensions/DMNExtensionRegisterTest.java
    • -1
    • +1
    ./extensions/FirstNameLastNameProfile.java
  1. … 392 more files in changeset.
DROOLS-2732 FEEL invoking a function on a literal context (#1979)

    • -3
    • +3
    ./ItemDefinitionDependenciesGeneratedTest.java
  1. … 7 more files in changeset.
DROOLS-2521 Implement FEEL functions in preparation for DMN 1.2 (#1893)

    • -1
    • +122
    ./profiles/ExtendedDMNProfileTest.java
  1. … 21 more files in changeset.
DROOLS-1663 defaults for DMN Import xml element attributes semantic (#1846)

The "drools:name" property should never be used to lookup a model,

it should be used exclusively to assign an alias to whatever model is

imported, otherwise we would be overloading its semantics.

  1. … 1 more file 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

    • -0
    • +161
    ./ImportDMNResolverUtilTest.java
  1. … 22 more files in changeset.
DMN adjust logging level for ItemDefinitionDependenciesGeneratedTest (#1794)

    • -3
    • +3
    ./ItemDefinitionDependenciesGeneratedTest.java
DROOLS-2318 DMN: Add generated tests that check ItemDefiniton sorting (#1782)

* DROOLS-2318 DMN: Add generated tests that check ItemDefinition sorting

* DROOLS-2318 DMN: Add generated tests that check ItemDefinition sorting

* DROOLS-2318 DMN: Add generated tests that check ItemDefinition sorting

* DROOLS-2318 DMN: Add generated tests that check ItemDefinition sorting

    • -0
    • +219
    ./ItemDefinitionDependenciesGeneratedTest.java
DMN additional test coverage scenario for ItemDefinition comparator (#1763)

    • -0
    • +34
    ./ItemDefinitionDependenciesTest.java
.

DROOLS-2316 wrong ordering of ItemDefinition for compilation

Reproducer

    • -3
    • +35
    ./ItemDefinitionDependenciesTest.java
DROOLS-2279 Realign extension registers test to master using DMNProfile

    • -15
    • +6
    ./extensions/DMNExtensionRegisterTest.java
    • -0
    • +29
    ./extensions/FirstNameLastNameProfile.java
  1. … 1 more file in changeset.
strict mode

    • -2
    • +6
    ./extensions/DMNExtensionRegisterTest.java
    • -0
    • +48
    ./profiles/ExtendedDMNProfileTest.java
  1. … 22 more files in changeset.
strict mode

    • -2
    • +6
    ./extensions/DMNExtensionRegisterTest.java
    • -0
    • +48
    ./profiles/ExtendedDMNProfileTest.java
  1. … 22 more files in changeset.
DROOLS-2144 Fix BaseFEELFunction.getCandidateMethod for non-custom funct (#1612)

.. with empty param, but implementation using EvaluationCotnext

    • -0
    • +71
    ./profiles/DMNProfilesTest.java
    • -0
    • +29
    ./profiles/Just47DMNProfile.java
    • -0
    • +24
    ./profiles/Just47Function.java
  1. … 2 more files in changeset.
DROOLS-1543 DMN ItemDefinition dependencies ordering (#1245)

Replace Java-api Comparator implementation

with approximation of topological sort.

(cherry picked from commit 055b842 PR #1235)

    • -71
    • +0
    ./ItemDefinitionDependenciesComparatorTest.java
    • -0
    • +154
    ./ItemDefinitionDependenciesTest.java
  1. … 3 more files in changeset.
DROOLS-1543 DMN ItemDefinition dependencies ordering (#1235)

Replace Java-api Comparator implementation

with approximation of topological sort.

    • -71
    • +0
    ./ItemDefinitionDependenciesComparatorTest.java
    • -0
    • +154
    ./ItemDefinitionDependenciesTest.java
  1. … 3 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
    • +180
    ./extensions/DMNExtensionRegisterTest.java
    • -0
    • +33
    ./extensions/FirstNameDescription.java
    • -0
    • +29
    ./extensions/FirstNameDescriptionRegister.java
    • -0
    • +33
    ./extensions/LastNameDescription.java
    • -0
    • +28
    ./extensions/LastNameDescriptionRegister.java
  1. … 15 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
    • +180
    ./extensions/DMNExtensionRegisterTest.java
    • -0
    • +33
    ./extensions/FirstNameDescription.java
    • -0
    • +29
    ./extensions/FirstNameDescriptionRegister.java
    • -0
    • +33
    ./extensions/LastNameDescription.java
    • -0
    • +28
    ./extensions/LastNameDescriptionRegister.java
  1. … 15 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.

    • -2
    • +3
    ./ItemDefinitionDependenciesComparatorTest.java
  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.

    • -2
    • +3
    ./ItemDefinitionDependenciesComparatorTest.java
  1. … 21 more files in changeset.
DROOLS-1505 Model cannot compile if an item definition is using anoth… (#1188)

* DROOLS-1505 Model cannot compile if an item definition is using another item definition that is define after it

* Implemented using ItemDefinition custom Comparator

* Small optimization of recursion

    • -0
    • +70
    ./ItemDefinitionDependenciesComparatorTest.java
  1. … 4 more files in changeset.