deploy
Use the deploy command to deploy connectivity for a solution.
Purpose
Use the connectivityManager deploy command to copy the solution connectivity and associated configuration to the Liberty profile server, to install the solution connectivity. You must provide the configuration required by the solution connectivity in a Liberty profile .xml configuration file. 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 the inbound and outbound endpoints that are specified in the connectivity configuration 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.
Syntax
connectivityManager deploy local solutionFeature solutionConfig
[--overwrite=true|false]
[--copyOnly=true|false]
[--ignoreValidationWarnings=true|false]
[--inboundEndpoints=inbound_endpoint_names]
[--outboundEndpoints=outbound_endpoint_names]
[--propertiesFile=properties_file]
[--server=server_name]
[--disableContainerManagedTransaction=true|false]
connectivityManager deploy remote solutionFeature solutionConfig
[--copyOnly=true|false]
[--overwrite=true|false]
[--ignoreValidationWarnings=true|false]
[--inboundEndpoints=inbound_endpoint_names]
[--outboundEndpoints=outbound_endpoint_names]
[--propertiesFile=properties_file]
[--host=hostName]
[--port=portValue]
[--username=userName]
[--password=password]
[--keyStoreLocation=keystore_location]
[--keyStorePassword=keystore_password]
[--readTimeout=timeout_value]
[--sslProtocol=sslProtocol]
[--trustStoreLocation=truststore_location]
[--trustStorePassword=truststore_password]
[--disableSSLHostnameVerification=true|false]
[--disableServerCertificateVerification=true|false]
[--disableContainerManagedTransaction=true|false]
Description
| Parameter | Description |
|---|---|
| solutionFeature | The filename of the solution feature. |
| solutionConfig | The filename of the solution configuration. |
| Parameter | Description |
|---|---|
| overwrite | If this value is set to true, the existing solution connectivity configuration is overwritten. The default is false. |
| copyOnly | If this value is set to true, the connectivity configuration and application are copied to the server but solution connectivity is not activated. |
| disableContainerManagedTransaction | If this value is set to true, the transaction attribute for inbound JMS endpoint MDBs is set to NotSupported, which allows inbound connectivity to be used with a JMS resource adapter that does not support XA. The default is false, which causes the default value for the transaction attribute to be used. |
| ignoreValidationWarnings | If this value is set to true, the solution connectivity is not validated during deployment. The default is false. |
| inboundEndpoints | This is a comma-separated list of the names of the inbound endpoints in the solution. You can specify the wildcard (*) to include all the inbound endpoints in the list. |
| outboundEndpoints | This is a comma-separated list of the names of the outbound endpoints in the solution. You can specify the wildcard (*) to include all the outbound endpoints in the list. |
| propertiesFile | The path to a properties file from which to read properties. If you do not specify a value, the default path to the connection.properties file in the runtime/ia/etc directory is used. |
| server | The name of the local server. This parameter is only used for local connections. If you do not specify a value, the value specified by the propertiesFile option in the properties file is used. |
| Parameter | Description |
|---|---|
| solutionFeature | The filename of the solution feature. |
| solutionConfig | The filename of the solution configuration. |
| Parameter | Description |
|---|---|
| copyOnly | If this value is set to true, the connectivity configuration and application are copied to the server but solution connectivity is not activated. |
| disableContainerManagedTransaction | If this value is set to true, the transaction attribute for inbound JMS endpoint MDBs is set to NotSupported, which allows inbound connectivity to be used with a JMS resource adapter that does not support XA. The default is false, which causes the default value for the transaction attribute to be used. |
| overwrite | If this value is set to true, the existing solution connectivity configuration is overwritten. The default is false. |
| ignoreValidationWarnings | If this value is set to true, the solution connectivity is not validated during deployment. The default is false. |
| inboundEndpoints | This is a comma-separated list of the names of the inbound endpoints in the solution. You can specify the wildcard (*) to include all the inbound endpoints in the list. |
| outboundEndpoints | This is a comma-separated list of the names of the outbound endpoints in the solution. You can specify the wildcard (*) to include all the outbound endpoints in the list. |
| propertiesFile | The path to a properties file from which to read properties. If you do not specify a value, the default path to the connection.properties file in the runtime/ia/etc directory is used. |
| host | The host name of the remote server. This parameter is only used for remote connections. If you do not specify a value, the value specified by the propertiesFile option in the properties file is used. |
| port | The HTTPS port of the remote server. This parameter is only used for remote connections. If you do not specify a value, the value specified by the propertiesFile option in the properties file is used. |
| username | The administrator user name for the remote server. This parameter is only used for remote connections. If you do not specify a value, the value specified by the propertiesFile option in the properties file is used. If a value is not specified either on the command line or in the properties file, the system prompts you to provide a password interactively. |
| password | The administrator password for the remote server. This parameter is only used for remote connections. If you do not specify a value, the value specified by the propertiesFile option in the properties file is used. If a value is not specified either on the command line or in the properties file, the system prompts you to provide a password interactively. |
| trustStoreLocation | The location of the trust store. This parameter is only used for remote connections. If you do not specify a value, the value specified by the propertiesFile option in the properties file is used. |
| trustStorePassword | The trust store password. This parameter is only used for remote connections. If you do not specify a value, the value specified by the propertiesFile option in the properties file is used. If the property is not set in the properties file, a password is not used. If not specified, the trust store is still accessed but the integrity of the trust store is not validated. |
| disableSSLHostnameVerification | If this value is set to true, SSL host name verification is disabled. This parameter is only used for remote connections. If you do not specify a value, the value specified by the propertiesFile option in the properties file is used. If a value is not specified either on the command line or in the properties file the default false is used. |
| disableServerCertificateVerification | This parameter is used to disable server certificate verification. If you set this parameter to true, the client does not check whether the certificate presented by the server is trusted. If the server is not trusted, authentication credentials and other user information might be passed on through the JMX connection. This parameter is optional. If not specified, it uses the value in the properties file specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, it defaults to false. |
| keyStoreLocation | The location of the keystore. If you do not specify a value, this parameter uses the value in the properties file specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, no keystore is used. |
| keyStorePassword | The keystore password. If you do not specify a value, this parameter uses the value in the properties file specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, you are asked to provide a password interactively. |
| readTimeout | The amount of time expressed in milliseconds that the utility waits for a response from the server before closing a connection. This parameter is optional. If you do not specify a value, it uses the value that is specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, the default value is 60000 (1 minute). |
| sslProtocol | The SSL protocol for the connection. If you do not specify a value, this parameter uses the value in the properties file specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, the value "TLSv1.2" is used. |
Example
connectivityManager deploy local mysolution.esa mysolution-config.xml
connectivityManager deploy remote mysolution.esa mysolution-config.xml