You use the Samples Console to deploy this sample. Then, you upload custom classes for
tests and simulations.
Procedure
-
You build the sample in the Samples Console.
- Open the Samples Console.
- Click Samples Commands to open the tab.
- Expand .
- 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.
-
You open the Business console and find the sample decision service.
- Log in to the Business console (see Opening Decision Center on the sample server). Use
Paul as the username and password.
- Click Library to see the decision services.
- Click inside the Loan Validation Service box but not on the name. The box
expands and shows a list of its branches.
- Click main to open the main branch.
-
You upload custom classes from your computer to the sample decision service. You can then use
the classes in tests and simulations.
- Click the Decision Artifacts tab.
- Open the Types filter, select All Types and click
Apply.
- Expand the Loan Validation Base project and Resources
folder.
- Hover over the xom-libraries folder, click the arrow and click the
Create Folder option.
- Enter additional-libs as name, and then click
Create.
- Click the additional-libs folder, and then click the
Plus button
to add a new resource.
- 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.
- Click the Save button.