Drools

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[RHBRMS-3082] avoid to create a useless path memory during the removal of a rule (#1803)

[Drools-2284] Support legacy accumulate with two bindings (#1800)

* testExpandedAccumulateWith2Args2Bindings

* New test for generation of template

* stubbed implementation

* Use JavaParser to compare parsed results rather than strings

* LegacyAccumulateInvoker

* Set package

* Some more class generation

* Fix compilation

* Use legacy class generation

* Added the generated classes to the context

* Also compile generated accumulate classes

* Also compile the Invoker

* Compile only the first invoker

* New dsl for legacy accumulate function

* Add accumulate invoker call

* Also really compile Invoker

* LegacyAccumulator with overload of DSL method

* Use invoker as accumulator

* Hardcoded solution

* Correct solution

* Remove generated classes

* Reenabled pattern test

* Removed trace debugger

* Refactor

* Refactor accumulator creation

* Refactor of accumulate creation

* Removed useless compilation

* Removed dependency on registry

* Removed useless accumulate classes

* Removed accumulateInvoker generation with JavaParser

* Use Legacy Accumulator

* Refactor of LegacyAccumulator

* Avoid double invoker generator

DROOLS-1679 revert and empty-list if any error in FEEL list filtering (#1793)

Continued from commit 6c8d3f9a1b6c3ba420445c99f50a65f066a01ca7

https://github.com/kiegroup/drools/pull/1514

JBPM-6894 - User should be able to define case, process, activity level SLA (#1795)

upgraded to 7.7.0.t025

  1. … 52 more files in changeset.
Proper parsing of the Decision Services (#1781)

* Proper parsing of the Decision Services

* Changed the serialization of the Decision Services as extensions to not break the DMN 1.1 XSD

* Suggested changes to have DecisionServices as an extension register

DROOLS-2359 DMN DecisionTable output validation when type is collection (#1799)

* DROOLS-2359 DMN DecisionTable output validation when type is collection

* Moved tests to DMNDecisionTableRuntimeTest

DROOLS-2357 DMN expand test case for allowed values of simple type ... (#1797)

... collections

[DROOLS-2284] fixes and refactor for generation of complex constraints in executable model

DMN adjust logging level for ItemDefinitionDependenciesGeneratedTest (#1794)

DMN FEEL fix typing mistake in test (#1791)

It looked like a set of 2, but is just a single map defining "x" and "y"

DROOLS-2243_7_5_x - Backport to get kie-pmml visibility for the execu… (#1718)

* DROOLS-2243_7_5_x - Backport to get kie-pmml visibility for the execution server

* Updates to bring KIE-PMML changes into line with latest version

    • -3
    • +2
    /drools-core/src/build/revapi-config.json
  1. … 72 more files in changeset.
[DROOLS-2354] minor optimizations

DROOLS-1701 extend coverage for Qualified name

DROOLS-2263: Increase coverage (#1790)

[DROOLS-2284] rules with more than three variable references in consequence require functions and objects with higher arity (#1796)

DROOLS-1701 coverage filter/path for PATH selection

[DROOLS-2354] simplify NetworkNodes equality and index nodes in CompositeSink

  1. … 18 more files in changeset.
RHDM-341 Last prediction missing value strategy does not work correctly in PMML tree models (#1792)

* Updated test data so that it reflected values that would give the desired results

* Updated TreeNode to provide a method (getWeightedConfidenceWinner) that will return a ScoreDistributionInfo object that reflects the value with the greatest weighted confidence, from the nodes that are submitted

* Updated the generated rules so that they use the new method to find the actual value and confidence information, when there are missing input values

DROOLS-1701 coverage filter/path ONLY ref Table 54: Semantics of lists

RHDM-254 RHBRMS-3057 DrlParser/DrlDumper will break valid DRL containing accumulate statements (#1789)

* [RHDM-254] fix drl dumper for accumulate

(cherry picked from commit db135c5)

* [RHDM-254] Fix test to support older version of AssertJ

[DROOLS-2284] fix package model generation for executable model when a package contains many thousands of rules

DROOLS-1701 coverage of "between" function

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

RHDM-316 PMML scorecards are not able to evaluate ComplexPartialScore (#1775)

* Added new class, ComplexScore. Used to hold information that is used by the template process to create rules that will update the value of a ScoreRow.

* Added methods to PMML4Helper that create the formula that is used in calculating the partial score

* Added rule to scorecard_compiler.drl that uses the new complexPartialScore template to insert rules to update the ScoreRow

* Added new template, complexPartialScore.mvel, that creates a rule which will update ScoreRow values

* Updated the tests for complex partial scores to include more than a single complex partial score

[DROOLS-2284] add versioning to drools-model file + minor refactor in executable model

DROOLS-2346: ProtobufOutputMarshaller.orderFacts should use Integer.compare to avoid IllegalArgumentException (#1786)

* DROOLS-2346: ProtobufOutputMarshaller.orderFacts should use Integer.compare to avoid IllegalArgumentException

* DROOLS-2346: Test case

(cherry picked from commit 4daacae3eac66718102411d8e1bf823c82604b8a)

DROOLS-2346: ProtobufOutputMarshaller.orderFacts should use Integer.compare to avoid IllegalArgumentException (#1786)

* DROOLS-2346: ProtobufOutputMarshaller.orderFacts should use Integer.compare to avoid IllegalArgumentException

* DROOLS-2346: Test case

(cherry picked from commit 4daacae3eac66718102411d8e1bf823c82604b8a)

DROOLS-2346: ProtobufOutputMarshaller.orderFacts should use Integer.compare to avoid IllegalArgumentException (#1786)

* DROOLS-2346: ProtobufOutputMarshaller.orderFacts should use Integer.compare to avoid IllegalArgumentException

* DROOLS-2346: Test case

[DROOLS-2284] Expose the internal kieModule of the CanonicalKieModule.java for the maven plugin (#1788)