Permalink
Commits on Apr 18, 2011
  1. Prep 1.0.0.Beta8

    dmlloyd committed Apr 18, 2011
  2. POM fixes

    dmlloyd committed Apr 18, 2011
Commits on Apr 14, 2011
  1. Service name mapper/matcher

    dmlloyd committed Apr 14, 2011
  2. Additional null checks

    dmlloyd committed Apr 14, 2011
  3. [MSC-82] Add WAITING state, remove extra transitions, and add new lis…

    …tener methods.
    
    More details:
    - remove START_REQUESTED_to_WONT_START, PROBLEM_to_DOWN, PROBLEM_to_WONT_START, PROBLEM_to_START_INITIATING, START_FAILED_to_WONT_START, STOPPING_to_WONT_START, WONT_START_to_REMOVING, and WONT_START_to_START_INITIATING
    - add DOWN_to_WAITING and WAITING_to_DOWN
    - add new listener methods serviceWaiting, serviceWaitingCleared, serviceWontStart, serviceWontStartCleared
    - add new assertios to ChangeModeTestCase to test the new listener notifications
    fl4via committed Apr 14, 2011
  4. [MSC-82] Remove transitions that skip states whenever there are no li…

    …steners.
    
    To replace that mechanism, add a while loop to transition to trigger a new transition whenever the previous transition resulted in no tasks.
    fl4via committed Apr 14, 2011
  5. [MSC-82] Fix test random failures

    fl4via committed Apr 14, 2011
Commits on Apr 13, 2011
  1. [MSC-82] Fix serviceStartRequested and serviceStartRequestCleared not…

    …ification in some of the previously added transitions.
    fl4via committed Apr 13, 2011
Commits on Apr 12, 2011
  1. [MSC-82] Changed dependency listener notifications:

    - immediateDependencyUninstalled/Installed is now replaced by immediateDependencyUnavailable/Available
    - the same was done to transitiveDependencyUninstalled/Installed, which are now transitiveDependencyUnavailable/Available
    - the methods above are invoked to notify not only of uninstalled dependencies, but also of administratively disabled ones (i.e., dependencies in NEVER mode)
    - dependency listener notifications will be performed only if a service is started to request, if the service is down, it won't notify listeners of problems with dependencies
    - for that reason, a new PROBLEM state was added, only in this state the service will notify listeners (dependents, however, are notified at real time, as dependency problems occur)
    - also a new WONT_START state was created, to represent services that are resting in the DOWN state (i.e., in NEVER mode)
    - new transitions were created altogether
    
    All tests have been updated accordingly.
    
    Also, services hold back from sending any notification to dependents on installation. The notifications will be sent only on commitInstallation.
    This avoids invalid listener notifications being sent from depedents who are in the PROBLEM state during the service installation, in case of a cycle being formed.
    fl4via committed Apr 8, 2011
Commits on Mar 31, 2011
  1. [MSC-77] Track immediate missing dependencies.

    More info:
    - separate immediateDependencyUninstalled/Installed and transitiveDependencyUninstalled/Installed notification methods for ServiceListener
    - getImmediateMissingDependencies added to ServiceController
    - all tests updated accordingly to reflect the changes and to assert new features
    fl4via committed Mar 30, 2011
Commits on Mar 28, 2011
Commits on Mar 24, 2011
  1. Minor pom fix

    dmlloyd committed Mar 24, 2011
Commits on Mar 23, 2011
Commits on Mar 22, 2011
  1. Initial mode validation

    dmlloyd committed Mar 22, 2011
  2. Minor cleanup

    dmlloyd committed Mar 22, 2011
  3. [MSC-79] getParent() method

    dmlloyd committed Mar 22, 2011
  4. Fix race condition where two ServiceRegistrationImpl's could be creat…

    …ed for the same service
    stuartwdouglas committed with dmlloyd Mar 22, 2011
Commits on Mar 11, 2011
  1. Next is 1.0.0.Beta8

    dmlloyd committed Mar 11, 2011
  2. Prep 1.0.0.Beta7

    dmlloyd committed Mar 11, 2011
Commits on Mar 9, 2011
  1. [MSC-73] Add more race condition tests, and fix StopRequestedToUpTran…

    …sitionTestCase.
    
    Also, start using BMUnit Byteman plugin for JUnit whenever possible.
    fl4via committed Mar 8, 2011
  2. [MSC-73] Tests for classes that have recently been added to the proje…

    …ct, and also to test some specific scenarios in old classes.
    fl4via committed Mar 8, 2011
  3. [MSC-74] Fix: ServiceName.commonAncestorOf returns null if one of the…

    … involved names is a prefix of the other one.
    fl4via committed Mar 8, 2011
  4. [MSC-72] At StatContextImpl.failed: check for a null reason; if the r…

    …eason is null, create a new StartException and proceed.
    fl4via committed Mar 8, 2011
  5. [MSC-71] At ServiceContainer.detectCycle sync block: move the check f…

    …or a null instance from the end to the beginning of the block
    fl4via committed Mar 8, 2011