Scenario 1: Basic request deployment
This scenario demonstrates how to deploy Dimensions CM requests to modify the corporate website of Qlarius Health Insurance.
Note: To run this scenario, first set up the environment, as described in Prerequisites.
Scenario overview
-
The release manager raises an enhancement request.
-
The development team lead primes a child task from the request.
-
A web developer makes a modification, delivers it, and relates it to the task.
-
The team lead promotes and deploys the request and task to the SIT stage and deployment area, and then promotes them to the QA stage.
-
The QA manager deploys the request and task to the QA deployment area and then promotes them to the PRE-PROD stage.
-
The release manager deploys the request and task to the PRE-PROD deployment area and then promotes and deploys them to the LIVE stage and production environment.
Scenario information
-
The following stream is used: QLARIUS:MAINLINE_JAVA_STR
-
No build is required at any stage as only a text file is changed.
-
There is a separation of duties between the employees at the following stage transitions:
-
SIT to QA
-
QA to PRE-PROD
-
-
Deployment is to a single deployment area at each stage. The following deployment areas are used:
Stage Deployment area Deploy by Default enabled for area? DEV LCL_DEV_JMAIN_AREA01 Yes SIT LCL_SIT_JMAIN_AREA01 Yes QA LCL_QA_JMAIN_AREA01 No PRE‑PROD LCL_PP_JMAIN_AREA01 No LIVE LCL_LIVE_JMAIN_AREA01 No
For a list of the promotion and deployment privileges required by the users, see Scenario privileges.
Scenario prerequisites
Before you start on this scenario, complete the following steps:
-
Create a work area on your local machine for the user Wendy, for example:
C:\streams\MAINLINE_JAVA_STR\wendy
-
Log in to the web client as a user that has the privileges to promote and deploy baselines to any stage and area, for example, the tool administrator, typically dmsys.
-
Switch to the stream QLARIUS:MAINLINE_JAVA_STR.
-
Take a tip baseline of the stream MAINLINE_JAVA_STR.
-
To deploy the files to all deployment areas, promote and deploy the baseline:
-
Select the baseline, and on the toolbar click Promote.
-
In the Next Stage field, check that SIT is selected, and click Next.
-
To deploy now, check that the option Perform Deployments is set to As Soon As Possible.
-
In the Areas for Deployment field, check that the deployment area LCL_SIT_JMAIN_AREA01 is selected. If not, select it. Click Next.
-
Review the summary and click Finish.
-
-
Repeat the earlier step for other stages and their associated deployment areas:
QA LCL_QA_JMAIN_AREA01 PRE-PROD LCL_PP_JMAIN_AREA01 LIVE LCL_LIVE_JMAIN_AREA01 -
Log out of the web client.
Run this scenario
The following table describes the tasks performed in this scenario.
Action | Procedure |
---|---|
The release manager raises an enhancement request. |
A change is required to the corporate website of Qlarius Health Insurance. Rita, the release manager, raises an enhancement request to manage the change.
The new request is added to Rita’s request inbox with the following ID: QLARIUS_CR_n By default the request is at the DEV stage when it is raised. |
The release manager delegates the request to the team lead. |
Rita delegates the request to the development team lead, Ted, whose team is responsible for maintaining the website.
The wizard closes automatically. Dimensions CM sends an email to Ted notifying him that a request has been added to his request inbox. |
The release manager actions the request to its next state. |
Rita actions the request to its next state, UNDER WORK.
|
The web developer updates their work area from the stream. |
Wendy reads the email and checks her Request inbox. She does some research and identifies the file that needs to be modified, main.css. Wendy updates her work area from the stream.
Wendy’s work area is updated. |
The web developer modifies the item. |
In Wendy’s local work area on your machine, edit main.css. For the purpose of this scenario make a minor edit, for example, add a comment to the top of the file. |
The web developer delivers the item and relates it to the task. |
Wendy delivers the modification to the stream and relates it to the child task.
|
The developer verifies that the item was automatically deployed to the DEV area. |
The Deploy by Default option is enabled for the DEV area, so when Wendy delivered the item it was automatically deployed. She checks that the item was successfully deployed.
The Event Result column should display Succeeded. |
The web developer delegates the task to the team lead for peer review. |
Wendy delegates the child task to Ted, her team lead, for peer review.
The wizard closes automatically. Dimensions CM sends an email to Ted notifying him that a task has been added to his Request inbox. |
The web developer actions the task to its next state. |
Wendy actions the child task to its next state, PEER REVIEW.
|
The team lead does a peer review and actions the task to its final state. |
Ted read his email, saw the task in his Request inbox, and did a peer review of the file that Wendy modified. He is satisfied with the changes she made. He actions the task to its final state, CLOSED.
The task is removed from Ted’s request inbox. |
The team lead promotes and deploys the request and task to the SIT stage. |
To perform system integration testing, Ted promotes and deploys the parent request with the child task to the SIT stage and its associated deployment area. Deploy by default is enabled for the SIT area.
|
The team lead verifies that the promotion and deployment were successful. |
Ted verifies that the promotion and deployment operations were executed successfully.
|
Ted performs system integration testing. | |
The team lead promotes the request and task to the QA stage. |
System integration testing has been completed successfully so Ted promotes the request and task to the QA stage. Deploy by Default is not enabled so the request and task cannot be automatically deployed to the QA deployment area.
|
The team lead actions the request to its next state. |
Ted actions the request to its next lifecycle state, IN TEST, so that the QA team can perform testing.
|
The QA manager deploys the request and task to the QA deployment area. |
Tao, the QA manager, reads the email and checks the Pending tab for the QA stage on the Deployment view. Tao sees that the request is ready to be deployed to QA.
|
The QA team performs their tests. | |
The QA manager promotes the request and task to the PRE-PROD stage. |
QA testing has been complete successfully so Tao promotes the request and task to the PRE-PROD stage. Deploy by Default is not enabled so the request and task cannot be automatically deployed to the PRE-PROD deployment area.
|
The QA manager actions the request to its final lifecycle state. |
Tao closes the request.
|
The release manager deploys the request and task to the PRE- PROD deployment area |
Rita, the release manager, checks the Pending tab for the PRE-PROD stage on the Deployment view. Rita sees that the request is ready to be deployed to PRE-PROD.
|
The release team performs their tests. | |
The release manager promotes the request and task to the LIVE stage |
Rita promotes the request and task to the LIVE stage. Deploy by Default is not enabled for the LIVE deployment area.
|
The release manager deploys the request to the LIVE deployment area |
Let’s assume that it is now the regular maintenance period when the LIVE deployment area is offline. Rita checks to see what requests are ready to be deployed to the LIVE deployment area.
|
The release manager verifies that the deployment operation was successful |
Rita verifies that the deployment operation was successful.
|
The release manager verifies that the correct item revision was deployed |
Rita verifies that the correct item revision was deployed to the LIVE area.
|
End of scenario |
Scenario privileges
The following tables list the promotion and deployment privileges required by the users in the above scenario.
Promotion privilege | Privilege owner | Required at these stages |
---|---|---|
REQUEST_PROMOTE_NEXTSTAGE ITEM_PROMOTE_NEXTSTAGE |
Team lead | DEV SIT |
QA Manager | QA | |
Release Manager | PRE-PROD |
Deployment privilege | Privilege owner | Required for these areas |
---|---|---|
The SIT area is a Deploy by Default area, and no deployment privileges are required. | ||
REQUEST_DEPLOY ITEM_DEPLOY |
QA Manager | LCL_QA_JMAIN_AREA01 |
Release Manager | LCL_PP_JMAIN_AREA01 LCL_LIVE_JMAIN_AREA01 |