Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[DROOLS-5584] fix lazy kbuilder creation from an empty one (#3102)

* [DROOLS-5584] fix lazy kbuilder creation from an empty one

* [DROOLS-5584] add test

* [DROOLS-5584] add test

  1. … 2 more files in changeset.
[DROOLS-5637] Hide definedKeySet of InputSet/OutputSet from Swagger/OpenApi (#3098)

KOGITO-2277 fix OpenAPI schema for temporals (#3097)

* .

* basic supports

* Support Swagger/OpenAPI for ARRAY<temporal>

* Support for io.swagger OAS v3 annotations

* implement code review feedback

* implement code review feedback

    • -0
    • +53
    ./test/resources/org/kie/dmn/core/stronglytyped/nextDays.dmn
  1. … 1 more file in changeset.
[DROOLS-5561] Add DMN strongly typed tests for collection of collection (#3073)

    • -0
    • +12
    ./main/java/org/kie/dmn/typesafe/DMNTypeUtils.java
[DROOLS-5517] Enhance DMNResult/DMNContext to be able to return stron… (#3032)

* [DROOLS-5517] Enhance DMNResult/DMNContext to be able to return strongly typed OutputSet

* - cover evaluateById and evaluateByName

* - Move conversion to the test infrastructure

    • -14
    • +63
    ./test/java/org/kie/dmn/core/BaseVariantTest.java
    • -0
    • +122
    ./test/resources/org/kie/dmn/core/stronglytyped/2decisions.dmn
  1. … 2 more files in changeset.
DROOLS-5414 DMN Valid.rule for DecisionService at least 1 outputDecision (#3083)

    • -0
    • +1
    ./main/java/org/kie/dmn/core/util/Msg.java
  1. … 7 more files in changeset.
DROOLS-5606 DMN wrong rule index in message when not conforming (#3068)

  1. … 1 more file in changeset.
DROOLS-5598 Review kie-dmn-validation BULK DMN examples version in codebase (#3062)

* archived DMNv1.1 tests.

* tests to be archived.

* pom update to rely on -validation test infra.

* Test DMNv1_1 archived, some failing because referencing DMNv1.2

* REMOVED non specific to DMNv1.1 validation tests

Removed tests which pertained to DMNv1.2 or later

or tests which not relates to model specifically built for validation

and actually coming from -core (as they are done already in the main

-validation module)

* REBASED so .gitignore no longer needed.

* Migration of DMNv1.1 to DMNv1.2 test files.

* In DMNv1.2 by default it is expected a defined type or a built-in type

fix the test

* In DMNv1.2 typeRef is no longer an XSD:QName

migrate TYPEREF_NO_NS.dmn manually

update test to reflect DMNv1.2 semantics.

* cleanups

* reinstantiate references in a test file.

* adding disclaimer these are archived/old DMNv1.1 tests

* Remove NOTES files in preparation of review

  1. … 182 more files in changeset.
DROOLS-5595 Review kie-dmn-core BULK DMN examples version in codebase (#3058)

* WIP

* appending XML message for old version warning

* unused models

* WORKING on migration in kie-dmn-core, test FAILURES

* WIP fixing test FAILUREs

* fix Dinner.dmn itemDefinition XML tag which was not in the correct NS

* migrate alternative_feel_ns_declaration.dmn manually

* fix Importing_Person_DT_with_Person.dmn

* Fix DMNDecisionServicesTest errors.

* UNDO DMNv1.1 migrations in imports folder

* Migrate imports test from DMNv1.1 to DMNv1.2

* Remove NOTES files in preparation of review.

* final cleanups

* final cleanups

* final cleanups

    • -36
    • +47
    ./test/resources/org/kie/dmn/core/0001-filter.dmn
    • -1401
    • +1438
    ./test/resources/org/kie/dmn/core/0004-lending.dmn
  1. … 376 more files in changeset.
DROOLS-5589 Review kie-dmn-core misc DMN examples version in codebase (#3057)

DROOLS-5588 Review kie-dmn-core questionmarkunarytest DMN examples ... (#3052)

... version in codebase

  1. … 3 more files in changeset.
KOGITO-3126 DMN fix regression on Kogito not highlighted by Jenkins/CI (#3050)

  1. … 1 more file in changeset.
[DROOLS-5518] DMN strongly typed class compile errors for capitalized… (#3034)

* [DROOLS-5518] DMN strongly typed class compile errors for capitalized/non-capitalized properties conflict

* - Introduced FieldGenStrategy

* - license header

    • -1
    • +0
    ./main/java/org/kie/dmn/typesafe/DMNTypeUtils.java
    • -0
    • +87
    ./main/java/org/kie/dmn/typesafe/FieldGenStrategy.java
[DROOLS-5538] DMN strongly typed class compile errors for collection types (#3030)

[DROOLS-5555] Solve test dmn files duplication (#3025)

* [DROOLS-5555] Solve test dmn files duplication

* Update kie-dmn/kie-dmn-core/src/test/java/org/kie/dmn/core/stronglytyped/JavadocTest.java

Co-authored-by: Matteo Mortari <matteo.mortari@gmail.com>

* - fixed duplicate 'class'

Co-authored-by: Matteo Mortari <matteo.mortari@gmail.com>

DROOLS-5553 - fix getMetadata in DMNContextFPAImpl (#3018)

* fix getMetadata

* add test

* test cloned metadata

* fix tests

[DROOLS-5502] DMN Generate Strongly Typed Output Set (#2993)

* [DROOLS-5502] DMN Generate Strongly Typed Output Set

- rebased

* - Generate javadoc with DMNType

    • -0
    • +104
    ./main/java/org/kie/dmn/typesafe/AbstractDMNSetType.java
    • -0
    • +29
    ./main/java/org/kie/dmn/typesafe/DMNOutputSetType.java
    • -1
    • +39
    ./test/java/org/kie/dmn/core/BaseVariantTest.java
    • -0
    • +142
    ./test/java/org/kie/dmn/core/stronglytyped/JavadocTest.java
  1. … 14 more files in changeset.
DROOLS-5530 DMN strongly typed codegen Eclipse MP OpenAPI enum String (#3006)

* DROOLS-5530 DMN strongly typed codegen Eclipse MP OpenAPI enum String

* .

    • -0
    • +71
    ./test/java/org/kie/dmn/core/stronglytyped/AnnotationsTest.java
    • -0
    • +56
    ./test/resources/org/kie/dmn/core/stronglytyped/NSEW.dmn
  1. … 1 more file in changeset.
DROOLS-5491 - Integrate PMML with Kogito (#2994)

* [DROOLS-5247] Implemented/propagate Transformation Map (to be populated)

* [Drools-5373] Refactored PMMLAssembler - implemented two delegates PMMLCompilerService and PMMLLoaderService

* [DROOLS-5372] Implement dynamic ResourceType switch inside PMMLAssemblerService(s)

* [DROOLS-5372] Using PMMLConstants for system property retrieval/setting

* [DROOLS-5372] Implementing AbstractDMNKiePMMLInvocationEvaluator and DMNKiePMMLNewInvocationEvaluator. Refactored DMNKiePMMLInvocationEvaluator. Implement switch between them inside AbstractPMMLInvocationEvaluator

* [DROOLS-5372] Fixing bug with nested node containing only a True predicate. Add test

* [DROOLS-5372] Working on DMN-PMML implementation

* [DROOLS-5423] Declaring glassfish jaxb-runtime dependency for JDK >= 11 to maintain compiler functionality in such environments

* [DROOLS-5372] Add specific message for missing PMML result. Working on tests (currently broken when run together)

* [DROOLS-5258] Working with tests. Currently broken if DMNTreePMMLTest and DMNTreePMMLNewImplTest run concurrently.

LOT of System.out.println to remove

* [DROOLS-5372] Working with tests. Currently broken if DMNTreePMMLTest and DMNTreePMMLNewImplTest run concurrently.

LOT of System.out.println to remove

* [DROOLS-5372] Implemented reset workaround

* [DROOLS-5372] Fixed DMN-PMML tests

* [DROOLS-5372] Replaced ContextClassLoader.loadClass(...) with Class.forName(...)

* [DROOLS-5247] Begin modifications

* [DROOLS-5247] Removed unused import

* [DROOLS-5448] Add TransformationDictionary to "compiler" stack methods. Implemented transformations flow inside Runtime.

* [DROOLS-5247] Begin implementation of actual Transformation management

* [DROOLS-5448] Make all parameters "final" in modified classes. Fixed local transformations logic inside PMMLRuntimeImpl

* [DROOLS-5448] Return unmodifiable maps from PMMLContextImpl

* [DROOLS-5247] Invoking populateTransformationsInConstructor from models factories

* [DROOLS-5247] Renamed for consistence with current module name

* [DROOLS-5247] Begin implementation of codegen for specific Expressions

* [DROOLS-5247] Add Javadocs to illustrate generated code

* [DROOLS-5247] Add method to CommonCodegenUtils. Update relevant tests

* [DROOLS-5247] Add method to DerivedFieldFunctionUtils. Update relevant tests

* [DROOLS-5247] Add new values to DATA_TYPE to match new DataType definition

* [DROOLS-5247] Implemented KiePMMLDerivedFieldASTFactory. Implemented KiePMMLDerivedFieldASTFactoryTest

* [DROOLS-5247] Add common methods to DroolsModelProvider. Implemented DroolsModelProviderTest

* [DROOLS-5247] Regression tests

* [DROOLS-5247] Minor fixes

* [DROOLS-5247] Add common methods to DroolsModelProvider. Implemented DroolsModelProviderTest

* [DROOLS-5247] Add Scorecard/TreeModel integration tests with transformations

* [DROOLS-5247] Add MISSING_BODY_TEMPLATE constant

* [DROOLS-5247] Add Transformations management inside KiePMMLModelFactoryUtils. Implemented tests

* [DROOLS-5247] Add TransformationDictionary parameter inside KiePMMLModelRetriever methods. Implemented/updated tests

* [DROOLS-5247] Updated KiePMMLRegressionModelFactory. Implemented/updated tests

* [DROOLS-5247] Avoid NPE inside KiePMMLRegressionTableClassificationFactory

* [DROOLS-5247] Removing MISSING_BODY_TEMPLATE and importing from Constants

* [DROOLS-5247] Moved List<KiePMMLDroolsType> types population in DroolsModelProvider.getKiePMMLDroolsASTCommon. Updated tests

* [DROOLS-5247] Renaming/clean up tests

* [DROOLS-5247] Add transformations management inside KiePMMLScorecardModelFactory generated sources. Updated tests

* [DROOLS-5247] Add transformations management inside KiePMMLTreeModelFactory generated sources. Updated tests

* [DROOLS-5461] Fixing build/test

* [DROOLS-5461] Fixing as per PR review

* [DROOLS-5461] Removing extensions data types from DATA_TYPE. Fixed test that used them

* [DROOLS-5472] Implemented ExpressionFunctionUtils. Removed "method arity" management from CommonCodeGenUtils. Implemented/updated tests

* [DROOLS-5247] Updated Release.md

* [DROOLS-5492] Propagating PMMLRuntime to DMNKiePMMLTrustyInvocationEvaluator

* [DROOLS-5493] Adapting to kogito environment

* [DROOLS-5491] Working DMN+PMML integration

* [DROOLS-5491] Cleanup

* [DROOLS-5491] Replacing PMMLRuntime propagation

* [DROOLS-5491] Add tests

* [DROOLS-5491] Fixed as per PR suggestions

* [DROOLS-5491] Fixing package name resolution for Java 8

* Update kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/impl/DMNRuntimeKB.java

Co-authored-by: Matteo Mortari <matteo.mortari@gmail.com>

* Update kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/impl/DMNRuntimeKBWrappingIKB.java

Co-authored-by: Matteo Mortari <matteo.mortari@gmail.com>

* Update kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/impl/VoidDMNRuntimeKB.java

Co-authored-by: Matteo Mortari <matteo.mortari@gmail.com>

* Update kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/internal/utils/DMNRuntimeBuilder.java

Co-authored-by: Matteo Mortari <matteo.mortari@gmail.com>

* Update kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/internal/utils/DMNRuntimeBuilder.java

Co-authored-by: Matteo Mortari <matteo.mortari@gmail.com>

* Update kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/internal/utils/DMNRuntimeBuilder.java

Co-authored-by: Matteo Mortari <matteo.mortari@gmail.com>

* Update kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/internal/utils/DMNRuntimeBuilder.java

Co-authored-by: Matteo Mortari <matteo.mortari@gmail.com>

* [DROOLS-5491] Fixed as per PR suggestion

Co-authored-by: Matteo Mortari <matteo.mortari@gmail.com>

    • -0
    • +29
    ./test/java/org/kie/dmn/core/impl/VoidDMNRuntimeKBTest.java
  1. … 9 more files in changeset.
KOGITO-2567 Restore Root classloader in DMNKogito (#2985)

DROOLS-5484 DMN test DT in context reports warn of no matched rules (#2976)

DROOLS-5481 DMN emit error DMNMessage when exception in contextentry (#2974)

* DROOLS-5481 DMN emit error DMNMessage when exception in contextentry

* .

    • -0
    • +1
    ./main/java/org/kie/dmn/core/util/Msg.java
    • -0
    • +15
    ./test/java/org/kie/dmn/core/DMNRuntimeTest.java
    • -0
    • +20
    ./test/resources/org/kie/dmn/core/exceptionInContextEntry.dmn
Drools 5461 - Overall Transformations Workflow (#2966)

* [DROOLS-5247] Implemented/propagate Transformation Map (to be populated)

* [Drools-5373] Refactored PMMLAssembler - implemented two delegates PMMLCompilerService and PMMLLoaderService

* [DROOLS-5372] Implement dynamic ResourceType switch inside PMMLAssemblerService(s)

* [DROOLS-5372] Using PMMLConstants for system property retrieval/setting

* [DROOLS-5372] Implementing AbstractDMNKiePMMLInvocationEvaluator and DMNKiePMMLNewInvocationEvaluator. Refactored DMNKiePMMLInvocationEvaluator. Implement switch between them inside AbstractPMMLInvocationEvaluator

* [DROOLS-5372] Fixing bug with nested node containing only a True predicate. Add test

* [DROOLS-5372] Working on DMN-PMML implementation

* [DROOLS-5423] Declaring glassfish jaxb-runtime dependency for JDK >= 11 to maintain compiler functionality in such environments

* [DROOLS-5372] Add specific message for missing PMML result. Working on tests (currently broken when run together)

* [DROOLS-5258] Working with tests. Currently broken if DMNTreePMMLTest and DMNTreePMMLNewImplTest run concurrently.

LOT of System.out.println to remove

* [DROOLS-5372] Working with tests. Currently broken if DMNTreePMMLTest and DMNTreePMMLNewImplTest run concurrently.

LOT of System.out.println to remove

* [DROOLS-5372] Implemented reset workaround

* [DROOLS-5372] Fixed DMN-PMML tests

* [DROOLS-5372] Replaced ContextClassLoader.loadClass(...) with Class.forName(...)

* [DROOLS-5247] Begin modifications

* [DROOLS-5247] Removed unused import

* [DROOLS-5448] Add TransformationDictionary to "compiler" stack methods. Implemented transformations flow inside Runtime.

* [DROOLS-5247] Begin implementation of actual Transformation management

* [DROOLS-5448] Make all parameters "final" in modified classes. Fixed local transformations logic inside PMMLRuntimeImpl

* [DROOLS-5448] Return unmodifiable maps from PMMLContextImpl

* [DROOLS-5247] Invoking populateTransformationsInConstructor from models factories

* [DROOLS-5247] Renamed for consistence with current module name

* [DROOLS-5247] Begin implementation of codegen for specific Expressions

* [DROOLS-5247] Add Javadocs to illustrate generated code

* [DROOLS-5247] Add method to CommonCodegenUtils. Update relevant tests

* [DROOLS-5247] Add method to DerivedFieldFunctionUtils. Update relevant tests

* [DROOLS-5247] Add new values to DATA_TYPE to match new DataType definition

* [DROOLS-5247] Implemented KiePMMLDerivedFieldASTFactory. Implemented KiePMMLDerivedFieldASTFactoryTest

* [DROOLS-5247] Add common methods to DroolsModelProvider. Implemented DroolsModelProviderTest

* [DROOLS-5247] Regression tests

* [DROOLS-5247] Minor fixes

* [DROOLS-5247] Add common methods to DroolsModelProvider. Implemented DroolsModelProviderTest

* [DROOLS-5247] Add Scorecard/TreeModel integration tests with transformations

* [DROOLS-5247] Add MISSING_BODY_TEMPLATE constant

* [DROOLS-5247] Add Transformations management inside KiePMMLModelFactoryUtils. Implemented tests

* [DROOLS-5247] Add TransformationDictionary parameter inside KiePMMLModelRetriever methods. Implemented/updated tests

* [DROOLS-5247] Updated KiePMMLRegressionModelFactory. Implemented/updated tests

* [DROOLS-5247] Avoid NPE inside KiePMMLRegressionTableClassificationFactory

* [DROOLS-5247] Removing MISSING_BODY_TEMPLATE and importing from Constants

* [DROOLS-5247] Moved List<KiePMMLDroolsType> types population in DroolsModelProvider.getKiePMMLDroolsASTCommon. Updated tests

* [DROOLS-5247] Renaming/clean up tests

* [DROOLS-5247] Add transformations management inside KiePMMLScorecardModelFactory generated sources. Updated tests

* [DROOLS-5247] Add transformations management inside KiePMMLTreeModelFactory generated sources. Updated tests

* [DROOLS-5461] Fixing build/test

* [DROOLS-5461] Fixing as per PR review

* [DROOLS-5461] Removing extensions data types from DATA_TYPE. Fixed test that used them

* [DROOLS-5461] Removing unimplemented tests

    • -0
    • +148
    ./test/resources/org/kie/dmn/core/pmml/KiePMMLNewTree.dmn
    • -0
    • +43
    ./test/resources/org/kie/dmn/core/pmml/test_tree_new.pmml
  1. … 54 more files in changeset.
[DROOLS-5443] Move DMN-PMML tests to a separate module (#2967)

    • -62
    • +0
    ./test/resources/org/kie/dmn/core/pmml/KMeans.dmn
  1. … 63 more files in changeset.
[DROOLS-5436] Moved/renamed kie-pmml-new to kie-pmml-trusty (#2959)

  1. … 893 more files in changeset.
Drools 5372 - Implement PMML coexistence (#2948)

* [Drools-5373] Refactored PMMLAssembler - implemented two delegates PMMLCompilerService and PMMLLoaderService

* [DROOLS-5372] Implement dynamic ResourceType switch inside PMMLAssemblerService(s)

* [DROOLS-5372] Using PMMLConstants for system property retrieval/setting

* [DROOLS-5372] Implementing AbstractDMNKiePMMLInvocationEvaluator and DMNKiePMMLNewInvocationEvaluator. Refactored DMNKiePMMLInvocationEvaluator. Implement switch between them inside AbstractPMMLInvocationEvaluator

* [DROOLS-5372] Fixing bug with nested node containing only a True predicate. Add test

* [DROOLS-5372] Working on DMN-PMML implementation

* [DROOLS-5423] Declaring glassfish jaxb-runtime dependency for JDK >= 11 to maintain compiler functionality in such environments

* [DROOLS-5372] Add specific message for missing PMML result. Working on tests (currently broken when run together)

* [DROOLS-5258] Working with tests. Currently broken if DMNTreePMMLTest and DMNTreePMMLNewImplTest run concurrently.

LOT of System.out.println to remove

* [DROOLS-5372] Working with tests. Currently broken if DMNTreePMMLTest and DMNTreePMMLNewImplTest run concurrently.

LOT of System.out.println to remove

* [DROOLS-5372] Implemented reset workaround

* [DROOLS-5372] Fixed DMN-PMML tests

* [DROOLS-5372] Replaced ContextClassLoader.loadClass(...) with Class.forName(...)

* [DROOLS-5372] Add kie-pmml-new to drools build

* [DROOLS-5372] Excluding dependencies from org.kie:kie-test-util due to ban-duplicated-classes enforcer rule fired on FDB

* [DROOLS-5372] Excluding dependencies due to ban-duplicated-classes enforcer rule fired on FDB

* [DROOLS-5372] Fixed as per PR suggestion

* [DROOLS-5372] Fixed as per PR suggestion

* [DROOLS-5372] Revert empty spaces/formatting modification

    • -11
    • +10
    ./main/java/org/kie/dmn/core/util/KieHelper.java
    • -0
    • +2
    ./main/java/org/kie/dmn/core/util/Msg.java
    • -0
    • +33
    ./test/java/org/kie/dmn/core/pmml/AbstractDMNPMMLTest.java
    • -0
    • +108
    ./test/java/org/kie/dmn/core/pmml/DMNTreePMMLNewImplTest.java
  1. … 35 more files in changeset.
DROOLS-5391 DMN external Java fn parameter resolution (#2924)

* reproducer

* fix

* .

* .

  1. … 3 more files in changeset.
[DROOLS-5404] Preserve the order of the DMN definitions elements in the DMNModel (input data, decision, bkms, item definitions, decision services) (#2928)

Co-authored-by: Simon Ringuette <sringuette@trisotech.com>

    • -0
    • +187
    ./test/resources/org/kie/dmn/core/Order.dmn
[KOGITO-2276] wrong openapi schema for fields (#2922)

* Passing test

* Emit Jackson annotation used by OpenApi

  1. … 3 more files in changeset.
[DROOLS-5409] Fix context metadata in AfterInvokeBKMEvent (#2934)

* [DROOLS-5409] Fix context metadata in AfterInvokeBKMEvent

* [DROOLS-5409] Add tests for metadata in DMN events

* [DROOLS-5409] Fix context metadata in events when calling DMNRuntime::evaluateByName