Installing the Petals BC Gateway tooling pack
Through Debians packages
If you have installed Petals CLI using the Debian packages, we recommend you to install the Petals BC Gateway tooling pack using its own Debian package (petals-cli-bc-gateway). Otherwise, unzip the content of the ZIP archive in the directory $PETALS_CLI_HOME/extensions.
Through ZIP archives
If you have installed the full ZIP archive, the extension should be already installed. Otherwise, unzip the content of the ZIP archive petals-cli-bc-gateway in the directory $PETALS_CLI_HOME/extensions.
Installation verification
To check that the installation is correct, just get the list of available commands of your Petals CLI, you should see the command 'bc-gateway.*' in the list:
> ./petals-cli.sh -c -- help Available commands: ... bc-gateway.repropagate Repropagate all elected endpoints to the client domains of the BC Gateway. connect Connect to a Petals ESB node. ...
Commands
Refresh endpoint propagations
The command bc-gateway.repropagate provides a way to refresh endpoint propagations to domain clients of the current gateway.
USAGE: bc-gateway.repropagate usage: bc-gateway.repropagate [-n <component-identifier>] DESCRIPTION: Repropagate all elected endpoints to the client domains of the BC Gateway OPTIONS DESCRIPTION: -n,--component <component-identifier> The component identifier associated to the BC Gateway.
The default component identifier used is: petals-bc-jbi-gateway.