Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[RHDM-1387] use bound variables in property reactivity (#2964) (#3019)

(cherry picked from commit f1c25acb9fe56033b907226d273527b72f6c637e)

    • -3
    • +22
    ./rule/constraint/MvelConstraint.java
  1. … 4 more files in changeset.
[RHDM-1421] fix translation of mvel operations on BigDecimal in execu… (#3011)

* [RHDM-1421] fix translation of mvel operations on BigDecimal in executable model

* remove no longer useful MVELConsequence

  1. … 12 more files in changeset.
[KOGITO-2792] restore possibility to instance a TimerService via mvel (#3002)

    • -1
    • +5
    ./impl/StatefulKnowledgeSessionImpl.java
[KOGITO-2792] backport of kogito improvements (#3000)

    • -27
    • +5
    ./base/ClassFieldAccessorCache.java
  1. … 4 more files in changeset.
[KOGITO-2792] backport of kogito improvements (#2998)

* [KOGITO-2792] backport of kogito improvements

* [KOGITO-2792] backport of kogito improvements

* wip

* wip

* wip

* wip

* wip

* wip

    • -34
    • +10
    ./audit/WorkingMemoryLogger.java
    • -1
    • +12
    ./audit/event/RuleFlowNodeLogEvent.java
    • -1
    • +12
    ./audit/event/RuleFlowVariableLogEvent.java
    • -4
    • +6
    ./base/WrappedStatefulKnowledgeSessionForRHS.java
    • -0
    • +4
    ./impl/StatefulKnowledgeSessionImpl.java
    • -2
    • +5
    ./marshalling/impl/MarshallerReaderContext.java
    • -9
    • +13
    ./marshalling/impl/MarshallerWriteContext.java
    • -1
    • +1
    ./marshalling/impl/ProtobufInputMarshaller.java
    • -13823
    • +6664
    ./marshalling/impl/ProtobufMessages.java
    • -1
    • +5
    ./marshalling/impl/ProtobufOutputMarshaller.java
    • -0
    • +85
    ./spi/AbstractProcessContext.java
  1. … 2 more files in changeset.
[BAPL-1259] Add logging for rule performance analysis (#2900)

* [BAPL-1259] Add logging for rule performance analysis

- wip

* - Encapsulate data in NodeStats

* - License

* - warn log. better calc

* - applied to phreak nodes

- moved ReteDumper to src

* - applied to PhrealEvalNode

- try/finally

* - Introduced Factory to keep original PhreakNode and Constraints clean. Mertic classes are implemented as sub class

* - fix equals

* - revert pom

* - remove setEnabled

* - fixed code smells

* - fixed code smells. Keep "cloned" private

* - Fix/Add license

- Removed unnecessary super()

- Fixed access modifier

* - Add log to ReteDumper

* - fixed license

* - moved to drools-metric

* - osgi bundle

* - fixed code smell

* - Removed OSGi bundle

    • -1
    • +1
    ./common/QuadroupleBetaConstraints.java
    • -0
    • +69
    ./phreak/PhreakNetworkNodeFactory.java
    • -0
    • +91
    ./phreak/PhreakNetworkNodeFactoryImpl.java
    • -14
    • +14
    ./phreak/RuleNetworkEvaluator.java
    • -0
    • +295
    ./reteoo/ReteDumper.java
    • -0
    • +68
    ./reteoo/builder/BetaNodeConstraintFactory.java
    • -0
    • +63
    ./reteoo/builder/BetaNodeConstraintFactoryImpl.java
    • -0
    • +43
    ./rule/EvalConditionFactory.java
    • -0
    • +25
    ./rule/EvalConditionFactoryImpl.java
  1. … 37 more files in changeset.
[DROOLS-5514] fix @watch() annotation in property reactivity when excluding all but one property (#2996)

    • -1
    • +1
    ./util/bitmask/AllSetButLastBitMask.java
    • -1
    • +1
    ./util/bitmask/EmptyButLastBitMask.java
  1. … 3 more files in changeset.
[KOGITO-2792] backport of kogito improvements (#2997)

    • -3
    • +3
    ./marshalling/impl/ProtobufOutputMarshaller.java
[KOGITO-2792] backport of kogito improvements (#2995)

[KOGITO-2792] backport of kogito improvements

    • -14
    • +77
    ./rule/builder/dialect/asm/ClassGenerator.java
    • -3
    • +13
    ./ruleunit/RuleUnitDescriptionLoader.java
  1. … 7 more files in changeset.
Revert "[RHDM-1387] use bound variables in property reactivity (#2964) (#2965)" (#2982)

This reverts commit 8dc57f1a950ab1f00cf7ad8212c73fed326b5850.

    • -22
    • +3
    ./rule/constraint/MvelConstraint.java
  1. … 4 more files in changeset.
[DROOLS-5488] remove wrong left tuple update in accumulate (#2978)

  1. … 1 more file in changeset.
[DROOLS-5275] Descope Traits (#2887)

* [DROOLS-5275] Descope Traits

New module for traits

Dependency on core

trait tests moved from drools core to traits

Split Trait logic in GenericTypeDefinition

Avoid using static method in DefaultFactHandle

Reverted DefaultBeanClassBuilder to master

DefualtBeanClassBuilder does not depend on traits

Moved trait test to LegacyTraitTest.java

Renamed TraitProxy, TraitProxyImpl extends TraitProxy

BaseTraitProxy file in service

Moved traits DRL to traits module

Fix Manual injection in MetadataTest

Injection of TraitPropertyWrapperBuilder

Moved TraitableBean to drools core

Moved TraitTypeMap and TraitableBean to core

Fix testTraitRedundancy

Descope trait OOP, with KieComponentFactoryInjected

Subclass DefaultFactHandle

Removed trait support for DisconnectedFactHandle.java (dead code)

TraitNamedEntryPoint

Moved trait persistence test to traits module

IsAEvaluatorDefinition has to be defined explictly

Removed TRAITSET_FIELD_NAME from listened properties as it wasn't covered by test

Create KnowledgePackageImpl using KieComponentFactory

Subclassed KnowledgePackageImpl to TraitKnowledgePackageImpl.java, removed TraitCoreService.java

removed traits from implicit imports

Fix specific case for JBPM in which the kbase is not present

* Updated TraitExample.java in drools-example to import trait dependency

* Added clarifying comment

* org.drools.traits.core.factmodel.traits

to

org.drools.traits.core.factmodel

* kie-util-test to test scope and jaxb to provided, retriggering

* Fix license

    • -0
    • +54
    ./base/TraitDisabledHelper.java
    • -0
    • +29
    ./common/DefaultNamedEntryPointFactory.java
    • -10
    • +2
    ./common/DisconnectedFactHandle.java
    • -0
    • +27
    ./common/NamedEntryPointFactory.java
    • -36
    • +32
    ./definitions/impl/KnowledgePackageImpl.java
    • -114
    • +9
    ./factmodel/ClassBuilderFactory.java
    • -327
    • +326
    ./factmodel/DefaultBeanClassBuilder.java
    • -0
    • +62
    ./factmodel/DefaultClassBuilderFactory.java
    • -83
    • +83
    ./factmodel/DefaultEnumClassBuilder.java
  1. … 358 more files in changeset.
[RHDM-1387] use bound variables in property reactivity (#2964) (#2965)

(cherry picked from commit f1c25acb9fe56033b907226d273527b72f6c637e)

    • -3
    • +22
    ./rule/constraint/MvelConstraint.java
  1. … 4 more files in changeset.
[RHDM-1387] use bound variables in property reactivity (#2964)

    • -3
    • +22
    ./rule/constraint/MvelConstraint.java
  1. … 4 more files in changeset.
[DROOLS-5444] get rid of no longer useful PropagationQueuingNode (#2955)

    • -15
    • +0
    ./marshalling/impl/PersisterHelper.java
    • -569
    • +0
    ./reteoo/PropagationQueuingNode.java
    • -43
    • +0
    ./util/debug/PropagationQueueingNodeVisitor.java
  1. … 1 more file in changeset.
Revert "[JBPM-9129] Start process without triggering a start node"

This reverts commit 749ff76b2de0f7d87b1a2d55fdf58ae3f4b1403b.

    • -5
    • +15
    ./base/WrappedStatefulKnowledgeSessionForRHS.java
    • -20
    • +0
    ./command/impl/CommandBasedStatefulKnowledgeSession.java
    • -20
    • +1
    ./impl/StatefulKnowledgeSessionImpl.java
  1. … 2 more files in changeset.
[RHPAM-2960] Case instance update fails with java.io.NotSerializableException: org.jbpm.services.task.persistence.JPATaskModelFactory for cases containing multiple SLAs

    • -0
    • +1
    ./time/impl/DefaultTimerJobInstance.java
  1. … 1 more file in changeset.
KOGITO-1546 XStreamUtils kie-soup refactoring (#2874)

* KOGITO-1546 XStreamUtils kie-soup refactoring

* drools-core dep update

* kie-dmn-backend dep update

    • -1
    • +1
    ./audit/WorkingMemoryInMemoryLogger.java
    • -1
    • +1
    ./runtime/help/impl/BatchExecutionHelperProviderImpl.java
  1. … 16 more files in changeset.
[JBPM-9129] Start process without triggering a start node

added new command to restart a process from where it left

    • -15
    • +5
    ./base/WrappedStatefulKnowledgeSessionForRHS.java
    • -0
    • +20
    ./command/impl/CommandBasedStatefulKnowledgeSession.java
    • -0
    • +112
    ./command/runtime/process/StartProcessFromNodeIdsCommand.java
    • -1
    • +20
    ./impl/StatefulKnowledgeSessionImpl.java
  1. … 2 more files in changeset.
[DROOLS-5050] fix event flushing for polymorphism (#2807) (#2866)

(cherry picked from commit 9c46dee4b21a5138616f5241fce5ced79fb802b3)

  1. … 1 more file in changeset.
[RHPAM-2877] Drools Canonical Model causes infinite loop firing of rules (#2854)

* [DROOLS-5025] Wrong BitMask created by a complex setter argument in modify block (#2851)

- Also solves DROOLS-5231

* [DROOLS-4916] Wrongly parse method chain in modify block in executable model (#2833)

* [DROOLS-5237] Wrong property reactivity with non getter chain of non-direct statements (#2857)

  1. … 4 more files in changeset.
[DROOLS-2965] create activation directly from the alpha network when a rule has no beta nodes (#2860)

    • -11
    • +13
    ./common/PhreakActivationIterator.java
    • -0
    • +120
    ./reteoo/AlphaTerminalNode.java
    • -19
    • +12
    ./reteoo/LeftInputAdapterNode.java
  1. … 27 more files in changeset.
[DROOLS-5025] Wrong BitMask created by a complex setter argument in modify block (#2851)

- Also solves DROOLS-5231

  1. … 2 more files in changeset.
[DROOLS-5227] improve FactType API performances for both drl and executable model

    • -0
    • +20
    ./factmodel/AccessibleFact.java
  1. … 9 more files in changeset.
[DROOLS-5207] fix oopath binding for chunks after the first (#2838)

    • -9
    • +9
    ./event/rule/impl/SerializableActivation.java
    • -1
    • +1
    ./rule/constraint/XpathConstraint.java
  1. … 12 more files in changeset.
[KOGITO-1507] in executable model give precedence to fields resolution over globals (#2826)

  1. … 4 more files in changeset.
[DROOLS-5063] Refactor of POJO Generation on order to be used from other modules (#2812)

* Do not depend on ModelBuilderImpl

* Removed some dependency on the annotations

* Extracted interfaces

* Interface in separated class

* Removed other two classes

* Interface for type resolver

* added marker interface collection

* Do not depend on error

* New Type resolver

* java8

* Sonarlint

* Removed dependency with PatternDescr

* Removed map from TypeDefinition

* Sorted types are a list

* Compiling with Implemented types

* Correct generation of fields

* almost correct order

* Supertypes in BaseDescr

* Correct keyfields inherited

* Serial version field

* Ordered modifiers

* All tests passing

* Processed annotations

* Moved public API

* Moved API

* Use optional

* getSuperType is static

* Refactor

* First refactor of annotations

* Some annotations can be not added

* Fix position

* Fix testDeclaredSlidingWindowOnDeclaredType

* Process annotations only once

* Removed useless class

* Removed Useless class

* Renamed some leftover descrs

* Fix SmokeParserTest

* Fix testAnnotation name clash

* Try resolve annotation name from typeresolver

* Renamed to FieldDefinition

* do not add serial version UID

* Use correct anonymous class name

* Annotation test passing

* Refactor

* Fix CEP Esp test

* Disabble logging

* Removed javacomment

changed position algorithm

* License header

* License header 2

    • -0
    • +32
    ./util/StreamUtils.java
  1. … 24 more files in changeset.
[DROOLS-4956] Normarize rule constraints for property reactivity and … (#2788)

* [DROOLS-4956] Normarize rule constraints for property reactivity and indexing

* - Check NodeSharing instead of exprId

- Removed OOPath test

* - Fix code smells

* - wip

* - implement And, Or, Nagate

* - implement BigDecimal

* - add comment

* - implement STANDARD_FROM_DRL normalization

* - implement Map access

* - fix code smells

* - Refactor to use IndexUtil

  1. … 8 more files in changeset.
[DROOLS-5050] fix event flushing for polymorphism (#2807)

  1. … 1 more file in changeset.
[DROOLS-4996] fix KnowledgeBase serialization when a rule invokes a query (#2801)

  1. … 1 more file in changeset.