Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[DROOLS-5637] Hide definedKeySet of InputSet/OutputSet from Swagger/OpenApi (#3098)

    • -0
    • +13
    ./dmn/typesafe/AbstractDMNSetType.java
  1. … 1 more file in changeset.
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

    • -10
    • +59
    ./dmn/typesafe/DMNDeclaredField.java
  1. … 4 more files in changeset.
[DROOLS-5561] Add DMN strongly typed tests for collection of collection (#3073)

    • -0
    • +4
    ./dmn/typesafe/DMNTypeSafeException.java
    • -0
    • +21
    ./dmn/typesafe/FEELPropertyAccessibleImplementation.java
  1. … 4 more files in changeset.
[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

    • -0
    • +9
    ./dmn/core/impl/DMNContextFPAImpl.java
    • -4
    • +47
    ./dmn/typesafe/AbstractDMNSetType.java
    • -6
    • +22
    ./dmn/typesafe/FEELPropertyAccessibleImplementation.java
  1. … 9 more files in changeset.
DROOLS-5414 DMN Valid.rule for DecisionService at least 1 outputDecision (#3083)

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

    • -0
    • +35
    ./dmn/typesafe/DMNAllTypesIndex.java
    • -0
    • +10
    ./dmn/typesafe/DMNDeclaredField.java
  1. … 3 more files 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
    • +2
    ./dmn/typesafe/AbstractDMNSetType.java
    • -0
    • +87
    ./dmn/typesafe/FieldGenStrategy.java
  1. … 3 more files in changeset.
[DROOLS-5538] DMN strongly typed class compile errors for collection types (#3030)

    • -1
    • +2
    ./dmn/typesafe/DMNModelTypesIndex.java
  1. … 2 more files in changeset.
DROOLS-5553 - fix getMetadata in DMNContextFPAImpl (#3018)

* fix getMetadata

* add test

* test cloned metadata

* fix tests

    • -4
    • +5
    ./dmn/core/impl/DMNContextFPAImpl.java
  1. … 1 more file in changeset.
[DROOLS-5502] DMN Generate Strongly Typed Output Set (#2993)

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

- rebased

* - Generate javadoc with DMNType

    • -0
    • +104
    ./dmn/typesafe/AbstractDMNSetType.java
    • -10
    • +7
    ./dmn/typesafe/DMNAllTypesIndex.java
    • -81
    • +2
    ./dmn/typesafe/DMNInputSetType.java
    • -0
    • +29
    ./dmn/typesafe/DMNOutputSetType.java
    • -0
    • +2
    ./dmn/typesafe/FEELPropertyAccessibleImplementation.java
  1. … 22 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

* .

    • -4
    • +16
    ./dmn/typesafe/DMNDeclaredField.java
    • -0
    • +40
    ./dmn/typesafe/DMNStronglyCodeGenConfig.java
  1. … 4 more files 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
    • +10
    ./dmn/core/impl/DMNRuntimeImpl.java
    • -0
    • +18
    ./dmn/core/impl/DMNRuntimeKBWrappingIKB.java
    • -22
    • +13
    ./dmn/core/pmml/DMNKiePMMLTrustyInvocationEvaluator.java
  1. … 11 more files in changeset.
KOGITO-2567 Restore Root classloader in DMNKogito (#2985)

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

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

* .

    • -2
    • +11
    ./dmn/core/ast/DMNContextEvaluator.java
  1. … 2 more files in changeset.
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

    • -3
    • +3
    ./dmn/core/pmml/DMNKiePMMLTrustyInvocationEvaluator.java
    • -133
    • +0
    ./dmn/core/pmml/DMNKiePMMLNewInvocationEvaluator.java
  1. … 58 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

    • -0
    • +139
    ./dmn/core/pmml/AbstractDMNKiePMMLInvocationEvaluator.java
    • -29
    • +129
    ./dmn/core/pmml/AbstractPMMLInvocationEvaluator.java
    • -69
    • +85
    ./dmn/core/pmml/DMNKiePMMLInvocationEvaluator.java
    • -0
    • +133
    ./dmn/core/pmml/DMNKiePMMLNewInvocationEvaluator.java
  1. … 44 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>

    • -10
    • +12
    ./dmn/core/impl/DMNModelImpl.java
  1. … 2 more files in changeset.
[KOGITO-2276] wrong openapi schema for fields (#2922)

* Passing test

* Emit Jackson annotation used by OpenApi

    • -5
    • +12
    ./dmn/typesafe/DMNDeclaredField.java
  1. … 7 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

    • -1
    • +2
    ./dmn/core/ast/DMNDecisionServiceFunctionDefinitionEvaluator.java
  1. … 1 more file in changeset.
DROOLS-5366 DMN DT Analysis avoid duplicate F message (#2913)

  1. … 2 more files in changeset.
DROOLS-5361 DMN DT Analysis Subsumption: Change the message (#2911)

DROOLS-5351 - Allow to provide relative resource resolver for DMN runtime (#2899)

* changed order to allow relativeResolver to be invoked first if given

* expose resource resolver via DMNRutimeBuilder

* reworked accordingly to

https://github.com/kiegroup/drools/pull/2899#issuecomment-630854916

* test coverage (#2)

* better default case (#3)

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

    • -4
    • +4
    ./dmn/core/compiler/DMNCompilerImpl.java
  1. … 1 more file in changeset.
DROOLS-5344 DMN wrong serialization mask for FEEL years and month durat. (#2902)

  1. … 2 more files in changeset.
[DROOLS-4562] DMN validation semantic rules for DMNDI (#2839)

* [DROOLS-4562] DMN validation semantic rules for DMNDI

* - cleanup

* - suppress WARNING for no DMNDI case and trisotech dynamicDecisionService case

* - fixed v1_3 MarshallingUtils

  1. … 14 more files in changeset.
DROOLS-5330 DMN coercion of decision service parameter interaction with typecheck (#2898)

* reproducer

* fix

    • -18
    • +15
    ./dmn/core/ast/DMNDecisionServiceFunctionDefinitionEvaluator.java
    • -0
    • +1
    ./dmn/core/ast/DMNFunctionWithReturnType.java
  1. … 2 more files in changeset.
DROOLS-5301 DMN Strongly assess DMN Import with same name in 2 ns (#2897)

* DROOLS-5301 DMN Strongly assess DMN Import with same name in 2 ns

reproducer

* fix

* changing logger config for the class which can also display package

* sonarcloud score improvement +2

  1. … 4 more files in changeset.
DROOLS-5322 DMN Strongly fix codegen for FEEL id being Java keywords (#2893)

* DROOLS-5322 DMN Strongly fix codegen for FEEL id being Java keywords

reproducer

* fix

* implement code review feedback

    • -0
    • +17
    ./dmn/typesafe/DMNDeclaredField.java
    • -3
    • +3
    ./dmn/typesafe/FEELPropertyAccessibleImplementation.java
  1. … 5 more files in changeset.
DROOLS-5306 DMN type design document as javadoc (#2886)

* DROOLS-5306 DMN type design document as javadoc

* resolving namespace clash

* addendum example making reference to another ItemDefinition

* added implementation notes

* finalizing documentation for inner type

    • -0
    • +3
    ./dmn/core/impl/CompositeTypeImpl.java
  1. … 6 more files in changeset.
DROOLS-5300 DMN Strongly assess Anonymous inner composite collection (#2885)

* DROOLS-5300 DMN Strongly assess Anonymous inner composite collection

* fix

    • -1
    • +1
    ./dmn/typesafe/DMNModelTypesIndex.java
  1. … 2 more files in changeset.