A deploy rule defines how the collective controller deploys and operates a collective member. There are built in rules for Liberty members, Node.js members, and Docker container members. The Docker deploy rule supports either a Liberty or Node.js member running inside the container. Choose the rule that matches the member type you want to deploy. The built in rules are sufficient for usual circumstances, but if necessary you can override elements of a rule or define a new rule.
Name | Type | Default | Description |
---|---|---|---|
id | string | A unique configuration ID. | |
deploy | string | The command to run at the target host to deploy a member | |
undeploy | string | The command to run at the target host to undeploy a member | |
start | string | The command to run at the target host to start a deployed member | |
stop | string | The command to run at the target host to stop a deployed member | |
type | string | The type of member to be deployed: Liberty, Node.js, or docker | |
name | string | The name of the deploy rule | |
restart | string | The command to run at the target host to restart a deployed member |
A unique configuration ID.
Name | Type | Default | Description |
---|---|---|---|
id | string | A unique configuration ID. | |
displayName | string | The display name for the runtime |
A unique configuration ID.
Name | Type | Default | Description |
---|---|---|---|
id | string | A unique configuration ID. | |
name | string | The name of the input variable | |
type | string | The type of the input variable. Valid types are String, password, filePath (a directory), file (a file name, for example, package.zip), cluster (name of a cluster), dockerImage (name of a docker image). | |
description | string | The description of the input variable | |
defaultValue | string | The default value for the input variable | |
displayName | string | The display name of the input variable | |
group | string | The group of the input variable |