Configuration Tool Command Line Interface
The Configuration Tool Command Line Interface (CLI) is an alternative way to define certain configuration properties that you otherwise would do with the AAI Configuration Tool, which is a user-interface utility. For more information, see Configuring Your AAI System.
As an AAI administrator or in-house developer, you can use these commands to define and maintain AAI system-wide configuration settings from the command-line interface (CLI) of your operating system or from a script. Adding any of these commands to a script can be helpful to perform actions that you want to execute as part of a repeated or automated process.
If you have any scripts that you use in an AAI version prior to v24.0.0 which use any of the configuration commands described here, when you upgrade to v24.0.0 be sure to update your scripts to point to the updated directory for the necessary files as follows:
-
Old (Pre-v24.0.0): Automation_Analytics_Intelligence/config
-
Current: (v24.0.0 or later): Automation_Analytics_Intelligence/config/apps/main
Overview
The scripts that you need to run configuration commands are located in the config\apps\main folder located in your AAI installation directory:
- run.bat for Windows
- run.sh for Linux
From here you can run the scripts and add the parameters and attributes relevant for the definition of the component you want to configure.
The config\apps\main directory also contains the config.jar Java application that allows you to define and change AAI system configurations properties using the command line.
You can invoke the config.jar directly from your installation directory
java -Dswing.aatext=true -jar config.jar
java -Dswing.aatext=true -jar config.jar
Example
In this example, we call the config.jar from the config/apps/main directory (in the AAI installation directory) to configure the SMTP connection:
java -Dswing.aatext=true -jar config.jar smtpconfig --create "/Automation_Analytics_Intelligence/config/apps/main/smtpconfig.properties"
This section includes the following pages: