Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[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. … 103 more files 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

    • -22
    • +6
    ./descr/RestrictionConnectiveDescr.java
  1. … 2302 more files in changeset.
[DROOLS-5682] fix negation of atomic expressions (#3128)

  1. … 1 more file in changeset.
[DROOLS-5019] fix index creation for negated operators

  1. … 4 more files in changeset.
[DROOS-4939] allow to use generics in declared types (#2729)

* [DROOS-4939] allow to use generics in declared types

  1. … 17 more files in changeset.
Revert "[KOGITO-432] allow to declare RuleUnit data sources in drl (#2716)" (#2724)

This reverts commit b8c6b4ebea092a9ba458e7468b8674daca352d43.

    • -7
    • +0
    ./api/impl/GlobalDescrBuilderImpl.java
  1. … 5 more files in changeset.
Revert "[KOGITO-432] allow to declare RuleUnit data sources in drl (#2716)"

This reverts commit b8c6b4ebea092a9ba458e7468b8674daca352d43.

    • -7
    • +0
    ./api/impl/GlobalDescrBuilderImpl.java
  1. … 5 more files in changeset.
[KOGITO-432] allow to declare RuleUnit data sources in drl (#2716)

    • -0
    • +7
    ./api/impl/GlobalDescrBuilderImpl.java
  1. … 5 more files in changeset.
[DROOLS-4903] fix compilation of negated in constraints

    • -0
    • +16
    ./descr/ConstraintConnectiveDescr.java
  1. … 3 more files in changeset.
decouple ruleunit + pluggable classloader (#2652)

* decouple ruleunit

* pluggable classloader

* create osgi bundle

* register dynamic component factory in osgi Activator

* fix osgi integration

  1. … 196 more files in changeset.
[DROOLS-4684] Parser and Canonical Model Compiler error on Conditional Named Consequence (#2638)

* Test

* Reduced test for parser

* Test in drools compiler

* Revert "Reduced test for parser"

This reverts commit 55008ec5

* Possible fix

* Removed line from test

* Parse the function descr instead of the pattern

* Register source pattern as accumulate variable (as it's used by the named consequence)

* Refactor

* Take all the acc functions

* Renamed test

  1. … 6 more files in changeset.
[DROOLS-4633] optimize self-join patterns in forall statement

  1. … 33 more files in changeset.
[DROOLS-4632] optimize single pattern forall statement

    • -0
    • +11
    ./descr/ConstraintConnectiveDescr.java
  1. … 51 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.

    • -0
    • +2
    ./descr/AbstractClassTypeDeclarationDescr.java
  1. … 142 more files in changeset.
[DROOLS-4095] fix parsing of null-safe dereferencing operator after a method invocation

  1. … 2 more files in changeset.
[DROOLS-3499] allow both prefixed and infixed AND in nested accumulates

  1. … 1 more file in changeset.
[DROOLS-3499] allow both prefixed and infixed AND in nested accumulates (#2210)

  1. … 1 more file in changeset.
DROOLS-3355: Improve Assembler/Weaver API (#2181)

* cleanup

* fix compile

* rename AssemblerContext to DroolsAssemblerContext

* whitespace

* docs

* simpler ProcessPackage API

* use less specific result type in processbuilder interface

* revert process changes

* fix package serialization

* require non-null namespace on BaseDescr

as a side-effect: raises an expected exception in a jbpm test

  1. … 32 more files in changeset.
[DROOLS-2831] avoid holding references to working memory and fact handles in EvaluatorWrapper

  1. … 13 more files in changeset.
[FINDBUGS] First bunch of fixes for problems reported by FindBugs in drools-core (#1971)

* [findbugs] Create classloaders only inside doPrivileged block

* [findbugs] Use correct map for accumulate imports initialization

* [findbugs] Uncallable method defined in anonymous class

* [findbugs] Impossible cast

* [findbugs] Code checks for specific values returned by compareTo

* [findbugs] Bad attempt to compute abs. value of signed 32-bit hashcode

* [findbugs] Nullcheck of value previously dereferenced

* [findbugs] Uninit. read of field method called from constr. of superclass

* [findbugs] equals overrides equals in superclass and may not be symmetric

* [findbugs] Possible null pointer dereference

* [findbugs] Fix failing tests

* [findbugs] Should be a static inner class

* [findbugs] Private method is never called

* [findbugs] Inefficient use of keySet iterator instead of entrySet iterator

* [findbugs] Private method is never called

* [findbugs] Method concatenates strings using + in a loop

* [findbugs] Method invokes inefficient Number constructor

* [findbugs] Boxing/unboxing to parse a primitive

* [findbugs] Boxed value is unboxed and then immediately reboxed

* [findbugs] Other boxing/unboxing issues

* [findbugs] Method allocates a boxed primitive just to call toString

* [findbugs] Fix test

* [findbugs] Sequence of calls to concurrent abstraction may not be atomic

* [findbugs] Possible double check of field (double-checked locking)

* [findbugs] Method does not release lock on all exception paths

* [findbugs] Class is Serializable, but doesn't define serialVersionUID

* [findbugs] Method ignores exceptional return value

* [findbugs] Method uses the same code for two branches

* [findbugs] Write to static field from instance method

* Revert to instanceOf comparison

  1. … 65 more files in changeset.
[DROOLS-2471] fix dsl generation of constraints invoking method on a variable bound from a different patter in executable model

  1. … 2 more files in changeset.
[DROOLS-2471] fix dsl generation of constraints invoking method on a variable bound from a different patter in executable model

(cherry picked from commit 47f0fa4fb05f030b741450f95e4e28344515c029)

  1. … 2 more files in changeset.
[DROOLS-2284] coerce right part of binary expressions when necessary + support predicates and consequences throwing checked exceptions in executable model

  1. … 31 more files in changeset.
add support for expressions with 4 and 5 variables + fix forall in executable model

  1. … 12 more files in changeset.
Use visitor pattern instead of instanceof in ModelGenerator (#1666)

* Use visitor pattern

Moved visitors in package

OOPathVisitor => OOPathGenerator

GenerateModel Visitor

Specific visitors in classes

* Move DrlxParseResult.java to a separate class and encapsulate fields

* Replace package private fields with accessors

* Replace package private fields with accessors in RuleContext

    • -0
    • +29
    ./descr/DescrVisitor.java
  1. … 21 more files in changeset.
[DROOLS-1707] retrieve unchanged type declarations from existing kiebase during incremental compilation (#1425)

(cherry picked from commit 0305f96bef96cc06f2ac7c5188c857fdbfae94d1)

  1. … 2 more files in changeset.
[DROOLS-1707] retrieve unchanged type declarations from existing kiebase during incremental compilation (#1425)

(cherry picked from commit 0305f96bef96cc06f2ac7c5188c857fdbfae94d1)

  1. … 2 more files in changeset.
[DROOLS-1707] retrieve unchanged type declarations from existing kiebase during incremental compilation (#1425)

  1. … 2 more files in changeset.
DROOLS-1677 - not /someOoPath not supported (#1384)

Adjust parser for appropriate look-ahead around DIV and un-labeled

OOPath constraints.

  1. … 1 more file in changeset.
Allow query rules to be in a RuleUnit.

    • -0
    • +1
    ./api/impl/PackageDescrBuilderImpl.java