Commands to deploy, update, and undeploy dataclasses

Use these commands to delploy, update, and undeploy dataclasses in InfoSphere® Information Analyzer projects.

The basic syntax of a command to deploy dataclasses is:
IAAdmin -user user_name -password password -url https://host:port -deployDataClasses <jar file containing the custom jar and xml file>
You must run the following command on the engine tier in addition to the above command for java classifier deployment.
IAAdmin.bat -installClassifiers <location of MainJar>
For example, the following command deploys the data class artifacts specified by the jar or xml file:
IAAdmin -user admin -password admin -url https://myhost:9443 -deployDataclasses dataclasses.jar
The basic syntax of a command to update dataclasses is:
IAAdmin -user user_name -password password -url https://host:port -updateDataClasses <jar file containing the custom jar and xml file>
For example, the following command updates the data class artifacts specified by the jar or xml file:
IAAdmin -user admin -password admin -url https://myhost:9443 -updateDataClasses dataclasses.jar
The basic syntax of a command to undeploy dataclasses is:
IAAdmin -user user_name -password password -url https://host:port -undeployDataClasses <jar file containing the custom jar and xml file>
You must run the following command on the engine tier in addition to the above command for java classifier deployment.
IAAdmin.bat -deinstallClassifiers <location of MainJar>
For example, the following command undeploys the data class artifacts specified by the jar or xml file:
IAAdmin -user admin -password admin -url https://myhost:9443 -undeployDataClasses dataclasses.jar
Note: The file can be a jar or xml. If jar file is used, it should contain:
  1. The xml file which contains the data class definitions, adhering to schema DataClassesDefinition.xsd
  2. Optionally, the properties file which contain names and descriptions of data classes extracted from the xml file
  3. For more information on Java classifiers, see Creating a java classifier.

Basic parameters

Table 1. Basic parameters
Parameter Description
-user user_name Name of the user (required)
-password password Password to use (required)
-help or -h Displays list of available IAAdmin parameters
-v Verbose. If specified, success or failure error codes are displayed on the console or are sent to the specified file. The success code is (200). Error code 400 indicates that the request was bad. Error code 500 indicates that there was a server error. Consult the application server log files for more details.
-url https://host:port Host name and port number of the server (required)

Options that deploy, update, and undeploy dataclasses

The XML file must conform to the relevant schema. For more information about specific schema structures, see Schema definition file.

Table 2. Options that deploy, update and undeploy content
Content to deploy, update and undeploy Option
Creates data classes specified by the input xml -deployDataClasses
Updates any existing data classes and creates the ones that do not exist
Note: To update attributes of an existing data class, you can manually edit the values of the attributes in the input XML.
-updateDataClasses
Deletes data classes specified by the input xml -undeployDataClasses