drools-model

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[DROOLS-5752] fix multifunctions accumulate in executable model (#3183)

[DROOLS-5736] move generation of classes for static executable model … (#3178)

* [DROOLS-5736] move generation of classes for static executable model instantiation from kogito to drools

* wip

  1. … 5 more files in changeset.
[DROOLS-5738] fix executable model generation of an accumulate on two patterns calling a static function (#3181)

DROOLS-5740 Fix CMEs when building KieBase (#3172)

* DROOLS-5740 Fix CME in DrlxParseUtil.getAccessor()

* DROOLS-5740 Fix CME in CanonicalKieModule

[DROOLS-5709] Executable model compiler casting int to short causes compilation error when variable is inside the bracket (#3174)

* Test case

* Rewrite every type of expression

* Support arbitrary nested expression for downcast rewriting on primitive types

* Refactor

* Removed spurious example

* Avoid navigating up to the root of a statement

* Removed commenting dmn-validation

Upgraded version to 20201019.test

  1. … 129 more files in changeset.
upgraded to next 7.46.0-SNAPSHOT

  1. … 129 more files in changeset.
Upgraded version to 7.45.0.Final

  1. … 129 more files in changeset.
[DROOLS-5658] [DROOLS-4844] [DROOLS-5657] [DROOLS-2836] [DROOLS-5699] (#3159)

* ANC module compiling, but not created

* Fix pom

* New field for source results

* Removed in memory compilation

* Start compiling in test

* Compiling

* CompiledNetwork is a ObjectSinkPropagator, threfore avoiding having a specific ObjectTypeNode for ANC

* Small refactor

* Avoiding compiling empty

* Wrap originalSinkPropagator in CompiledNetwork

* Fix test accessing the objectSinkPropagator()

* Fix other test

* New KieModule

* Moved test to drools-test-coverage

* Example of injection of multiple services

* Renamed KieBaseUpdater

* Split KieBaseUpdater and Factory

* First draft of KieBaseUpdaterANC

* Fix typo

* First draft of test

* In memory update

* Update only when using alpha network compiler

* Update to 7.45

* IncrementalCompilationTest enabled for ANC

* Correct testing for IncrementalCompilationTest.testKJarUpgradeWithDeclaredType

* Reverted moving DynamicRuleLoadTest to drools-test-coverage

* Reverted some more changes

* Removed previous compiling of ANC

* Removed unused dependency

* Use configuration option

* Fix update of CanonicalKieBaseUpdater

* Avoid deadlock in .fireUntilHalt

* Create KnowledgeBuilder outside the updater

* Fix after rebase

* Slimmer context for additional updaters

* Moved ANC to RuleBaseConfiguration, default to disabled. InMemoryCompilation in KieContainerImpl

* Fix default and test

* Revert back to KnowledgeBuilderConfigurationImpl

* Revert "Moved ANC to RuleBaseConfiguration, default to disabled. InMemoryCompilation in KieContainerImpl"

This reverts commit a4685723

* Fix running of InMemory ANC

* Fix running of InMemory ANC

* [DROOLS-4844] Alpha Network Compiler should be an option in Kie-API

* Added TODO

* Moved ANC test to module

* Additional files generator for exec model

* Experiment with new callbabck after writeProjectOutput with kiebase name

* Revert "Experiment with new callbabck after writeProjectOutput with kiebase name"

This reverts commit 60864351

* Remove this

* ANC Loading from KJar

* Abstract configuration from updater, read anc file to instantiate ANC from the kie-maven-plugin

* Do not silently fail when class not found

* Stable class name for ObjectTypeNodeCompiler

* Correct loading of ANC from Kjar, with unfortunately regeneration of source

* Added tracing, changed package for generated compiled an

* Added some more tracing

* Removed check for empty files

* Removed additional source file generators

* Changed package in OSGi

* Specific exception for ANC

* Refactor

* Added Jira to remember to get IndexableConstraint without generating the whole source code

* Removed comment

* Restored source name for kie-maven-plugin

* Reverted useless code

* Do not use Math.abs of hashcode

* Sonarcloud

* Removed OSGi

* Renamed variable

* Renamed variable

* OSGi again

* Removed OSGi again

* Avoid enque the updaters and run them directly

* PR Review

* License after PR review

* Removed useless in-memory-compiler

* Added comment after release

* Replaced null check with list/singletonList

* Licenses on ANC

* Licenses on ANC

* Licenses on ANC

  1. … 57 more files in changeset.
[DROOLS-5704] fix pattern cloning in executable model (#3167)

Upgraded version to 7.45.0.t20201014

  1. … 127 more files in changeset.
Upgraded version to 7.45.0.t20201009

  1. … 126 more files in changeset.
[RHDM-1470] fix evluation of jitted constraint when a double comparison is passed with a NaN (#3151)

  1. … 2 more files in changeset.
DROOLS-5706 Enable quad-groupBy

[DROOLS-5692] fix constraint evaluation in executable model in presence of a Double.NaN (#3143)

[DROOLS-5367] Avoid needs of kmodule.xml during kiepmmlmodel generation/instantiation (#3117)

* [DROOLS-5367] Updating tests

* [DROOLS-5367] Implemented PMMLRuntimeFactory

* [DROOLS-5367] Implemented common AbstractPMMLTest to be extended by all PMML integration tests. Refactored PMML integration tests. Removed all kmodule.xml

* [DROOLS-5367] Cleanup

* [DROOLS-5367] Moved AbstractPMMLTest to java directory. Refactored PMMLRuntimeFactory to accept a File as parameter

* [DROOLS-5367] Defined HasRule interface

* [DROOLS-5367] Implemented predictable PKGUUID. Moved common methods to org.drools.core.util.StringUtils

* [DROOLS-5367] Add ReleaseId public getter to KnowledgeBuilderImpl

* [DROOLS-5367] Manage missing packageName inside JavaParserUtils

* [DROOLS-5367] Defined assSourceMap method inside HasSourcesMap

* [DROOLS-5367] Defined PMMLRuleMapper/PMMLRuleMappers with codegen factories, templates and tests

* [DROOLS-5367] Overloaded PMMLRuntimeFactory.getPMMLRuntime to accept ReleaseId

* [DROOLS-5367] Add needed dependency on drools-canonical-model

* [DROOLS-5367] Creating/populating PMMLRuleMappers inside PMMLCompilerService

* [DROOLS-5367] Populating KnowledgeBuilderImpl with "Model" at load time

* [DROOLS-5367] Cleanup

* [DROOLS-5367] Implemented optional use of pre-generated PkgUUID

* [DROOLS-5367] Add tests

* [DROOLS-5367] Minor fixes for Kogito integration. Add tests

* [DROOLS-5367] Merge with master

* [DROOLS-5367] Fixed as per PR suggestion

* [DROOLS-5367] Add PMML type to GeneratedFile

  1. … 95 more files in changeset.
DROOLS-5685 ClearActivationGroup command changed its behaviour (#3133)

* DROOLS-5685 ClearActivationGroup command changed its behaviour

reproducer

* fix.

* code comment

(cherry picked from commit 1730221b533e4b8da9c02f5cb8730c2490a39e7e)

DROOLS-5685 ClearActivationGroup command changed its behaviour (#3133)

* DROOLS-5685 ClearActivationGroup command changed its behaviour

reproducer

* fix.

* code comment

[DROOLS-5686] prevent false accumulate node sharing when 2 accumulates bind the same variable name to different declarations (#3131)

  1. … 1 more file in changeset.
[KOGITO-2852] descoping of mvel/asm from the core engine (#3066)

* [KOGITO-2852] descoping of mvel/asm from the core engine

* remove unused spotbugs-maven-plugin in drools-mvel

* [KOGITO-2852] fix osgi support in drools-mvel

* [KOGITO-2852] report meaningful error when drools-mvel is not present on the classpath

* [KOGITO-2852] add readme file for the new drools-mvel module

* [KOGITO-2852] upgrade drools-mvel version in pom

* wip

  1. … 2291 more files in changeset.
[DROOLS-5677] make property reactivity to recognize multiple properties in an expression (#3126)

  1. … 1 more file in changeset.
updated to 7.45.0-SNAPSHOT

  1. … 121 more files in changeset.
Upgraded version to 7.44.0.Final

  1. … 121 more files in changeset.
DROOLS-5678 Align exec model behaviour for @Annotation(value) (#3125)

* DROOLS-5678 Align exec model behaviour for @Annotation(value)

reproducer

* fix.

* Cover cases of backward compatibility:

org.drools.compiler.integrationtests.AnnotationsCepTest.testRuleAnnotation[KieBase

type=STREAM_IDENTITY_MODEL_FLOW]

org.drools.compiler.integrationtests.AnnotationsCepTest.testRuleAnnotation[KieBase

type=STREAM_IDENTITY_MODEL_PATTERN]

org.drools.compiler.integrationtests.drl.ConsequenceTest.testMetaConsequence[KieBase

type=CLOUD_IDENTITY_MODEL_FLOW]

org.drools.compiler.integrationtests.drl.ConsequenceTest.testMetaConsequence[KieBase

type=CLOUD_IDENTITY_MODEL_PATTERN]

org.drools.compiler.integrationtests.drl.DRLTest.testRuleMetaAttributes[KieBase

type=CLOUD_IDENTITY_MODEL_FLOW]

org.drools.compiler.integrationtests.drl.DRLTest.testRuleMetaAttributes[KieBase

type=CLOUD_IDENTITY_MODEL_PATTERN]

updated to 7.44.1-SNAPSHOT

  1. … 121 more files in changeset.
[DROOLS-5652] String relational comparison fails with executable-model (#3111)

[DROOLS-5486] CEP doesn't evaluate correctly when a bind variable is … (#3088)

* [DROOLS-5486] CEP doesn't evaluate correctly when a bind variable is used as the first temporal parameter in executable model

* - add thisOnRight to TemporalPredicate

* - Fixed externalized lambda issue

- Fixed code smells

[DROOLS-5640] fix executable model code generation when using a binary expression as source for a from (#3101)

upgraded to 7.43.1.Final

  1. … 121 more files in changeset.
[DROOLS-5635] fix executable model when using an existental pattern in an accumulate and binding the accumulated value with a from (#3093)