continuuity/loom — pull request #349 by dereklwood (2014-08-08 01:31:34+00:00)
Title: Feature/provisioner init

this PR makes standalone build on develop branch work:
- [x] necessary init scripts for provisioner master
- [x] necessary changes to the orchestration of bringing up loom standalone - ensure server is always running before provisioner starts or stops (for register/unregister). restart is now an ordered stop then start of components. registration is split into more granular functions.
- [x] standalone-specific provisioner-site.xml and maven changes to put it in place
- [x] as before, provisioner (now master and workers) are logging to stdout, which all gets redirected to a single log. I plan to add some additional header fields to the logging to help distinguish between different workers/tenants/etc.

```
mac[17:53:57] derek:bin (feature/provisioner-init)$ ./loom.sh start
Starting Loom Server ...
Starting Loom UI ...
Waiting for server to start before loading default configuration...
Loading default configuration...
Registering provisioner plugins with configured server
Waiting for server to start before running provisioner...
Starting Loom Provisioner ...
Requesting 5 workers for default tenant...

Go to http://localhost:8100. Have fun creating clusters!
```