Dalton Hubble
481c99bf6a
tests: Improve matcher and context handler test coverage
2016-01-15 18:05:07 -08:00
Dalton Hubble
bf72dde027
api: Convert handlers to ContextHandlers to isolate responsibility
...
* Add SpecMatcherHandler to match machine requests to Specs
2016-01-15 18:05:07 -08:00
Dalton Hubble
bb976840e1
Documentation: Add group matcher docs, improve docs and examples
...
* Remove Machine docs since machine resources are no longer used
2016-01-08 12:12:48 -08:00
Dalton Hubble
ccd3c7a839
api: Associate machines' attribute labels to specs by group matchers
...
* Use YAML group config to match machine labels to groups of zero or
more machines sharing a Specification
* Discontinue using machine.json resources representations which are
repetitive, don't support groups, and don't allow label matching
* Previous "default" special case now handled by a Group with an empty
matcher
2016-01-07 23:24:05 -08:00
Dalton Hubble
7482e94876
api: Allow default machine Spec selector
...
* Apply the data/machines/default/machine.json Spec to
machines which do not match any spec
2016-01-05 12:52:54 -08:00
Dalton Hubble
72a782c4ef
api: Use machine and spec resources to present cloud configs
...
* Change data/cloud directory to be a flat collection of cloud configs
2015-12-31 10:16:48 -08:00
Dalton Hubble
ca49ec6489
api: Use machine and spec resources to present boot scripts/JSON
...
* Discontinue using data/boot directory containing BootConfig JSON files
2015-12-30 17:42:09 -08:00
Dalton Hubble
16e9c7a773
api: Add machine and spec endpoints with FileStore backing
2015-12-30 16:50:52 -08:00
Dalton Hubble
05c500195e
api: Add logging and GET check as middleware handlers
2015-12-30 14:35:16 -08:00
Dalton Hubble
14cef63809
tests: Add tests for handlers
2015-12-23 12:00:40 -05:00