Setting up BOPIS deployment accelerator

You can set up BOPIS deployment accelerator by using the installService script.

About this task

The BOPIS deployment accelerator script installs both Hub and Organization level setup. For an Organization level setup, ensure to pass the organization code and the corresponding corporate address as input to the deploymentaccelerator.properties file. Additionally, provide all properties required by the BOPIS service to load stores in the customer_overrides.properties file.

When you run the BOPIS deployment accelerator script, an enterprise organization is created in Sterling Order Management System Software, and configurations are added for the organization.

Procedure

  1. Run the installService script on the BOPIS deployment accelerator JAR by running the following command from the INSTALL_DIR/bin folder. The BOPIS deployment accelerator JAR is located in the INSTALL_DIR/deploymentaccelerator directory.

    ./InstallService.sh INSTALL_DIR/deploymentaccelerator/deploymentaccelerator.jar

    The BOPIS deployment accelerator script places all the resources, JARs, and properties in their respective directories.
  2. Navigate to INSTALL_DIR/properties/deploymentaccelerator.properties.sample and rename the sample file to deploymentaccelerator.properties.
  3. Set the following properties in the deploymentaccelerator.properties file:
    • Organization.OrganizationCode - Pass the organization code of the enterprise organization.
      Note: The BOPIS deployment accelerator script calls the manageOrganizationHierarchy API to create an enterprise organization. However, if the organization is already present in Sterling Order Management System Software, the API is not called.
    • Organization.CorporatePersonInfo.* - Set of properties that are used for capturing the personal information and addresses of the enterprise organization.
      The sample deploymentaccelerator.properties.sample property file contains the following corporate address attributes:
      • Organization.CorporatePersonInfo.EMailID=
      • Organization.CorporatePersonInfo.DayPhone=
      • Organization.CorporatePersonInfo.ZipCode=
      Important: You must set at least one corporate address attribute.

      Additionally, you can set other address or personal information attributes such as AddressID, Company, MiddleName that is supported by Sterling Order Management System Software. For the list of attributes, see the CorporatePersonInfo input XML element of the manageOrganizationHierarchy API present in the Javadoc.

      The syntax for the property is Organization.CorporatePersonInfo.attribute name. For example, in the manageOrganizationHierarchy API, the City attribute refers to the name of the city in the organization's address. Pass the city name as Organization.CorporatePersonInfo.City=city name.

  4. Provide all the properties required by the BOPIS service to load stores in the customer_overrides.properties file. For more information on these properties, see Configuring properties
  5. To load all the configuration data, run the BOPIS deployment accelerator script by running the following command from the INSTALL_DIR/bin folder.

    ./sci_ant.sh -f load_bopis_DeploymentAccelerator.xml