Commits on Nov 26, 2013
  1. Create

    James Bayer committed Nov 26, 2013
Commits on Dec 11, 2012
  1. Gosteno change broke Gonit.

    Changed from using a reference to a value for the return of steno GetLogLevel.
    Change-Id: I6f398dbb6c9e115f056720beb31841d56ac49e6d
    lisbakke committed Dec 11, 2012
Commits on Nov 30, 2012
  1. Fix group/all restarts with process dependencies

    - widen the scope of visitor table so processes dependencies are not
      restarted more than once during a group control action
    - visitor table is now passed as a param (via type ControlAction)
      rather than shared (was a member of type Control)
    - add integration tests
    Change-Id: I58c0e167f70208ce07b5600e228227f20366adc7
    dougm committed Nov 27, 2012
  2. Remove Process.Detached option

    The Detached option was more useful when we did the double-fork self-detaching.
    Since removing the double-fork, this option is less useful and will likely lead
    to more confusion than convenience, where convenience was just gonit writing the
    pid file.
    With this option removed, processes are required to write their own pid file.
    Change-Id: Id28025bfe3c58ed376f352f0d2f258b2792daa9a
    dougm committed Nov 30, 2012
Commits on Nov 23, 2012
  1. Put Doug as gem author.

    Change-Id: Iee7f3f24583016efeb90d58eaa93f32996961e1a
    lisbakke committed Nov 23, 2012
Commits on Nov 19, 2012
  1. Use log.Panic instead of log.Fatal in tests

    Change-Id: I3bd7ea9ab10802ee0391c3ae917dd1c8eb3ff4bd
    dougm committed Nov 19, 2012
Commits on Nov 16, 2012
  1. Merge "Initial process recovery implementation"

    dougm committed with Gerrit Code Review Nov 16, 2012
  2. Merge "Avoid concurrent control actions for a process"

    dougm committed with Gerrit Code Review Nov 16, 2012
  3. Initial process recovery implementation

    - add process watcher + integration test
    Change-Id: Ia45b93eeae708d71ce35db035656b7a73c36c259
    dougm committed Nov 7, 2012
Commits on Nov 14, 2012
  1. Ruby API client

    Change-Id: I54001eaff699f667d4029691700b363f9db3ecc4
    dougm committed Nov 9, 2012
  2. Avoid concurrent control actions for a process

    - api integration test
    - ProcessState.Monitor defaults to MONITOR_INIT if Process.MonitorMode == "active"
    - control: monitorUnset before calling StopProcess
    - control: add monitorActivate helper
    - test/helper enhancements
    Change-Id: I6ab1d31653c7ae0107edd8de29eb155ae939ad61
    dougm committed Nov 13, 2012
Commits on Nov 7, 2012
  1. Fix gonit persist bug in tests.

    Change-Id: I29ee13aef48ce321c794cbcc48d47fa2d60eb85a
    lisbakke committed Nov 7, 2012
Commits on Nov 1, 2012
  1. test fixes

    - fix log_test when run with: sudo -E go test
    - fix helper.NewTestProcess BuildBin path
    Change-Id: I7249ebdeb955df5bd3b17720bb6e947a86c5d98e
    dougm committed Nov 1, 2012
Commits on Oct 31, 2012
  1. Initial integration tests.

    Adds helper functions to start/stop gonit, run gonit commands and
    assert the existence of processes and log messages.
    Change-Id: I54857ace9fef23973d2cec3aaa675b1f5611e122
    lisbakke committed Oct 18, 2012
Commits on Oct 19, 2012
  1. increase gocheck verbosity

    we need the output of '-gocheck.vv' to parse via our modified go2xunit
    Change-Id: I40b4b0fe1a91edc63dd0177bc9e239139e0a26d0
    dougm committed Oct 19, 2012
Commits on Oct 18, 2012
  1. migrate from 'assert' to 'gocheck' for unit tests

    Change-Id: I26c47429b7f83d22bd7893d82c00a07115e8066f
    dougm committed Oct 17, 2012
