Share this page

# Scenario 2: Deploy requests to a single deployment area

This scenario demonstrates how to deploy Dimensions CM requests to modify the Qlarius web application. Deployment is to a single deployment area at each stage.

This scenario is similar to Scenario 1: Basic request deployment. The main difference is a build at the DEV stage.

Note: To run this scenario, first set up the environment, as described in Prerequisites.

In this topic:

## Scenario overview

- The release manager raises an enhancement request.

- The development team lead primes a child task from the request.

- A developer makes a modification, delivers the modification and relates it to the task, builds the task, and captures the build outputs in Dimensions CM.

- 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.

Back to top

## Scenario information

- The following stream is used: QLARIUS:JAVA_BRANCHA_STR

- There is a separation of duties between the employees at the following stage transitions:

  - SIT to QA

  - QA to PRE-PROD

- A build is only required at the DEV stage.

- Deployment is to a single deployment area at each stage. The following deployment areas are used:

Stage | Deployment area | Deploy by Default enabled on area?
--- | --- | ---
DEV | LCL_DEV_JBRNCHA_AREA03 | Yes
SIT | LCL_SIT_JBRNCHA_AREA03 | Yes
QA | LCL_QA_JBRNCHA_AREA03 | No
PRE‑PROD | LCL_PP_JBRNCHA_AREA03 | No
LIVE | LCL_LIVE_JBRNCHA_AREA03 | No

For a list of the promotion and deployment privileges required by the users see Scenario privileges.

Back to top

## Scenario prerequisites

Before you can run this scenario, create a work area on your local machine for the user Dinesh, for example:

C:\streams\JAVA_BRANCHA_STR\dinesh

Back to top

## Run the scenario

The following table describes the tasks performed in this scenario.

