DeployGbc
The DeployGbc program implements a set of command line options for working with Genero Browser Client (GBC) files on a GAS secured by a Genero Identity Provider.
Syntax
DeployGbc command [ options ] [ args ]
- command. There are six commands to perform actions on GBC on the GAS:
- list lists all GBC.
- deploy deploys a GBC.
- undeploy undeploys a GBC.
- default sets GBC as default.
- reset resets GBC to the default in the FGLGWS installation.
- rename renames a GBC.
- options are described in Table 1.
- args include the URL of the GAS. Some arguments are specific to commands and these are described in the next paragraphs.
Syntax 1: list/reset GBC
DeployGbc { list | reset } [ options ] url
- options are described in Table 1
- url is the GAS base URL
Syntax 2: deploy/undeploy/default/rename GBC
DeployGbc {
| deploy | undeploy
| default | rename }
[ options ] name url
- options are described in Table 1
- name is the GBC file name
- url is the GAS base URL
Option | Description |
---|---|
|
Displays help for the command. |
|
The HTTP user name. |
|
The password of the HTTP user. |
-t, --token value
|
The access token value. |
-f, --tokenfile
filename
|
The access token file. |
-x, --xml |
Output result of command in XML format. |
Usage
Note: The DeployGbc tool is located in your
$FGLDIR/web_utilities/services/gip/bin/deploy directory.
The
DeployGbc tool allows you to manage Genero Browser Client files at the command
line. For instance, you can use this tool to deploy and configure GBC on a remote GAS or using a
script. Use a command with the help option to display available options. For example:
DeployGbc reset --help
See the next paragraphs for examples using DeployGbc.
Get list of deployed GBC
Run this command to list the deployed GBC on a GAS. Mainly, you would use this to check your access is working; that you have an up-to-date access token, and that the GAS URL is reachable.
DeployGbc list --xml --tokenfile mytoken.json
GAS_base_URL
Where:
- The
--xml
option is specified for the format of the output. - The
--tokenfile
option needs the path to a file name where the access token got from the IdP is saved. See GetToken for details of getting the access token. - GAS_base_URL is the URL for the Genero Application Server (GAS) where you
want to see the list of deployed
GBC.
https://host:port/gas
Deploy a GBC file
Run this command to deploy a GBC on a GAS.
DeployGbc deploy -f mytoken.json myGBCProject.zip
GAS_base_URL
- The
-f
option (short option for--tokenfile
) gives the path to a file name where the access token got from the IdP is saved. - The GBC file name is specified.
- GAS_base_URL is the URL for the Genero Application Server (GAS) where you
want to deploy the
GBC.
https://host:port/gas