cmr-exchange / dev-env-manager

An Alternate Development Environment Manager for the CMR
Apache License 2.0
0 stars 1 forks source link

Create generic health check functions #18

Closed oubiwann closed 6 years ago

oubiwann commented 6 years ago

For every type of supported health check, we will need a function to perform the check. So far, these are:

Ultimately, these would be used like so at the system-component-level:

[{:name :mock-echo :type :tcp :frequency 30000}
 {:name :mock-echo :type :http :frequency 5000}
 {:name :elasticsearch :type :docker :frequency 10000}

But directly, these functions would probably be utilized by a new health method supported by service components -- those would be responsible for setting/configuring the proper hosts, ports, endpoints, containers, etc.

As such, dev tasks might be this:

oubiwann commented 6 years ago

HTTP GETer done in b79c041.

oubiwann commented 6 years ago

Docker checker done in 06d8eca.

oubiwann commented 6 years ago

Added TCP ping support in 261f564.