EnableCaseBAI.py script syntax

Use the EnableCaseBAI.py script to automate the deployment, upgrade, or uninstallation of the Case event emitter application.

Syntax

wsadmin.bat|sh -lang jython -f EnableCaseBAI.py 
--war=<emitter_war_location> 
--config=<json_file_location> [--appName=<application_name>] 
--operation=<install or update or uninstall> [--type=<Standard or Cluster>] 
[--cell=<cell_name>] [--cluster=<cluster_name>] [--node=<node_name>] [--server=<server_name>] 
[--virtualHost=<virtual_host_name>] [--kerbConf=<krb5.conf_location>] [--help] [--verbose]
wsadmin.bat|sh -lang jython -f EnableCaseBAI.py 
-w <emitter_war_location> 
-j <json_file_location> [-n <application_name>] 
-o <install or update or uninstall> [-t <Standard or Cluster>] 
[-e <cell_name>] [-l <cluster_name>] [-d <node_name>] [-s <server_name>] 
[-i <virtual_host_name>] [-k <krb5.conf_location>] [--help] [--verbose]

Parameters

-w or --war
Mandatory. Specifies the CaseEventEmitter.war file from an existing installation with no configuration file in it. The name must be CaseEventEmitter.war. Use the forward slash character (/) as the path separator, for example C:/Case/CaseEventEmitter.war or /opt/Case/CaseEventEmitter.war.
-j or --config
Mandatory. Specifies the JSON configuration file. Use the forward slash character (/) as the path separator, for example C:/Case/CaseEventEmitter.json or /opt/Case/CaseEventEmitter.json.
-n or --appName
Optional when you start the script. The name of the target application and WAR file, for example CaseEmitter_localkafka.war.
-o or --operation
Mandatory. Whether to operate an installation, upgrade, or uninstallation.
--operation=install
--operation=update
--operation=uninstall
-k or --kerbConf
Conditional. If the Kafka server security is configured with Kerberos, you must provide the krb5.conf file, for example C:/Case/krb5.conf or /opt/Case/krb5.conf.
-t or --type
Optional when you start the script. The type of deployment environment. If you do not set this parameter, the user is prompted to set it at run time.
--type=Standard
--type=Cluster
- e or --cell
Optional when you start the script. The name of the WebSphere® Application Server cell to which the application must be deployed. If you do not set this parameter, the user is prompted to set it at run time.
-l or --cluster
Optional when you start the script. The name of the WebSphere Application Server cluster to which the application must be deployed. If you do not set this parameter, the user is prompted to set it at run time.
-d or --node
Optional when you start the script. The name of the WebSphere Application Server node to which the application must be deployed. If you do not set this parameter, the user is prompted to set it at run time.
-s or --server
Optional when you start the script. The name of the WebSphere Application Server instance to which the application must be deployed. If you do not set this parameter, the user is prompted to set it at run time.
-i or --virtualHost
Optional when you start the script. The name of the virtual host to which the application must be mapped. If you do not set this parameter, the user is prompted to set it at run time.
--help
Displays this documentation of the parameters.
--verbose
A debug flag for troubleshooting purposes.