• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
JBRULES-2817 Make the KnowledgeAgent Tests more robust and faster
  1. … 5 more files in changeset.
typo
JBRULES-2679: Modularize Drools Flow

- extracted drools-flow-core from drools-core

  1. … 623 more files in changeset.
BRMS-140: KnowledgeAgentConfiguration - allow for property "drools.agent.newInstance" to be set to false

- Fixed a typo in visitKnowledgeDefinition() method name

JBRULES-2263: applying patches
  1. … 6 more files in changeset.
[#JBRULES-2577] License headers are missing for most of the files
    • -0
    • +16
    ./KnowledgeAgentConfigurationImpl.java
    • -0
    • +16
    ./PrintStreamSystemEventListener.java
  1. … 1289 more files in changeset.
JBRULES-2374: Queries couldn't be removed from knowledge base.

- Fixed.

- Added a test

  1. … 1 more file in changeset.
JBRULES-2567: Knowledge Agent needs drools-compiler dependency even if it is only working with compiled resources.

- Fixed. New instances of kbuilder are only created only if the agent is dealing with non compiled resources.

- Added a test

  1. … 3 more files in changeset.
  1. … 4 more files in changeset.
JBRULES-1434 Drools Spring

-KnowledgeAgent configuration now works

  1. … 14 more files in changeset.
JBRULES-2570: KnowledgeAgent lacks a safe disposal method

- Implemented dispose() method. This method will un-subscribe all the agent's resources listeners and stop the notification thread.

- monitorResourceChangeEvents(false) now un-subscribe all the agent's resources listeners. The will be set up again when calling monitorResourceChangeEvents(true)

- fixed a bug in ResourceChangeNotifierImpl that prevented listeners to be un subscribed properly

  1. … 3 more files in changeset.
JBRULES-2350: The order of resources are not preserved when loaded by the KnowledgeAgentImpl

- KnowledgeAgentImpl: DSL resources are now added to agent's internal kbuilders before any other resource.

  1. … 2 more files in changeset.
JBRULES-2541: KnowledgeAgent: Add the possibility to add custom KnowledgeBuilderConfiguration

- KnowledgeAgentConfiguration now has a new "drools.agent.useKBaseClassLoaderForCompiling" property.

- KnowledgeAgentImpl uses this new property (if it is set to true) to reuse its kbase CompositeClassLoader whenever it creates a new KBuilder

    • -1
    • +16
    ./KnowledgeAgentConfigurationImpl.java
  1. … 1 more file in changeset.
JBRULES-2541: KnowledgeAgent: Add the possibility to add custom KnowledgeBuilderConfiguration

- KnowledgeAgentFactory now provides a new method to construct a new KnowledgeAgent using a custom KnowledgeBuilderConfiguration object.

- KnowledgeAgentImpl now have a new constructor parameter that permits to use a custom KnowledgeBuilderConfiguration object in every insternal builder it uses.

  1. … 2 more files in changeset.
JBRULES-2444 Named Consequences

-committed working version, with builder tests. Not integrated into DRL yet.

  1. … 28 more files in changeset.
JBRULES-2351 OSGi Ready

-refactored xml and util directories to avoid split packages

-fixed the issue where tests would fail if multiple test classes

    • -1
    • +1
    ./KnowledgeAgentConfigurationImpl.java
  1. … 580 more files in changeset.
JBRULES-2351 OSGi Ready

-api, core, compiler and decision tables are now their own bundles with their own Activators

  1. … 73 more files in changeset.
JBRULES-2351 OSGi Ready

-api, core and compiler should now be individual bundles.

-bundle--repo handles setting up the target platform dependencies.

  1. … 143 more files in changeset.
JBRULES-2082: support for delete/modify in changesets

- Added binary diff support to KnowledgeAgent when newInstance=false (incremental build).

    • -51
    • +0
    ./DefaultResourceDiffProducerImpl.java
    • -8
    • +231
    ./BinaryResourceDiffProducerImpl.java
  1. … 4 more files in changeset.
JBRULES-2082: support for delete/modify in changesets

- Added source code documentation to KnowledgeAgentImpl

JBRULES-2082: support for delete/modify in changesets

- The agent now support adding/modifying/removing entire resources. For modified resources (when newInstance=false), a silly diff is made: all the definitions are marked as changed. A better implementation of this diff will allow to modify in the kbase just the rules that have changed.

    • -0
    • +51
    ./DefaultResourceDiffProducerImpl.java
    • -0
    • +45
    ./ResourceDiffResult.java
    • -0
    • +60
    ./BinaryResourceDiffProducerImpl.java
  1. … 16 more files in changeset.
JBRULES-2082: support for delete/modify in changesets

- ChangeSet: added new property "knowledgeDefinitionsRemoved" to store the rules to be removed from kbase.

- KnowledgeAgent: Added support for individual rules deletion using ChangeSet's property.

- Created new unit test for individual rules deletion using Change Sets: KnowledgeAgentRemoveRuleChangeSetTest

  1. … 6 more files in changeset.
JBRULES-2152: KnowledgeAgentConfiguration - allow for property "drools.agent.newInstance" to be set to false

-KnowledgeAgentImpl: Added support for drools.agent.newInstance=false. This will apply the change sets in an incremental way.

-Moved Incremental change sets unit tests to a new class KnowledgeAgentIncrementalChangeSetTest.

-Created new unit test for incremental change sets.

  1. … 3 more files in changeset.
JBRULES-2230 DecisionTable added to KnowledgeAgent via change-set throws a NullPointerException

-If the resource has a configuration, use it.

forgot to remember the KAs name
JBRULES-2059 StatelessKnowledgeSessions should have special behaviour for KnowledgeAgents

-fixed test

  1. … 2 more files in changeset.
JBRULES-2059 StatelessKnowledgeSessions should have special behaviour for KnowledgeAgents
  1. … 4 more files in changeset.
Changed method signature from Exception to Throwable. Also added a new method for Throwable that also takes a message
  1. … 5 more files in changeset.
-reuse the KnowledgeBaseConfiguration if possible
-some improvements to the KnowledgeAgent's service.