Installing, validating, and activating the sample data
You can use Ant scripts to install, validate, and activate the sample data.
About this task
Procedure
-
To unpack the sample configuration file, run the following command:
InstallService.cmd <INSTALL_DIR>\referenceImplementation\ReferenceImpl.jar
./InstallService.sh <INSTALL_DIR>/referenceImplementation/ReferenceImpl.jar
where,
<INSTALL_DIR>
is the location where Sterling Order Management is installed.The <INSTALL_DIR>/properties/AuroraValueMaps.xml.sample file is created. This file contains the mappings between the sample data and the HCL Commerce sample extended site store.
- Rename <INSTALL_DIR>/properties/AuroraValueMaps.xml.sample to ValueMaps.xml.
-
Run the install in activator mode or non-activator mode.
- To install, validate, and activate the sample data, run the install in activator mode from
the
<INSTALL_DIR>/bin
directory. The following table describes your options for installing the sample data in activator mode:Option Description To install and activate configuration data and demo data sci_ant.cmd -f load_aurora_ref_impl.xml -Drunmasterdata=Y -logfile <logfile>
./sci_ant.sh -f load_aurora_ref_impl.xml -Drunmasterdata=Y -logfile <logfile>
To install and activate configuration data only sci_ant.cmd -f load_aurora_ref_impl.xml -logfile <logfile>
./sci_ant.sh -f load_aurora_ref_impl.xml -logfile <logfile>
To install and activate transaction data sci_ant.cmd -f load_aurora_ref_impl.xml -Drunmasterdata=Y transactiondata -logfile <logfile>
./sci_ant.sh -f load_aurora_ref_impl.xml -Drunmasterdata=Y transactiondata -logfile <logfile>
When you run the install in activator mode, the sample data is installed, validated, and activated. Next, follow step 6 to activate the integration.
- To install the sample data without activating the data, run the install in non-activator
mode from the
<INSTALL_DIR>/bin
directory. The following table describes your options for installing the sample data in non-activator mode:Option Description To install configuration data only without activating the data sci_ant.cmd -f load_aurora_ref_impl.xml noactivator -logfile <logfile>
./sci_ant.sh -f load_aurora_ref_impl.xml noactivator -logfile <logfile>
To install configuration data and demo data without activating the data sci_ant.cmd -f load_aurora_ref_impl.xml noactivator -Drunmasterdata=Y -logfile <logfile>
./sci_ant.sh -f load_aurora_ref_impl.xml noactivator -Drunmasterdata=Y -logfile <logfile>
When you run the install in non-activator mode, the sample data is installed but not activated. Next, follow step 4 to validate the sample data, step 5 to activate the sample data, and step 6 to activate the integration.
Note: If the sample configuration installation fails and you want to rerun the installation scripts, ensure that you delete the.restart
files before you rerun the installation. - To install, validate, and activate the sample data, run the install in activator mode from
the
-
To validate the installed sample data without activating it, run the following command from the
<INSTALL_DIR>/bin
directory:sci_ant.cmd -f load_aurora_ref_impl.xml validate -logfile <logfile>
./sci_ant.sh -f load_aurora_ref_impl.xml validate -logfile <logfile>
-
To validate and activate the installed sample data, run the following command from the
<INSTALL_DIR>/bin
directory:sci_ant.cmd -f load_aurora_ref_impl.xml activator -logfile <logfile>
./sci_ant.sh -f load_aurora_ref_impl.xml activator -logfile <logfile>
- After you activate the sample data, activate the integration by running the enterprise activation script on created enterprises. For more information, see Activating a Direct Integration.