Action | Procedure
--- | ---
The release manager raises an enhancement request. | Changes are required to the Qlarius web application. Rita, the release manager, raises an enhancement request to manage the change. Log in to the Dimensions CM web client as Rita. Switch to the following stream: QLARIUS:JAVA_BRANCHA_STR. In the Requests tab, in the toolbar, click New and select CR. The New Request dialog box opens. In the Title field, enter Implement support for Qlarius iPhone app. In the Detailed Description field, enter a description. In the Attributes tab, from the Severity/Priority list, select a value. Click Submit and then Close. 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 Qlarius. Select the request, and on the toolbar click Delegate. The Delegate wizard opens. Check that the Capability option is set to Secondary. From the Role to Delegate list, select IMPLEMENTOR and click Next. In the Candidate Users Authorized for Role Assignment list, select Ted and click Add. 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. Select the request, and on the toolbar select Action. The Action wizard opens. Check that the To Next State field is set to UNDER WORK. Click Finish and then OK. The request is removed from Rita’s request inbox. Log out of the web client.
The development team lead primes a child task from the request. | Ted reads the email, views the request in his Request inbox, and does some design work to see what part of the application is affected. He then primes a child task from the request. Log in to the web client as Ted. Switch to the following stream: QLARIUS:JAVA_BRANCHA_STR. In the Requests tab, select the Request inbox and then the request that was raised by Rita. On the toolbar click Prime and select Task. The Prime Request dialog box opens. (Optional) Update the detailed description. Click Submit and then Close. The new child task is added to Ted’s request inbox with the following ID: QLARIUS_TASK_n By default the child task is at the DEV stage when it is raised
The development team lead delegates the task to a developer. | Ted delegates the child task to a Dinesh, one of the developers in his team. Select the child task and on the toolbar click Delegate. The Delegate wizard opens. Check that the Capability option is set to Secondary. From the Role to Delegate list, select IMPLEMENTOR and click Next. In the Candidate Users Authorized for Role Assignment list, select Dinesh and click Add. The wizard closes automatically. Dimensions CM sends an email to Dinesh notifying him that a task has been added to his Request inbox.
The development team lead actions the task to its next state. | Ted actions the task to its next state, UNDER WORK. Select the child task and on the toolbar select Action. The Action wizard opens. Check that the To Next State field is set to UNDER WORK. Click Finish and then OK. The child task is removed from Ted’s request inbox. Log out of the web client.
The developer updates their work area from the stream. | Dinesh reads the email and checks his Request inbox. He does some research and identifies the item that needs to be modified, LifeQuote.java. He updates his work area from the stream. Log in to the web client as Dinesh. Switch to the following stream: QLARIUS:JAVA_BRANCHA_STR Change Dinesh’s work area to the one that you created earlier (see Prerequisites at the start of this scenario). In the Items view, on the Dirs tab of the navigation pane, expand Qlarius Underwriter > qlarius and select interfaces. On the toolbar click Update. The Update from Stream wizard opens. Click Next. Click Finish and then Close. Dinesh’s work area is updated.
The developer modifies the item. | In Dinesh’s local work area edit the item, LifeQuote.java. For the purpose of this scenario make a minor edit, for example, add a comment to the top of the item.
The developer delivers the item and relates it to the task. | Dinesh delivers the modification to the stream and relates it to the child task. In the Items view, in the Dirs tab of the navigation pane, select interfaces. On the toolbar click Deliver. The Deliver to Stream wizard opens. Check that the Modifications option is selected. Click Next. Verify that LifeQuote.java is selected and click Next. In the Relate to Request(s) field, click Select. The Select Request dialog box opens. From the Product Name list, select QLARIUS. From the Type Name list, select TASK. Click Next. Select the task that is delegated to Dinesh and click Finish. In the Deliver to Stream wizard, click Finish and then Close.
The developer verifies that the item was automatically deployed to the DEV area. | Deploy by Default is enabled for the DEV area, so when Dinesh delivered the item it was automatically deployed. He checks that the item was successfully deployed. Select the Deployment view. To display only information for the current stream, do the following: In the navigation pane, click the filter button in the top right corner. Select Show Current Stream. Check that the History tab is selected. In the navigation pane select the DEV stage node and then the LCL_DEV_JBRNCHA_AREA03 deployment area. In the content pane verify that LifeQuote.java was successfully deployed. The Event Result column should display Succeeded.
The developer builds the task and captures the outputs. | Dinesh builds the task in the DEV deployment area and captures the build outputs in Dimensions CM against the task. In the Requests tab, select the child task. In the toolbar, click Build, and select Build. The Run Build wizard opens. In the Build Configuration field, accept the default configuration. From the Build Stage list, select DEV. From the Build Area list, select LCL_DEV_JBRNCHA_AREA03. Click Next. Select the option Check in build outputs automatically. This checks the build outputs into Dimensions CM. To specify the request that the build outputs will be related to when they are checked into Dimensions CM, in the Specify the Request(s) field click Select. The Selection wizard opens. From the Product Name list, select QLARIUS. From the Type Name list, select TSK. Click Next. Select the child task that is delegated to Dinesh. Click Finish. The Selection wizard closes. In the Run Build wizard click Next. Accept the default build option selections (none), and click Next. Accept the default target selection options. In the target list, select Jar Files. Click Next. Review the summary of the build command, and click Finish. (Optional) To monitor the progress of the build click the Job ID link. Click Close.
The developer verifies that the build was successful and that the outputs were captured in Dimensions CM and deployed. | Dinesh verifies that the build was successful and that the outputs were captured in Dimensions CM against the task and deployed to the DEV deployment area. To verify that the build was successful, in the Deployment view select the History tab. In the navigation pane expand the DEV stage node, and select LCL_DEV_JBRNCHA_AREA03. In the content pane, verify that the Event Result column displays Succeeded for the following objects: Lifequote.jar (the Event Type is Collect) QLARIUS:JAVA_BRANCHA_STR (the Event Type is Build) Open Lifequote.jar, make a note of the item revision, and click Cancel. To verify that the build outputs were captured in Dimensions CM, in the Requests tab select the Request inbox and open the task. The Open Request dialog box opens. Select the Relationships tab and from the Related object class list, select Items. A list of all the build outputs that were captured in Dimensions CM against the task is displayed. Click Cancel. To browse the DEV deployment area, in the My Current Project view expand Deployment Areas > DEV Stage > LCL_DEV_JBRNCHA_AREA03 Select the folder Qlarius Underwriter. In the content pane, verify that the latest revision of LifeQuote.jar was deployed.
The developer delegates the task to the team lead. | Dinesh delegates the task to Ted for peer review. In the Requests tab, select the Request inbox. Select the child task and on the toolbar click Delegate. The Delegate wizard opens. Check that the Capability option is set to Secondary. From the Role to Delegate list, select REVIEWER, and click Next. In the Candidate Users Authorized for Role Assignment list, select Ted and click Add. The wizard closes automatically. Dimensions CM sends an email to Ted notifying him that a task has been added to his Request inbox.
The developer actions the task to its next state. | Dinesh actions the task to its next state, PEER REVIEW. Select the child task, and on the toolbar select Action. The Action wizard opens. In the New State section check that the To Next State field is set to PEER REVIEW. Click Next. In the Actual completed date field enter a date. In the Actual development effort (hours) field enter a number. Click Finish. The task is removed from Dinesh’s request inbox. Log out of the web client.
The team lead does a peer review and actions the task to its final state. | Ted has read his email, seen the task in his Request inbox, done a peer review of the item that Dinesh modified, and is satisfied with the changes that he made. He actions the task to its final state, CLOSED. Log in to the web client as Ted. In the Requests tab, select the Request inbox. Select the child task, and in the toolbar click Action. The Action wizard opens. Check that the To Next State field is set to CLOSED. Click Finish and then click OK. The child task is removed from Ted’s request inbox.
The team lead promotes and deploys the parent request to the SIT stage. | To perform system integration testing, Ted promotes and deploys the parent request and task to the SIT stage and its associated deployment area. Deploy by default is enabled for the SIT area. A build is not required at the SIT stage so the team lead uses an area filter to only deploy the items that are required for testing at SIT (the executables). Select the parent request, and in the toolbar click Promote. The Promote wizard opens. Check that the Promote Child Requests option is selected. In the Next stage field, check that SIT is selected. Click Next. To deploy immediately, check that the option Perform Deployments is set to As Soon As Possible. In the Areas for Deployment field, select the LCL_SIT_JBRNCHA_AREA03 deployment area. Click Next. Note: If both areas are selected, clear SIT LCL_SIT_JBRNCHA_AREA01. Review the summary of the promotion and deployment activities, and click Finish.
The team lead verifies that promotion and deployment were successful. | Ted verifies that promotion and deployment operations were successful and that the executables were deployed to the SIT area. Select the Deployment view, and check that only the current stream is displayed. Check that the History tab is selected, and in the navigation pane select the SIT stage node. In the content pane, verify that the request was promoted successfully from DEV to SIT. In the navigation pane, expand the SIT stage node and select the LCL_SIT_JMAIN_AREA03 deployment area. In the content pane, verify that the request and child task were deployed successfully to the SIT deployment area. To browse the SIT deployment area, in the My Current Project view expand Deployment Areas > SIT Stage > LCL_SIT_JBRNCHA_AREA03. Select the folder Qlarius Underwriter. In the content pane verify that LifeQuote.jar was deployed.
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. In the Requests tab, select the Request inbox and then the request. In the toolbar, click Promote. The Promote wizard opens. Check that the Promote Child Requests option is selected. In the Next stage field, check that QA is selected. Click Next. Because Deploy by Default is not enabled, no deploy options are available. Click Next. Review the summary of the promotion activity and command, and click Finish. In the Deployment view, select the History tab, and in the navigation pane select the QA stage node. In the content pane verify that the request was promoted successfully from SIT to QA.
The team lead actions the request to its next state. | Ted actions the request to its next lifecycle state, IN TEST. In the History tab, select the parent request. In the toolbar, click Action. The Action wizard opens. In the New State section, check that the To Next State field is set to IN TEST. Click Next. In the Details of Solution Given field, enter Lifequote updated. Click Finish. Dimensions CM sends an email to Tao, the QA manager, notifying her that a request has been added to her Request inbox. Log out of the web client.
The QA manager deploys the request and task to the QA deployment area. | Tao reads the email, checks her Request inbox, and deploys the request and task to the QA deployment area. A build is not required at the QA stage so the QA manager uses an area filter to only deploy the items that are required for testing at QA (the executables). Log in to the web client as Tao. Switch to the following stream: QLARIUS:JAVA_BRANCHA_STR Select the Deployment view, and check that only the current stream is displayed. Select the Pending tab. In the navigation pane expand the QA stage node and select the LCL_QA_JBRNCHA_AREA03 deployment area. In the content pane, from the Show list, select Requests. Select the request, and in the toolbar click Deploy. The Deploy wizard opens. Check that the Deploy Child Requests option is selected. Check that the Deploy Stage is set to QA. Click Next. To deploy the request and child task immediately, check that the option Perform Deployments is set to As Soon As Possible. In the Areas for Deployment field, check that the LCL_QA_JBRNCHA_AREA03 deployment area is selected. Click Next. Review the summary of the deployment activity and command. Click Finish and then Close. Select the History tab. In the navigation pane expand the QA stage node and select the LCL_QA_JBRNCHA_AREA03 deployment area. In the content pane verify that the request and child task were successfully deployed to the QA area.
The QA team tests the application.
The QA manager promotes the request and task to the PRE-PROD stage. | QA testing has been completed 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. In the History tab, select the request. On the toolbar, click Promote. The Promote wizard opens. Check that the option Promote Child Requests is selected. In the Next stage field, check that PRE-PROD is selected. Click Next. Because Deploy by Default is not enabled, no deploy options are available. Click Next. Review the summary of the promotion activity and command, and click Finish. Dimensions CM sends an email to the release manager, Rita, notifying her that a promotion has been performed. In the navigation pane, select the PRE-PROD stage node. In the content pane verify that the request was promoted successfully from QA to PRE-PROD.
The QA manager actions the request to its final lifecycle state. | Tao closes the request. In the History tab, select the request. In the toolbar, click Action. The Action wizard opens. Check that the To Next State field is set to CLOSED. Click Finish and click OK. Log out of the web client.
The release manager deploys the request and task to the PRE- PROD deployment area. | Rita reads the email, checks the Pending tab for the PRE-PROD stage on the Deployment view. Rita sees that the request and task are ready to be deployed to PRE- PROD. A build is not required at the PRE-PROD stage, so the release manager uses an area filter to only deploy the items that are required at PRE-PROD (the executables). Log in to the web client as Rita. Select the Deployment view, and check that only the current stream is displayed. Select the Pending tab. In the navigation pane, expand the PRE-PROD stage node and select the LCL_PP_JBRNCHA_AREA03 deployment area. In the content pane, from the Show list, select Requests. Select the request, and in the toolbar click Deploy. The Deploy wizard opens. Check that the option Deploy Child Requests is selected. Check that the Deploy Stage is set to PRE-PROD. Click Next. To deploy the request and child task immediately, check that the option Perform Deployments is set to As Soon As Possible. In the Areas for Deployment field, check that the LCL_PP_JBRNCHA_AREA03 deployment area is selected. Click Next. Review the summary of the deployment activity and command. Click Finish and then Close. Select the History tab. Verify that the request and child task were successfully deployed to the PRE-PROD area.
The release team tests the application.
The release manager promotes the request and task to the LIVE stage. | Testing has been completed successfully so Rita promotes the request and task to the LIVE stage. Deploy by Default is not enabled for the LIVE deployment area. In the History tab, select the request, and in the toolbar click Promote. The Promote wizard opens. Check that the Promote Child Requests option is selected. In the Next stage field, check that LIVE is selected. Click Next. Rita has the privilege to deploy at the same time as the promotion but chooses not to. Do not select any deployment areas. Click Next. Review the summary of the promotion activity and command, and click Finish. In the navigation pane select the LIVE stage node. In the content pane verify that the request was promoted successfully from PRE-PROD to LIVE.
The release manager deploys the request and task 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 stage and uses an area filter to only deploy the executables. In the History tab, select the request, and in the toolbar click Deploy. The Deploy wizard opens. Check that the Deploy Child Requests option is selected. Check that the Deploy Stage is set to LIVE. Click Next. To deploy the request and child task immediately, check that the option Perform Deployments is set to As Soon As Possible. In the Areas for Deployment field, select the LCL_LIVE_JBRNCHA_AREA03 deployment area. Click Next. Review the summary of the deployment activity and command. Click Finish and then Close.
The release manager verifies that the deployment operation was successful. | Rita verifies that the deployment operation was successful. In the navigation pane, expand the LIVE stage node and select the LCL_LIVE_JBRNCHA_AREA03 area. In the content pane, verify that the request and task were successfully deployed to the LIVE area.
The release manager verifies that the executable was deployed. | Rita verifies that the executable was deployed to the LIVE area. In the My Current Project tab, expand Deployment Areas > LIVE Stage > LCL_LIVE_JBRNCHA_AREA03 Select the Qlarius Underwriter folder. In the content pane, verify that LifeQuote.jar was deployed.
End of scenario

Back to top

## Scenario privileges

The tables below 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 DEV and SIT areas are Deploy by Default areas, and no deployment privileges are required.
REQUEST_DEPLOY ITEM_DEPLOY | QA Manager | LCL_QA_JBRNCHA_AREA03
Release Manager | LCL_PP_JBRNCHA_AREA03 LCL_LIVE_JBRNCHA_AREA03

Back to top

https://admhelp.microfocus.com Dimensions CM 8942
Tips to improve your search results... Dimensions CM Help Center CM Help 14.6 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: