This is to announce that the Brooklyn Client Command Line Interface tool has been added to the Apache Brooklyn "brooklyn-client" repository [1].
This is a lightweight, standalone command line client for Apache Brooklyn, written in Go. The intention is to provide the same control over Brooklyn that until now has only been possible via the graphical UI, but at the command line. So not only can Brooklyn now be used without requiring a web browser, but it also allows power users and devops teams to automate Brooklyn with shell scripts. The tool name is "br". Just to give a couple of quick examples, you could deploy a blueprint with $ br deploy webapp.yaml You can then check the progress of the installation by querying the application you just deployed: $ br application WebCluster Id: lmOcZbsT Name: WebCluster Status: RUNNING ServiceUp: true ... etc. (or just "br app"). The tool also lets you examine the status of individual entities in the application, check sensor values and policy configuration, examine the activity history, and even invoke effectors. The documentation for Brooklyn will be updated with guides for the CLI, and you can already read the current snapshot documentation [2]. It is worth noting that the tool is still under development, and, while it has broad coverage of Brooklyn functionality at present, there are still things to do. If you are interested in seeing a demo of the CLI in action, you might want to look at a blog post I wrote recently [3]. This is actually on a different topic (Brooklyn Salt integration) but does show the CLI in action. Thanks to Cloudsoft for contributing this to Apache Brooklyn. Regards Geoff Macartney [1] https://github.com/apache/brooklyn-client [2] https://brooklyn.apache.org/v/0.9.0-SNAPSHOT/ops/cli/index.html [3] http://www.cloudsoftcorp.com/blog/2016/03/salt-support-in-apache-brooklyn/ ———————————————————— Gnu PGP key - http://is.gd/TTTTuI
