< Previous

Task 3: Creating deployment baselines

In this task you learn how deployment baselines capture the state of the rules that you deploy.

Story line icon You are ready to deploy the changes you made in the Spring Updates branch.

To deploy a RuleApp and create a deployment baseline:

  1. Start by accessing the branch as Configuration Manager:
    1. Sign out and then sign back in to Decision Center with Configuration Manager rights:
      • Username: rtsConfig

      • Password: rtsConfig

    2. On the Home tab, select the project loanvalidation-rules.
    3. On the Home tab, on the Branch in use menu, select Spring Updates.
  2. Now create a RuleApp:
    1. On the Configure tab, click Manage RuleApps > New to create a RuleApp.
    2. Name the RuleApp MyRuleApp.
    3. Create the following ruleset to include in your RuleApp:

      Name: myruleset

      Project: loanvalidation-rules

      Baseline or Branch: Spring Updates

      Extractor: Deployable Rules Extractor

    4. Save your ruleset and then save your RuleApp.
  3. Now deploy the RuleApp:
    1. Select your RuleApp and then click Deploy.
    2. To be able to redeploy this RuleApp with the same elements at some future date, create the deployment baseline May 1 Deployment and then click Next.
      Deployment baseline being named
    3. Deploy your RuleApp as a RuleApp archive, or to Rule Execution Server.
    4. On the Home tab, on the Current action menu, select View a deployment baseline and then select the May 1 Deployment baseline.

      Notice that the Compose tab and any editing features are disabled.

    5. Click the Explore tab and notice that the deployment baseline contains only the deployed rules.
  4. Now introduce some changes in your branch:
    1. On the Home tab, on the Current action menu, select Work on branch.
    2. Click the Explore tab, and in the eligibility folder, edit the rule checkCreditScore and set its Status property to Deployable. Click Finish.
    3. On the Configure tab, click Manage RuleApps.
    4. Select your RuleApp and then click Deploy.
    5. Create the deployment baseline May 2 Deployment and then click Next.
    6. Deploy your RuleApp as a RuleApp archive, or to Rule Execution Server.
  5. Finally, imagine that the May 2 deployment causes some problems and that you quickly need to revert to the previous deployment:
    1. On the Configure tab, click Manage RuleApps.
    2. Select your RuleApp and then click Redeploy.
    3. Select the May 1 Deployment baseline and then click Next.
    4. Deploy your RuleApp as a RuleApp archive, or to Rule Execution Server.

      The deployment is now what it was on May 1.

You have now completed this tutorial and learned how to use branches to manage project versions.

< Previous