sixsq.slipstream.client.api.lib.app

app-uri-to-req-params

(app-uri-to-req-params uri params)

assoc-comp-param

(assoc-comp-param m k v)

build-comp

(build-comp uri & [params req])

Builds new component identified by uri. For details see documentation to deploy.

deploy

(deploy uri & [params req])

Deploys an application identified by uri (e.g. examples/my-app). Deployment and component parameters are expected in params map.

The following reserved deployment parameters are recognized:

  • {:scalable true|false} to start a scalable deployment;
  • {:keep-running :never|:always|:on-error|:on-success} to influence the runtime and termination of the deployment;
  • {:tags "comma-separated-list"} to identify the deployment.

Application component parameters should be provided in the following form:

{"comp-name:param-name" val}

E.g., to deploy component on a specific cloud use:

{"comp-name:cloudservice" "cloud-connector-name"}

deploy-comp

(deploy-comp uri & [params req])

Deploys a component identified by uri.

Component parameters should be provided in the following form:

{"param-name" val}

For details see documentation to deploy.

param-keep-running

param-refqname

param-scalable

param-tags

param-type

params-reserved

parse-params

(parse-params params)