In this task you learn how deployment baselines capture
the state of the rules that you deploy.
You are ready
to deploy the changes you made in the Spring Updates branch.
To deploy a RuleApp and create a deployment baseline:
- Start by accessing the branch as Configuration Manager:
- Sign out and then sign back in to Decision
Center with
Configuration Manager rights:
Username: rtsConfig
Password: rtsConfig
- On the Home tab, select the project loanvalidation-rules.
- On the Home tab, on the Branch
in use menu, select Spring Updates.
- Now create a RuleApp:
- On the Configure tab, click Manage
RuleApps > New to create a RuleApp.
- Name the RuleApp MyRuleApp.
- Create the following ruleset to include in your RuleApp:
Name: myruleset
Project: loanvalidation-rules
Baseline
or Branch: Spring Updates
Extractor: Deployable
Rules Extractor
- Save your ruleset and then save your RuleApp.
- Now deploy the RuleApp:
- Select your RuleApp and then click Deploy.
- 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.
- Deploy your RuleApp as a RuleApp archive, or to Rule Execution Server.
- 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.
- Click the Explore tab and notice
that the deployment baseline contains only the deployed rules.
- Now introduce some changes in your branch:
- On the Home tab, on the Current
action menu, select Work on branch.
- Click the Explore tab, and in
the eligibility folder, edit the rule checkCreditScore and
set its Status property to Deployable.
Click Finish.
- On the Configure tab, click Manage
RuleApps.
- Select your RuleApp and then click Deploy.
- Create the deployment baseline May 2 Deployment and
then click Next.
- Deploy your RuleApp as a RuleApp archive, or to Rule Execution Server.
- Finally, imagine that the May 2 deployment causes some
problems and that you quickly need to revert to the previous deployment:
- On the Configure tab, click Manage
RuleApps.
- Select your RuleApp and then click Redeploy.
- Select the May 1 Deployment baseline
and then click Next.
- 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.