Common Usage

YAML Blueprints

Application blueprints can be written as a YAML file, following the OASIS CAMP specification with some extensions.

Alternatively, they can be written as code in Java, scripts in Groovy, or using your favorite JVM language.

There are several ways to deploy:

  • Supply this file at startup:
$ brooklyn launch --app ./blueprint.yaml
  • Curl it to the Brooklyn REST API to a running server:
$ curl -T ./blueprint.yaml -X POST http://localhost:8081/v1/applications
  • In the web-console: Select the "YAML" tab in the "Add Application" wizard:

Web Console