• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
JBRULES-2817: Make the KnowledgeAgent Tests more robust and faster

- QueryRemotionTest was migrated to the new test approach

JBRULES-2817: Make the KnowledgeAgent Tests more robust and faster

- Unnecessary imports removed

JBRULES-2817: Make the KnowledgeAgent Tests more robust and faster

- KnowledgeAgentDisposeTest was migrated to the new test approach

- removed unnecesary Thread.sleep() from KnowledgeAgentDSLTest

    • -273
    • +54
    ./KnowledgeAgentDisposeTest.java
JBRULES-2817: Make the KnowledgeAgent Tests more robust and faster

- KnowledgeAgentDSLTest was migrated to the new test approach

JBRULES-2817: Make the KnowledgeAgent Tests more robust and faster

- KnowledgeAgentCustomClassLoaderTest was migrated to the new test approach

    • -234
    • +46
    ./KnowledgeAgentCustomClassLoaderTest.java
    • -10
    • +0
    ./KnowledgeAgentBinaryDiffTests.java
    • -89
    • +1
    ./KnowledgeAgentIncrementalChangeSetTest.java
JBRULES-2817 Make the KnowledgeAgent Tests more robust and faster
    • -329
    • +314
    ./KnowledgeAgentEventListenerTest.java
JBRULES-2817 Make the KnowledgeAgent Tests more robust and faster
    • -3
    • +2
    ./KnowledgeAgentIncrementalChangeSetTest.java
JBRULES-2817: Make the KnowledgeAgent Tests more robust and faster

- Added Query test

    • -131
    • +79
    ./KnowledgeAgentIncrementalChangeSetTest.java
JBRULES-2817 Make the KnowledgeAgent Tests more robust and faster
    • -27
    • +130
    ./BaseKnowledgeAgentTest.java
    • -1069
    • +781
    ./KnowledgeAgentIncrementalChangeSetTest.java
- commenting out failing test
  1. … 1 more file in changeset.
- commenting out failing test
- commenting out failing test
    • -2
    • +5
    ./KnowledgeAgentEventListenerTest.java
JBRULES-2817 Make the KnowledgeAgent Tests more robust and faster
    • -0
    • +312
    ./BaseKnowledgeAgentTest.java
    • -214
    • +39
    ./KnowledgeAgentBinaryDiffTests.java
  1. … 2 more files in changeset.
JBRULES-2817 Make the KnowledgeAgent Tests more robust and faster
  1. … 5 more files in changeset.
JBRULES-2417, changing just the location, not the namespace.
    • -13
    • +39
    ./KnowledgeAgentIncrementalChangeSetTest.java
    • -3
    • +7
    ./KnowledgeAgentEventListenerTest.java
    • -2
    • +6
    ./KnowledgeAgentCustomClassLoaderTest.java
  1. … 19 more files in changeset.
JBRULES-2417, changing the code and tests to use the new change-set-1.0.0 namespace.
    • -6
    • +2
    ./KnowledgeAgentCustomClassLoaderTest.java
    • -7
    • +3
    ./KnowledgeAgentEventListenerTest.java
    • -39
    • +13
    ./KnowledgeAgentIncrementalChangeSetTest.java
  1. … 11 more files in changeset.
-fixed setLastModified issue for windows platform

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4243868

-fixed setLastModified issue for windows platform

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4243868

    • -3
    • +38
    ./KnowledgeAgentIncrementalChangeSetTest.java
-fixed setLastModified issue for windows platform

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4243868

JBRULES-2374: Queries couldn't be removed from knowledge base.

- Fixed.

- Added a test

    • -0
    • +213
    ./QueryRemotionTest.java
  1. … 1 more file in changeset.
JBRULES-2347 Camel

-merging all the pipelien modules, to simplify the build, as they are only kept around now for legacy users.

-fix poms, moving versions to top level

    • -13
    • +0
    ./KnowledgeAgentIncrementalChangeSetTest.java
  1. … 28 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

    • -0
    • +435
    ./KnowledgeAgentDisposeTest.java
  1. … 3 more files in changeset.
Fixed some race conditions in KnowledgeAgent's test.
JBRULES-2557: Expose Knowledge Agent events

- KnowledgeAgentImpl: now exposes Before/AfterChangeSetApplied, Before/AfterChangeSetProcessed, Before/AfterResourceProcessed, KnowledgeBaseUpdated and ResourceCompilationFailed

    • -0
    • +489
    ./KnowledgeAgentEventListenerTest.java
  1. … 15 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.

    • -14
    • +99
    ./KnowledgeAgentIncrementalChangeSetTest.java
    • -0
    • +492
    ./KnowledgeAgentDSLTest.java
  1. … 1 more file in changeset.
JBRULES-2532: KnowledgeAgentTest fails when port 9000 is in use

- Tests now always use a free port

    • -4
    • +10
    ./KnowledgeAgentBinaryDiffTests.java
    • -3
    • +7
    ./KnowledgeAgentCustomClassLoaderTest.java
    • -20
    • +23
    ./KnowledgeAgentIncrementalChangeSetTest.java
JBRULES-2541: KnowledgeAgent: Add the possibility to add custom KnowledgeBuilderConfiguration

- New test cases created for custom KBuilderConfig parameter and "drools.agent.useKBaseClassLoaderForCompiling" property. With and without using drools.agent.newInstance" property.

    • -0
    • +332
    ./KnowledgeAgentCustomClassLoaderTest.java
  1. … 1 more file 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

    • -2
    • +2
    ./KnowledgeAgentIncrementalChangeSetTest.java
  1. … 579 more files in changeset.
JBRULES-2082: support for delete/modify in changesets

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

    • -0
    • +568
    ./KnowledgeAgentBinaryDiffTests.java
    • -267
    • +304
    ./KnowledgeAgentIncrementalChangeSetTest.java
  1. … 6 more files in changeset.
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
    • +305
    ./KnowledgeAgentIncrementalChangeSetTest.java
    • -365
    • +0
    ./KnowledgeAgentRemoveRuleChangeSetTest.java
  1. … 18 more files in changeset.