Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[DROOLS-4583] allow to declaratively configure a SessionPool in the kmodule.xml (#2567)

  1. … 6 more files in changeset.
DROOLS-4554 Port SonarCloud fixes from kogito-runtimes (#2547)

* DROOLS-4554 Port SonarCloud fixes from kogito-runtimes

* DROOLS-4554 Port SonarCloud fixes from kogito-runtimes

* DROOLS-4554 Port SonarCloud fixes from kogito-runtimes

* DROOLS-4554 Port SonarCloud fixes from kogito-runtimes

  1. … 102 more files in changeset.
[DROOLS-4393] prevent expired events to participate in accumulates (#2492)

  1. … 8 more files in changeset.
[DROOLS-4343] Change fact handle id type to long

  1. … 31 more files in changeset.
DROOLS-4343 Change fact handle id type to long (#2468)

* DROOLS-4343 Change fact handle id type to long

* DROOLS-4343 Change fact handle id type to long

  1. … 33 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. … 148 more files in changeset.
[DROOLS-4150] make FactHandles serializable (#2383)

* [DROOLS-4150] make FactHandles serializable

* [DROOLS-4150] make FactHandles serializable

  1. … 35 more files in changeset.
[DROOLS-3999] perf improvement for dmn (#2341)

  1. … 4 more files 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. … 31 more files in changeset.
DROOLS-3412 Clear listeners when resetting a KieSession (#2195)

* DROOLS-3412 Clear listeners when resetting a KieSession

* DROOLS-3412 Add test that checks listeners reset in KieSession

* DROOLS-3412 Dispose a KieSession in a test

  1. … 1 more file in changeset.
[DROOLS-3412] dispose process runtime in session reset

[DROOLS-3385] use a concurrent map to store classes declaration in knowledge base (#2176)

[DROOLS-3177] Moved RegistryContext to kie-internal (#2174)

  1. … 93 more files in changeset.
DROOLS-3379: RuntimeService API should not require a KSession to create an instance (#2170)

    • -28
    • +6
    ./StatefulKnowledgeSessionImpl.java
  1. … 4 more files in changeset.
[DROOLS-2989] Improvement to Drools Marshallers (#2164)

* Avoid writing node memories

* Avoid write and read node memories

* Removed write memories methods

* Added failing test with combinations

* Support multiple objects

* Use set instead of Hashmap

* Support non serializing nodes

* Better handling of int[] and object[]

* Fix array coping

* nest marshalled object into the tuple

* refactor

* pluggable serialization strategy

  1. … 13 more files in changeset.
DROOLS-3183 Create unit tests for classes in org.drools.core.ruleunit package (#2134)

* Add unit tests for Guard and RuleUnitDescr classes

* Add unit tests for Guard and RuleUnitDescr classes

* Add RuleUnitRegostry test class

* Some renaming in rule units

* Add unit test for RuleUnitFactory

* Add unit test for RuleUnitGuardSystem

* Fix failing tests

  1. … 14 more files in changeset.
[DROOLS-2989] Avoid refire of rules with synthetic Fact Handles (#2106)

* Added test for deserialization

* Test for simple alpha node in MarshallerTest.java

* private node memories, add synthetic facts' object to a map in the agenda

* Proto syntax

* Regenerated protobuf messages

* Add object during serialization

* Added object to FromNodeMemory

* Need an index to serialize the object

* Added index to object serialization

* Read node memories object

* Avoid refire marshalled FactHandle

* Use old mechanism to avoid refiring in node != FromNode

* New test for unfired tuples

* Serialize dormant objecgt

* NodeId

* Match against object

* Dormient objects are already serialized

* Correct matching of objects

* Nullcheck

* Refactor

* Fix regression

* Removed useless code

* Removed dead code

* Fix regression

* Accumulate test

* Rebase

* RenamedTest

* New test for accumulate

* New test for RIAN

* new test

* JavaSerializableResolverStrategy

* Use java serialization encoder

* Changed testSubnetwork test

* Better test

* New test for subnetworks

* New test for subnetwork

* Do not serialize test

* ProtobufInputMarshaller returns the message along with the session

* testAgendaDoNotSerializeObject check if no objects are serialized

* Avoid deserializing if empty

* Serialize object only with FromNode

* Serialize object only with AccumulateNode

* Disposal of ksession

* Removed unnecessary code in ProtobufTestMarshaller

* Fix regression in test

* Removed assertion on demarshalling

* Explicit class loader

* Removed println

  1. … 18 more files in changeset.
DROOLS-3180 Split RuleUnitRegistry to two separate classes (#2119)

* DROOLS-3180 Encapsulate two different behaviours of RuleUnitRegistry

* DROOLS-3180 Fix PMML executor

  1. … 23 more files in changeset.
[DROOLS-3076] test and fix ScalablePool

  1. … 2 more files in changeset.
[DROOLS-3076] KieSession pool (#2099)

* [DROOLS-3076] KieSession pool

* [DROOLS-3076] KieSession pool

* [DROOLS-3076] KieSession pool

* [DROOLS-3076] KieSession pool

* [DROOLS-3076] KieSession pool

    • -0
    • +65
    ./AbstractKieSessionsPool.java
    • -0
    • +67
    ./KieSessionsPoolImpl.java
    • -14
    • +22
    ./StatefulKnowledgeSessionImpl.java
    • -0
    • +48
    ./StatefulSessionPool.java
    • -26
    • +41
    ./StatelessKnowledgeSessionImpl.java
  1. … 16 more files in changeset.
[DROOLS-2133] fix rule units unbinding

  1. … 1 more file in changeset.
[DROOLS-3011] implement asynchronous send/receive nodes in executable… (#2080)

[DROOLS-3011] implement asynchronous send/receive nodes in executable model

    • -3
    • +19
    ./StatefulKnowledgeSessionImpl.java
  1. … 28 more files in changeset.
[DROOLS-2740] Move ExecutableCommand to public API (#1985)

* [DROOLS-2740] Split ExecutableCommand to internal TransactionalCommand and public ExecutableCommand

* [DROOLS-2740] Small cast fixes

* [DROOLS-2740] Fix regression

* Revert "[DROOLS-2740] Split ExecutableCommand to internal TransactionalCommand and public ExecutableCommand"

This reverts commit b8eff68

* Created NotTransactionalCommand interface as marker interface and migrated to public ExecutableCommand interface

* Added test for InternalExecutable.canRunInTransaction

* Restored a deprecated internal ExecutableCommand for backward compatibility

  1. … 108 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. … 62 more files in changeset.
[DROOLS-2649] fix generation of executable model for rule units

  1. … 13 more files in changeset.
[DROOLS-2186][DROOLS-2187] throw a RuntimeException when a query is invoked with a wrong number of arguments

  1. … 5 more files in changeset.
[DROOLS-2390][DROOLS-2536] Move incremental compilation tests to sepa… (#1914)

[DROOLS-2390][DROOLS-2536] Move incremental compilation tests to separate module + fix incremental compilation with executable model

  1. … 223 more files in changeset.
[DROOLS-2536] fix incremental compilation with executable model (#1903)

* [DROOLS-2536] fix incremental compilation with executable model

* [DROOLS-2536] fix incremental compilation with executable model

* [DROOLS-2536] fix incremental compilation with executable model

* [DROOLS-2536] fix incremental compilation with executable model

  1. … 30 more files in changeset.
[DROOLS-2468] put stateful session under control of kbase coordinatio… (#1864)

[DROOLS-2468] put stateful session under control of kbase coordination for incremental update even when wrapped by a stateless session

    • -11
    • +5
    ./StatelessKnowledgeSessionImpl.java
  1. … 25 more files in changeset.
[DROOLS-2468] put stateful session under control of kbase coordinatio… (#1864)

[DROOLS-2468] put stateful session under control of kbase coordination for incremental update even when wrapped by a stateless session

(cherry picked from commit 4f52eec101ae9f5755bd2f1b7c376269973d0245)

    • -11
    • +5
    ./StatelessKnowledgeSessionImpl.java
  1. … 25 more files in changeset.