Software AG Products 10.5 | Using CentraSite | Suite Usage Aspects | Using CentraSite with ARIS | Configuring and Activating Lifecycle Models and Design/Change-Time Policies That ARIS Uses | Activating Policies for ARIS through Command Line Interface
 
Activating Policies for ARIS through Command Line Interface
Pre-requisites:
To activate policies for ARIS through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named EnableARISIntegration for this purpose. The tool helps you to:
*Activate the lifecycle models and design/change-time policies that ARIS requires.
*Configure the Notify ARIS Service action in the ARIS change-notification policies (that is, the Notify ARIS on Service Changes, Notify ARIS on Service Completion, and Notify ARIS on Service Deletion policies). The change-notification policies inform the ARIS server of changes that have been made to objects in the registry that belong to ARIS.
*Configure the Enforce Unique Name action in the Enforce Unique Name policy. This policy ensures that the names of the Application Server type objects that are created in CentraSite are unique.
*Configure the Set State action in the Reset Lifecycle State to Initial State policy. This policy resets the lifecycle state of a Process object if it is republished from ARIS.
This is of a great usage for the Community edition of CentraSite as policies cannot be manipulated through its user interface.
*To activate policies
*Run the command EnableARISIntegration.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>EnableARISIntegration.cmd -user <USERNAME> -password <PASSWORD> [-dburl <CENTRASITE-URL> | [-h <HOSTNAME> -p <PORT>]]
The input parameters are:
Parameter
Description
CENTRASITE-URL
The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
Note:
If the registry or repository is running on a different machine and port number, you can use this parameter to specify its location instead of using the individual -h and -p parameters. (If you specify the -dburl parameter with the -h and -p parameters, the -h and -p parameters is ignored.)
USERNAME
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
PASSWORD
The password for the registered CentraSite user identified by the parameter -user.
HOSTNAME
The host name or IP address of the computer where the CentraSite registry or repository component is running.
If you omit this parameter, the importer assumes that the registry or repository is running on localhost.
PORT
The port number on which the CentraSite registry or repository is configured to listen for incoming requests.
If you omit this parameter, the importer assumes that the registry or repository is listening on the default port, 53307.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>EnableARISIntegration.cmd -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -h localhost -p 53307