Setting up the rule model property extensions sample

You use the Samples Console to deploy this sample.

About this task

You start by logging into the Decision Center Business console to look at default properties in a decision service. Then, you use the Samples Console to deploy the sample.

Procedure

  1. Log in to the Business console by using Bea as the username and password.
  2. Click Library to see the decision services.
  3. Click the Loan Validation Service box and not its name, and then click main to open the main branch.
  4. Click Types and select All Types to display all the artifacts. By default, only the action rules and decision tables are shown.
  5. Expand Loan Validation Scoring, and click the computation folder.
  6. Click the Plus button "".
    You see that you can add an action rule, decision table, ruleflow, or variable set. Do not create anything now.
  7. Click initialCorporateScore > Show Details.
    You see the default properties for the rule:
    Image shows the default properties for the rule.
  8. Click computationFlow > Show Details.
    You see the default properties for the ruleflow:
    Image shows the default properties for the ruleflow.

    Now, you deploy the sample from the Samples Console in Rule Designer.

  9. Open the Samples Console (see Running samples from the Samples Console).
  10. In the Samples Commands tab, expand Samples Commands > Decision Center > Rule model property extensions.
  11. Double-click the deploy command.
    It does the following tasks:
    1. Builds a .jar file that contains all the extensions.
    2. Repackages the application archive to include the .jar file.
    3. Sets the extension model.
    4. Deploys the repackaged archive.

    When the Samples Console displays a message that the application is ready, you can work on the sample in the Business console.