drools-core

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
JBPM-8445: Stunner - unable to set cycle timer with cron expression (#2397)

- Splits the CronExpression in drools into a GWT compatible part in kie-soup required by Stunner and the non GWT complatible methods remains in drools

[DROOLS-4295] skip deleted right tuples when looking for a new blocker in existential nodes (#2435) (#2438)

(cherry picked from commit e759c0b7770b01f49fd40eaf6d81d8ddadbcf9b7)

  1. … 1 more file in changeset.
[DROOLS-4289] recycle FactHandle ids for derived facts during deserialization

  1. … 1 more file in changeset.
[DROOLS-4289] recycle FactHandle ids for derived facts during deserialization

(cherry picked from commit 5d21b7d74cbf48fc9186ab090712dfc1ffd5b5ef)

  1. … 1 more file in changeset.
DROOLS-4278 Applying PMML model using kie-server fails (#2430)

* Changed the ApplyPmmlModelCommand execute method so that it uses a

RegistryContext, instead of a RequestContextImpl.

* Added more tests for ApplyPmmlModelCommand

* Changed how the ApplyPmmlModelCommand applied

results to the ExecutionResultImpl.

    • -0
    • +112
    ./src/test/resources/org/kie/pmml/test_scorecard.pmml
Upgraded versions for release 7.24.0.Final

  1. … 75 more files in changeset.
Upgraded versions for release 7.24.0.test

  1. … 75 more files in changeset.
[DROOLS-4295] skip deleted right tuples when looking for a new blocker in existential nodes (#2435)

  1. … 1 more file in changeset.
[DROOLS-4277] add min and max accumulate functions specific for Integ… (#2421)

* [DROOLS-4277] add min and max accumulate functions specific for Integers and Longs

* [DROOLS-4277] add min and max accumulate functions specific for Integers and Longs

  1. … 2 more files in changeset.
upgraded to 7.24.0.t043

  1. … 75 more files in changeset.
DROOLS-4184 Fix first set of issues reported by SonarCloud (#2398)

* DROOLS-4181 Fix blocker issues reported by SonarCloud

* DROOLS-4181 Fix critical issues reported by SonarCloud

* DROOLS-4181 Fix first set of major issues reported by SonarCloud

* DROOLS-4181 Fix second set of major issues reported by SonarCloud

* DROOLS-4181 Fix third set of major issues reported by SonarCloud

* DROOLS-4181 Fix test related to SonarCloud fixes.

* DROOLS-4181 Fix downstream problems.

  1. … 134 more files in changeset.
[DROOLS-4104] Mvel-compiler (#2381)

* First commit

Some data type

First two phases

Some design

Rules of the game

Improved visitors

Copy and pasted solution

Removed inlinecast

Removed other classes

Algorithm explained

Other possible phases

Try to parse only types

First commit

Removed imperative assignment

Create type information phase

Subtyping!

toString

Test runnning

Removed phase

Moved packages

Moved packages

Moved context

FlattenExpressionPhase

FlattenExpressionPhase

New Phase

Refactor test

* New test

* Flatten phase

* Avoid flatten

* Inverted phase 2 and 3

* Process first node using the tree

* Navigating tree?

* JavaParser utilities

* Removed javaparser-utilities

* Removed javaparser-utilities

* Removed stream

* Only one phase, visiting the tree

* Moved error message

* Refactor

* Error message

* Reintroduced original grammar to support block

* Disabled comma expression in grammar, they should be only inside a modify block

* Variable declaration

* Multiple statements

* Refactor test

* Convert property access mixed

* Test modify

* Correct mvel modify syntax

* Renamed to DroolsConstraintParserTest.java

* New test in parser for modify

* Support MVEl modify statements

* Fix consequence

* Removed attach_pid files from git

* Modify is a statement, not an expression

* First draft of modify compiling

* testSetter

* StringLiteralExpressionT.java

* Removed duplicated test

* Method to find the stter

* Split among LHS and RHS

* String literal expression

* setter test passing, every other test failing

* Fixed property test

* Create a new declaration if missing

* Modify test

* Added transitive depedency

* Removed useless code

* Removed dependency from Drools Model Compiler

* Plugged in mvel compiler

* Refactor renaming

* Type is optional now

* Missing the scope from field accessors

* Public field accessor

* Pass scope instead of stack in context

* Refactor

* added todo

* Fix scope

* Refactor

* Uncompiled expression

* Plugged mvel compiler, found problems with modify and semicolons

* Added support for semicolon in mvel modify syntax

* Ignored test

* Added test

* Fix 7.20

* Preprocess methodcallexpr in modify statements

* sanitize single line scripts

* Plugged in compiler, removed validation of mvel scripts

* testAccessor ForArguments

* Better default method

* Fix testAccessorInArguments, broke other tests

* Fix all tests

* Removed println

* Better semicolons

* Semicolon sanitizier

* Also propagate errors

* Removed useless test

* Fix type in binary expressions

* Better sanitizier for modify

* Better sanitizer 2

* Do not append ; to empty strings

* Added modify object among modified properties

* Implement update with modify blocks

* Type resolver

* Better test

* Added trace of LHS

* Create new reference when missing

* Assume only one variable per decorator, removed declaration/declarator dualism

* testInitializerArrayAccess

* TypedExpression is an interface rather than an abstract class

* Map conversion

* testMixArrayMap and testMVELConsequenceWithMapsAndArray

* Test without semicolon

* Without semicolon test

* Fix rebase

* Fix hardcoded version

* Better test without semicolon

* simple test without semicolon

* Another test with method call

* Another test with method call

* Fix comment in GeneratedDrlConstraintParserTokenManagerBase.java

* Failing test with comment

* Test with comments passing

* Unignored test with comments

* New test for single line statement

* Single line block with comment with both and without semicolon

* Support empty statements with only new line

* All test passing

* Fix ModifyPreprocessPhase.java

* Fix first modify rewrite code, removed custom modify parsing

* Support new line in argument list

* Removed debug mode

* test property reactivity

* Fix modify empty block

* Fix new lines in argument list

* Removed SemicolonSanitizer.java

* Fix property reactivity

* Avoid processing nested methodCallExpr in modify setters

* fix NPE

* Refactor Mvel rewrite

* Removed mvel validation

* Removed unused import

* Fix AccumulateTest.testAccumulateMVELWithModify

* Fixed testNoLoopAccumulate

* Support target type when RHS type is missing

* Fix all AccumulaTest

* ImportsTest

* New test for EOL in BinaryExpr

* Support EOL after binary expr token

* Fix Nesting Test added new test for BinaryExpr with newLine

* Support variable declaration without initializer

* Fix StreamTest, correct drools scope

* Support arbitrary expressions in modify block

* Cep test, 4 tests left

* Better test

* Test for crashing pretty printer

* Fix rebase

* Added new test for new line expressions

* Added two new tests

* Fix typo

* Added negative test

* Formatting

* renamed test

* With statement support

* Constructor in with statement

* Correct implementation of with preprocessor

* Refactor

* Recurse over ModifyProcessor

* Fix MapInitializationDrools3800 by recursing the modify preprocessor

* Fix MapInitializationDrools3800 by recursing the modify preprocessor

* Use mvel compiler instead of ExpressionTyper during parsing of Mvel Accumulate Nodes

* Fix NPE

* Compilation after updating JP

* Fix mvel compiler dependency

* Fix version

* minimalized reproducer

* AST reproducer

* Compare reproducer with AssertJ

* Compare AST with diff, more similar

* Even more similar

* Avoid sharing static nodes that breaks the pretty printer

* Removed debugPrettyPrinter

* Reintroduced needed class generation

* Fix testPrettyPrinterCrashing

* Reverted model writer

* Revert packagemodel

* Reverted packageModel

* Removed PrettyPrinterTest.java

* Reverted ExpressionTyperTest.java

* Removed README.MD

* Duplication of removal of EmptyStmt

* Fixed ModifyCompilerTest

* Fix version

* Failing test for nested modify

* Recurse over blocks in consequence, new test for failing

* Fix ordering of with preprocessor

* Removed duplication in nested Modify preprocessor and fixed ordering

* Removed TODO

* Removed unused properties

* Public fields on LHS

* Removed another TODO

* Better type check

* Removed last todo

* Dependency in -boostrap

* Unsupported cases in DorolsConstraintParserTest

* Also support window EOL

* Renamed drools-constraint-parser to drools-mvel-parser

* Fix OSGI

* Assertj to test

* Removed ignore to 3505 test

* Fix typo

* Fix trace message

* Formatting

* Removed trace

* Added README.md of the module that explains how it works

* Fix typo

* Removed currying renamed method

* Renamed modified properties to used bindings

* Typo

* Removed drlconstraintparser

* Used consumer in test, reformatting

* Unused statement

* Added some documentation

* Improved documentation of the module

  1. … 158 more files in changeset.
[DROOLS-4085] Added change set xsd to avoid fetching it from the internet (#2373)

  1. … 10 more files in changeset.
[DROOLS-4150] make FactHandles serializable (#2383)

* [DROOLS-4150] make FactHandles serializable

* [DROOLS-4150] make FactHandles serializable

  1. … 21 more files in changeset.
[DROOLS-4125] restore TypeResolver and RuleUnitDescritors after Knowl… (#2374)

* [DROOLS-4125] restore TypeResolver and RuleUnitDescritors after KnowledgePackage cloning

* additional change

* [DROOLS-4125] restore TypeResolver and RuleUnitDescritors after KnowledgePackage cloning

  1. … 3 more files in changeset.
Upgraded versions for release 7.23.0.Final

  1. … 73 more files in changeset.
updated to 7.23.1-SNAPSHOT

  1. … 74 more files in changeset.
upgrade to next SNAPSHOT

  1. … 74 more files in changeset.
upgraded to next SNAPSHOT

  1. … 74 more files in changeset.
[DROOLS-4089] fix method based introspection for property reactivity in MvelConstraint

[DROOLS-4085] Support follow redirects and avoid using external URL (#2369)

* [DROOLS-4085] Support follow redirects and avoid using external URL for change set XSD

* Remove all other references to external XSD

* Avoid getting XSD from the internet

  1. … 8 more files in changeset.
[RHDM-969] avoid serializing a DMNPackage when serialization is done for cloning purpose (#2368)

  1. … 4 more files in changeset.
[RHBRMS-3133] [DROOLS-3050] allow to add via annotation a serialVersionUID on classes generated from declared types (#2363)

  1. … 1 more file in changeset.
[DROOLS-1540] also use the ClassLoader containing drools core classes only when running in a osgi container (#2358)

[DROOLS-3840] Extend test scenario runner to support additional parameters (#2347)

* [DROOLS-3840] Initial commit

* [DROOLS-3840] Updated simulation runner to support additional parameters

* [DROOLS-3840] Updated to version 1.5

* [DROOLS-3840] Updated simulation runner to support additional parameters

* [DROOLS-3840] Minor fixes

* [DROOLS-3840] Minor change

* [DROOLS-3840] Included PR feedback

* [DROOLS-3840] test improvement

* [DROOLS-3840] Fix test

  1. … 16 more files in changeset.
upgraded to next SNAPSHOT

  1. … 74 more files in changeset.
Upgraded versions for release 7.22.0.Final

  1. … 73 more files in changeset.
upgraded to 7.22.0.t042

  1. … 73 more files in changeset.
RHPAM-2107 ApplyPmmlModelCommand now accepts external objects as input (#2343)

Upgraded versions for release 7.22.0.Final

  1. … 73 more files in changeset.