EnableBAI.py script syntax
The EnableBAI.py script configures the Dynamic Event Framework (DEF) according to the parameters that you define.
Syntax
If no option is specified, this
script configures the Dynamic Event Framework (DEF) to subscribe to IBM® Business Automation
Workflow events
and installs the BPMEventEmitter application to emit BPMN events by
applying the default BPMEventEmitter.yml configuration.
wsadmin.bat|sh -f EnableBAI.py [--enable] [--property=propertyFile]|
--update=application | --update=subscriptions | --update=connection --property=propertyFile| --refresh | --help
wsadmin.sh -f EnableBAI.py [-e -d propertyFileLocation] |
-u application | -u subscriptions | -u connection -d propertyFileLocation|-r | --help
Parameters
- -e or --enable
- Optional. Configures the Dynamic Event Framework (DEF) to subscribe to IBM Business Automation Workflow events and installs the BPMEventEmitter application to emit BPMN events as configured in the BPMEventEmitter.yml file or on the command line.
- -u application or --update=application
- Uses the Workflow_Install_Root/BPM/analytics/BPMEventEmitter.war archive to update the installed BPMEventEmitter application.
- -u subscriptions or --update=subscriptions
- Manually edit the value of the subscription variable in Workflow_Install_Root/BPM/Lombardi/tools/def/SampleConfigureJSONEventsToJMS.py script, then run the command to update the list of event point keys for which you want to register interest in receiving events. The script refreshes the DEF configuration automatically.
- -u connection or --update=connection
- Updates the application connection information in the BPMEventEmitter.yml configuration file with the value that you pass in the command.
- --property=propertyFile property
- File location for updating the property values in the BPMEventEmitter.yml configuration file.
- -r or --refresh
- If you manually update the <Workflow_Install_Root>/profiles/<dmgr_profile_name>/config/cells/<cell_name>/defconfig.xml file, run this command with option -r for the Dynamic Event Framework (DEF) to refresh its configuration dynamically.
- --help
- Display this documentation of the parameters.