Page History
...
- The JS7 offers to perform operations on orders, workflows, jobs and related objects by the JS7 - REST Web Service API.
- For detailed information see the Technical Documentation of the REST Web Service API.
- The REST Web Service API can be accessed from Shell utilities such as
curl
. - In addition, a PowerShell module is available for simplified access to the REST Web Service API. This is described in the JS7 - PowerShell Module article.
The Controller Status Operation Script offered for Unix Shell can be applied to perform frequently used status operations on Controllers and Agents.
Controller Status Operation Script
Operation | Object | Documentation |
---|
terminate / restart | Controller Instance | |
cancel / restart | ||
test | ||
switch-over | Controller Cluster | |
appoint-nodes | ||
confirm-loss |
Agent Instance | ||
enable / disable | ||
reset / reset force | ||
switch-over | Agent Cluster | |
reset / reset force | ||
confirm-loss | ||
Subagent | ||
enable / disable | ||
reset / reset force |
The script is offered for download and can be applied for frequently used deployment status operations:
- The script is available for Linux and MacOS® using bash shell.
- The script terminates with exit code 0 to signal successful execution, with exit code 1 for command line argument errors and with exit code 4 for non-recoverable errors. Exit code 3 signals that no matching objects have been found.
- The script is intended as a baseline example for customization by JS7 users and by SOS within the scope of professional services. Examples make use of JS7 Release 2.7.2, bash 4.2, curl 7.29.0 and jq 1.6.0.
...
jq ships with the MIT license, see https://opensource.org/licenses/MIT.
Download
Download: deploy-workflow.sh
Usage
Invoking the script without arguments displays the usage clause:
...
Overview
Content Tools