Setting up the shared aggregates sample

You use the samples console to set up this sample.

Procedure

  1. Switch to the Samples Console perspective.
  2. Start the sample server by clicking the Start the sample server icon in the Sample Server view, and wait until the Server cisDev started message is displayed in the Console view.
  3. In the Samples and Tutorials view, click View sample commands for the shared aggregates sample.
  4. Double-click install.solution. This command
    • Exports the solution to a deployable archive file (.esa)
    • Deploys the solution to the cisDev server by using the solutionManager command
  5. Wait for the Console view to display BUILD SUCCESSFUL.
  6. In the Sample Server view, click Insights sample server > View the deployed solutions by using the REST API, and accept any security exceptions. If the solution is deployed, the following XML is displayed in a browser:
    <solutions>
      <solution name="train" version="train-0.21"/>
    </solutions>

    If the preceding XML is not displayed, wait a few moments and try again. The solution must be deployed before you run the sample. Depending on your computer, it might take a while before the solution is deployed.

  7. In the Samples and Tutorials view, click Import projects for the shared aggregates sample. The following items are imported: train, rule agent, train - Java Model, trainBOM, and train client project.
  8. Double-click the testdriver.properties file. This file, which is in the train client project folder, is used to initialize the TestDriver instance.
  9. Edit the value for the trustStoreLocation property, replacing the default file path with the location where you installed the product.
  10. Click Save and close the testdriver.properties file.