Script¶
Scripts are written in JavaScript (how to write script), identified by id and name. Scripts are used by distributions, to decide how application instances should be distributed.
Elements¶
id
Script id.
name
Script name.
scriptType
Possible values:
- check-if-node-can-accept-new-application-instance-v1
- select-node-for-new-application-instance-v1
- select-application-instance-to-remove-v1
For more information go to script types.
content
Script content.