clarencen/lshift — Issue #280: Create CLI to configure the agent
Author: clarencen
Created: 2011-11-14 22:42:22+00:00
State: open

It would be cool to have some kind of CLI that can be used to configure the agent. A possible choice is to knock out some simple scripts in Ruby or Python that use the REST API and can be easily run without any non-standard tools having to be installed (e.g. the scripts should not depend on Maven).

***Potentially we split this ticket into two tickets to one that covers the CLI and one that covers a simple dump/load tool***

A further extension would be to write a config file load/dump facility that would parse/generate a config file in a scripting language and issue the necessary commands against the REST API.

We would need to think about how this could be bound into the integration tests which currently use a Scala based REST client.

Also, this issue (to an extent) depends on #51 landing.

Furthermore, as part of ticket #140, the REST clients for the agent management were moved from the json-messaging module to the tools module (and a test dependency from the agent module on the tools module was established temporarily). Once this ticket is implemented, the tools module should be obsolete and can be deleted. However, the REST clients can move to the test directory of the agent module.