Setting up the test and simulation customization sample

You use the Samples Console to deploy this sample. Then, you upload custom classes for tests and simulations.

Before you begin

You must do the following steps to use the sample:
  1. Start the sample server (see Starting and stopping the sample server).
  2. Run the Samples Console (see Running samples from the Samples Console).

Procedure

  1. You build the sample in the Samples Console.
    1. Open the Samples Console.
    2. Click Samples Commands to open the tab.
    3. Expand Sample Commands > Decision Center > Test and simulation customization.
    4. Double-click build to compile the source code and generate a compressed file to deploy later. When the build finishes, the console displays a message that the build is successful.
  2. You open the Business console and find the sample decision service.
    1. Log in to the Business console (see Opening Decision Center on the sample server). Use Paul as the username and password.
    2. Click Library to see the decision services.
    3. Click inside the Loan Validation Service box but not on the name. The box expands and shows a list of its branches.
    4. Click main to open the main branch.
  3. You upload custom classes from your computer to the sample decision service. You can then use the classes in tests and simulations.
    1. Click the Decision Artifacts tab.
    2. Open the Types filter, select All Types and click Apply.
    3. Expand the Loan Validation Base project and Resources folder.
    4. Hover over the xom-libraries folder, click the arrow and click the Create Folder option.
    5. Enter additional-libs as name, and then click Create.
    6. Click the additional-libs folder, and then click the Plus button "" to add a new resource.
    7. Near the file, click the Choose button and browse to <InstallDir>/teamserver/samples/simulationcustomdatasource/simulationdatasource/bin/simulationSample.zip. Created during setup, the compressed file contains the definition of the custom code.
    8. Click the Save button.