Page History
...
- The JS7 - REST Web Service API allows the same operations to be performed for Git integration as are provided in the JOC Cockpit GUI.
- JS7 - Unix Shell Command Line Interface
- JS7 - PowerShell Module
Automation using the Unix Shell CLI
The JS7 - Unix Shell CLI for Git Deployment offers simplified access to the REST Web Service API for scripting purposes.
Display feature availability | ||
---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# common options for connection to JS7 REST API
request_options=(--url=http://localhost:4446 --user=root --password=root --controller-id=controller)
# get credentials
./deploy-git.sh get-credentials "${request_options[@]}"
# store credentials
./deploy-git.sh store-credentials "${request_options[@]}" --server=github.com --user-account=community \
--user-name="Community" --user-mail="community@sos-berlin.com" \
--user-private-key=/var/sos-berlin.com/js7/joc/resources/joc/repositories/private/sos-community.rsa
# delete credentials
./deploy-git.sh delete-credentials "${request_options[@]}" --server=github.com |
Automation using the JS7 PowerShell Module
The JS7 - PowerShell Module offers simplified access to the REST Web Service API for scripting purposes.
Execution of the PowerShell examples with the -debug
option might prove to be instructive for logging REST API calls.
The documentation for related cmdlets can be found in PowerShell CLI 2.0 - Cmdlets - Git Repository Integration.
...
Overview
Content Tools