Drools

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Upgraded version to 7.40.0.20200703

  1. … 103 more files in changeset.
Drools 5473 - Implement DefineFunction scheleton (#2973)

* [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-5473] Begin implementation of DefineFunctionUtils

* [DROOLS-5473] Refactored tests.

* [DROOLS-5473] Implemented CommonCodegenUtils.getReturnStmt

* [DROOLS-5473] Split ExpressionFunctionUtils MethodDeclaration getters in sub methods. Moving code to common classes

* [DROOLS-5473] Fixed tests

* [DROOLS-5473] Implementing Apply expression. Updated tests

* [DROOLS-5473] Fixing function method invocation. Updated tests

* [DROOLS-5473] Fixed as per PR review

* [DROOLS-5473] Fixing assertion

[DROOLS-5288] Execution default-generateModel ... failed: Scope expression for ... is not present! (#2963)

* Reproducer

* Reproducer

* OOPath is not a problem

* Renamed classes

* Even better reproducer

* Fix not needed scope

* testMapCheckForExistence another problem

* Alwyas use constant parsing in exec model

* inline cast projection

* Fix InlineCastProjection

* Better test

* testInlineCastProjection2

* Removed previous inline cast implementation, added unit test

* Extracted ToMethodCall in a separated class

* Extracted ToMethodCall in a separated class

* Refactor

* Support casting

* Better prepend

* Check before inlinecasting

* Added test

* Removed useless test

* Use explicit list type to avoid collision with List class names

* Reproducer for static function inside enums

* Fix failing test, removed useless check for enum

* New reproducer

* Another reproducer

* Move cast test to InlineCastTest

* Ignored two tests to be fixed in

https://issues.redhat.com/browse/DROOLS-5477

[DROOLS-5420] Change log level in KieRepositoryImpl.addKieModule to DEBUG (#2972)

[DROOLS-5410] Externalize lambda for accumulate (#2968)

* [DROOLS-5410] Externalize lambda for accumulate

* - Fixed code smells

Co-authored-by: Daniele Zonca <dzonca@redhat.com>

[DROOLS-5412] Externalize lambda for OOPath (#2970)

* [DROOLS-5412] Externalize lambda for OOPath

* - fixed code smell

[DROOLS-5275] Descope Traits (#2887)

* [DROOLS-5275] Descope Traits

New module for traits

Dependency on core

trait tests moved from drools core to traits

Split Trait logic in GenericTypeDefinition

Avoid using static method in DefaultFactHandle

Reverted DefaultBeanClassBuilder to master

DefualtBeanClassBuilder does not depend on traits

Moved trait test to LegacyTraitTest.java

Renamed TraitProxy, TraitProxyImpl extends TraitProxy

BaseTraitProxy file in service

Moved traits DRL to traits module

Fix Manual injection in MetadataTest

Injection of TraitPropertyWrapperBuilder

Moved TraitableBean to drools core

Moved TraitTypeMap and TraitableBean to core

Fix testTraitRedundancy

Descope trait OOP, with KieComponentFactoryInjected

Subclass DefaultFactHandle

Removed trait support for DisconnectedFactHandle.java (dead code)

TraitNamedEntryPoint

Moved trait persistence test to traits module

IsAEvaluatorDefinition has to be defined explictly

Removed TRAITSET_FIELD_NAME from listened properties as it wasn't covered by test

Create KnowledgePackageImpl using KieComponentFactory

Subclassed KnowledgePackageImpl to TraitKnowledgePackageImpl.java, removed TraitCoreService.java

removed traits from implicit imports

Fix specific case for JBPM in which the kbase is not present

* Updated TraitExample.java in drools-example to import trait dependency

* Added clarifying comment

* org.drools.traits.core.factmodel.traits

to

org.drools.traits.core.factmodel

* kie-util-test to test scope and jaxb to provided, retriggering

* Fix license

  1. … 358 more files in changeset.
Drools 5472 - Implement ExpressionFunctionUtils (#2971)

* [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 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

  1. … 46 more files in changeset.
[DROOLS-5462] Generating default model name for models missing it. (#2969)

* [DROOLS-5462] Generating default model name for models missing it.

* [DROOLS-5462] Fixed as per PR suggestion

* [DROOLS-5462] Fixed as per PR suggestion

[DROOLS-5443] Move DMN-PMML tests to a separate module (#2967)

  1. … 63 more files in changeset.
[RHDM-1387] use bound variables in property reactivity (#2964) (#2965)

(cherry picked from commit f1c25acb9fe56033b907226d273527b72f6c637e)

[RHDM-1387] use bound variables in property reactivity (#2964)

[DROOLS-5448] Add TransformationDictionary to "compiler" stack method (#2961)

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

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

* [DROOLS-5448] Return unmodifiable maps from PMMLContextImpl

  1. … 11 more files in changeset.
[DROOLS-5435] Created kie-pmml-trusty dependencies module (#2960)

    • -0
    • +98
    /kie-pmml-trusty/kie-pmml-dependencies/pom.xml
DROOLS-5445 DMN function adoc align sum([]) (#2958)

[DROOLS-5436] Moved/renamed kie-pmml-new to kie-pmml-trusty (#2959)

    • binary
    /kie-pmml-trusty/ArchitecturePUML.png
    • binary
    /kie-pmml-trusty/ArchitectureUML.png
    • binary
    /kie-pmml-trusty/CleanPMMLArchitecture.png
    • binary
    /kie-pmml-new/CleanPMMLArchitecture.png
    • -25
    • +0
    /kie-pmml-new/kie-pmml-benchmarks/Tips.md
  1. … 879 more files in changeset.
[DROOLS-5350] Externalize lambda for "from" clause (#2941)

* [DROOLS-5350] Externalize lambda for "from" clause

* - Fixed failure cases

* - Fixed Code Smell

* - Add array type test

* - safe cast

* - ExecModelLambdaPostProcessor constructor refactoring

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

  1. … 35 more files in changeset.
DROOLS-5438 DMN align FEEL behaviour when sum([]) (#2952)

[DROOLS-5362] if the kmodule doesn't have a pom try to determine its dependencies through maven (#2957)

[DROOLS-5434] prevent incorrect warning about file declaring wrong package when running within spring-boot (#2956)

[DROOLS-5444] get rid of no longer useful PropagationQueuingNode (#2955)

DROOLS-5291 & DROOLS-5223: Managing empty and invalid scesim file (#2940)

* DROOLS-5291: Managing empty scesim file

* DROOLS-5291: Changes required during CR

updated to 7.39.1-SNAPSHOT

  1. … 103 more files in changeset.
DROOLS-5440 DMN FEEL built-in functions verifiable documentation (#2953)

* WIP

* finalize list functions doc

* numeric function doc

* WIP

* WIP

* all built-in covered.

* dependency alignment

* .

* .

    • -0
    • +1596
    /kie-dmn/FEELbuiltinfunctions.adoc
[RHDM-1376] org.kie.dmn.validation fails on master with ibm jdk (#2951)

* [RHDM-1376] org.kie.dmn.validation fails on master with ibm jdk

* - check prefix as well

upgraded to next SNAPSHOT version

  1. … 103 more files in changeset.
Checkstyle fix on ScenarioSimulation api module (#2950)

upgraded version to 7.39.0.Final

  1. … 65 more files in changeset.