Commits on Oct 17, 2012
  1. use the official goyaml repo

    Change-Id: I9076b6466b6d3504563f19a5965d874dbc13e0b4
    dougm committed Oct 17, 2012
  2. Integrate gosteno logging

    Change-Id: Idd9b19362566cbe42349f0e61f92a4f80504fada
    dougm committed Oct 2, 2012
  3. Persist gonit states.

    1) Fill out 'gonit reload' command that reloads configs.
       The API user is responsible for stopping/starting processes
       before/after 'gonit reload'. A config will only be reloaded if
       it is a valid config.
    2) Persist ProcessState structs after start/monitor/unmonitor.
    3) Load persisted state before starting a process.
    Change-Id: Iaac0b81eda1ccac127059f8633a65a9b9eeac526
    lisbakke committed Sep 25, 2012
Commits on Oct 16, 2012
  1. Output gonit status in alphabetical order.

    Change-Id: I3ccec2db14fa77d63e6cb5e1d73fe6dda1f19a54
    lisbakke committed Oct 10, 2012
Commits on Sep 27, 2012
  1. Add gonit daemon options to ConfigManager Settings

    Change-Id: Ie16a3f3bb3c59de22ca66fa205a02ed88a0b2552
    dougm committed Sep 20, 2012
Commits on Sep 26, 2012
  1. Merge "Default gonit status to gonit status all."

    lisbakke committed with Gerrit Code Review Sep 26, 2012
  2. Fix gonit unix socket bug.

    If gonit started the RPC server listener and then unexpectedly
    shutdown, it would not clean up the unix socket file.  When gonit
    was restarted it would then fail to start due to the unix socket file
    already existing.
    Change-Id: I05b70cff2956e785602fac699b36a2a0e86faf84
    lisbakke committed Sep 25, 2012
Commits on Sep 25, 2012
  1. Default gonit status to gonit status all.

    Change-Id: I1d06aafcf8e450f0608bda3b71b85186ede60502
    lisbakke committed Sep 25, 2012
Commits on Sep 20, 2012
  1. Fix a bug where gonit can't read a pidfile with a newline.

    Change-Id: If615f05969038ba336704670614b9a3854b445f7
    lisbakke committed Sep 20, 2012
Commits on Sep 19, 2012
  1. Start/stop/restart actions and main integration.

    This change adds the ability to use start/stop/restart actions in
    event rules. It also integrates the eventmonitor into the main code,
    so it runs when gonit is running.
    Change-Id: I617024ccbc83b02e0fb80c6eb34a7c4d0eac46c5
    lisbakke committed Sep 4, 2012
Commits on Sep 12, 2012
  1. Fix possible deadlock/panic when detaching a process

    Remove fork() call which often caused deadlock on linux and
    panic on macosx.  We now reap any process we start via Wait()
    in a go routine for those who do not self detach.
    Change-Id: Ifa526561f8c385bc8d000310e0445ba87bf56bfe
    dougm committed Sep 5, 2012
Commits on Sep 5, 2012
  1. close directory after reading config files

    Change-Id: I66caf737325937298b03596767ab66cea478de4c
    dougm committed Sep 5, 2012
  2. Merge "Adding duration support to eventmanager."

    lisbakke committed with Gerrit Code Review Sep 5, 2012
  3. Improve usage (help) message

    Change-Id: I9ef33f151dd90b1e55d10de07ef553d4ddf0dc43
    dougm committed Sep 5, 2012
Commits on Sep 4, 2012
  1. Adding duration support to eventmanager.

    Also turn all resources to uint64.
    Change-Id: I229d526a57c16a9c6660171670b595ea2143caf1
    lisbakke committed Aug 28, 2012
  2. Implement RPC status and summary methods

    Includes cli output formatting
    Change-Id: I617289a5faf9655e2835a5fc351f8b258d7a51f1
    dougm committed Aug 24, 2012
Commits on Aug 29, 2012
  1. workaround possible test hangs

    Change-Id: I3ce6ce0374fb86933148ef4cdeb5b461d4a32b2d
    dougm committed Aug 29, 2012
Commits on Aug 16, 2012
  1. Initial version of the main gonit program

    - supports starting in daemon mode and client/cli mode
    - hook to ConfigManager, rpc server lifecycle, signal handling, etc.
    Change-Id: Ib23f5f386cb944f93ed2c583d1e4816dd49221fe
    dougm committed Aug 16, 2012
  2. Implement RPC action methods

    - stubs filled in for control actions (process, groups and "all")
    - remove/rename some "service" items (we are doing processes only)
    - change control DoAction to return error instead of bool
    Change-Id: I80e26213eb3a4528b22d6d73e8ec3f0bced4aa7b
    dougm committed Aug 16, 2012