Deploying solution connectivity
To deploy the connectivity for your solution, you run the connectivityManager script with the deploy command.
About this task
You use the connectivityManager deploy command to copy the solution connectivity and associated configuration to the Liberty profile server, and to install the solution connectivity. You must provide the configuration required by the solution connectivity in a Liberty profile .xml configuration file. You can use the connectivityManager generate command to help you create this configuration file for your solution. Decision Server Insights includes the configuration file in the main Liberty profile server.xml file, when the solution connectivity is activated. You can run the connectivityManager script locally or remotely. If you run the script locally, it modifies files on the current, local system. If you run the script remotely, it establishes an HTTP connection to a running Liberty profile server, which might be a remote host or the local host. You must provide administrator authentication credentials to run the script remotely.
If you want to validate the configuration and determine whether to deploy the inbound connectivity application, you can optionally specify the names of inbound and outbound endpoints. If you do not specify any endpoint names, Decision Server Insights uses the names of all inbound and outbound endpoints that are specified in your solutionConfig file.
If you specify either inbound or outbound endpoint names, Decision Server Insights uses the names of just those endpoints. If you specify both inbound and outbound endpoint names, Decision Server Insights uses the names of all the specified endpoints. The lists of endpoint names are important when you are deploying solution connectivity to inbound and outbound connectivity servers, because they ensure that you deploy your configurations and applications to the correct servers.
Procedure
- Run the script locally as shown in the example. When you run the command locally, you must provide the name of the solution archive .esa file, and the name of the .xml file that contains the solution connectivity configuration.
- Run the script remotely as shown in the example.
Example
connectivityManager deploy local mysolution.esa mysolution-config.xml
connectivityManager deploy remote mysolution.esa mysolution-config.xml