Drools

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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)

[DROOLS-2284] support for high arity functions in pattern dsl for executable model

DROOLS-2307 DMN enhanced for loop (#1787)

test at DMN layer

upgraded to 7.7.0.t024

  1. … 52 more files in changeset.
DROOLS-2322 Move Kie extended FEEL function into appropriate profile (#1769)

* DROOLS-2322 Move Kie extended FEEL function into appropriate profile

* final changes for edge-cases

* Realign SignavioProfile to changes

* Missing header

* Reconciliate FEELProfile for kie extended FEEL functions

* fix test for Kie extended FEEL function in simple DMN model

* Align manually formatting code

* fix javadoc typo

* Minor optimization (memoize feelFunctions accordingly to feelProfiles)

* Correction and optimizations

* FEEL optimizations for CompilerContext

if the CompilerContext is created via the FEEL instance,

because the configuration is managed via the FEELProfile, the

CompilerContext contains already all the necessary functions and other

configurations as necessary.

  1. … 25 more files in changeset.
[DROOLS-2284] fix generation of accumulate statement in pattern dsl for executable model

[DROOLS-2284] make maven plugin to generate pattern dsl by default when using the executable model

[DROOLS-2284] Pattern DSL in drools-test-coverage (disabled by default) (#1785)

* [DROOLS-2284] Drools-test-coverage supports pattern-dsl

* [DROOLS-2284] Run tests with Pattern DSL dialect

* Parametrize pattern tests

[DROOLS-2284] fix from accumulate with contraints + watched properties in executable model

[DROOLS-2284] Fix beta generation index for BigDecimalTests (#1784)

[DROOLS-2284] fix oopath expressions generation for pattern dsl in executable model

[DROOLS-2284] Fix Accumulate with PatternDSL (#1783)

Add bind as last chain call

Also add bind as last chained call in BinaryExpr

[DROOLS-2284] fix eval for pattern dsl in executable model

[DROOLS-2284] Support accumulate with the new PatternDSL (#1780)

* Explicit switching among flow and pattern DSL

* Move accumulate inner binding pattern to specific pattern

* Switch among two accumulates

* Switch among two accumulates

* Handle binary expression bind

* Pushed fields up

* Pushed methods up

* Build Binding in super class

* Reformat

* Expression builder in constructor

* Moved visit of Pattern up

* Used same visit in constraint

* Post visit

* Extracted common parts

* Removed logging

* Disabled Pattern DSL tests

* Disabled Pattern DSL tests

* Reverted unwanted changes

DROOLS-1701 coverage of "instance of" function

[DROOLS-2284] change in pattern dsl + fix query invocations in executable model

DMN new timeout strategy for testDMNDecisionTableRuntimeTest (#1772)

DMNDecisionTableRuntimeTest#testDecisionTableWithCalculatedResult_parallel

assumed that Jenkins CI can always scheduled in the common pool 10K

execution and terminate in time, but results may actually varied

depending on the underlying CI image used.

[DROOLS-2338] fix MemoryFileSystem when directory contains a space character

[DROOLS-2284] fix index generation for pattern dsl in executable model

[DROOLS-2284] Allow new PatternDSL among with the FlowDSL (#1778)

* Introduced two different Patterns

Introduced two different Patterns

* Removed useless nesting of AND constraints

* PatternDSLSimpleConstraint

* GenerateLambda

* Alpha/beta node

* Alpha and BetaNode

* indexed by is inside pattern

* Reacton

* Reointroduced empty pattern creation

* Fix bind

* BinaryExpr are also beta nodes

* Don't generate index in this case

* Fix beta generation

* Better error messages

* New overload for expr with 3 elements

* NameExpr are also betaexpr

* Eval in DSL

* New test for accumulate + AND with binding

Without indexed by it works

* Removed duplication from PatternDSL

Removed other duplication

* Moved Expression Builder to separated class

Parametrized Flow Test and PatternTest

Parametrized Flow Test and PatternTest 2

Successfully parametrized tests

* Expression builder is static no more

Extracted pattern Expression builder

* Fix rebase

* Renamed SimpleConstraint to FlowDSLSimpleConstraint

* Disabled PatternDSL tests

* Reverted compiler warnings enabling

  1. … 25 more files in changeset.
RHDM-317 Drools engine does not compile PMML SimpleSetPredicate correctly (#1779)

* Added methods to PMML4Helper class, to use the PredicateRuleProducer to get correct form of the SimpleSetPredicate

* Changed scorecard_compiler.drl to call PMML4Helper method to get the correct string for SimpleSetPredicate

* Removed the @Ignore on the testScorecardWithSimpleSetPredicateWithSpaceValue in ScorecardTest

* Cleaned up/removed System.out statements