The harvestwebserver variable gets resolved for notify process only.
This variable is introduced to support mobile web application (webapp) for CA Harvest SCM.
Use Case:
When a user sends a request for package approval through an email, the approver gets notified with the sent package details on his / her mobile. The approver clicks the URL from the mail message to approve / reject the package.
Example:
Following is the sample mail message content :
Project:[project]
State:[state]
Package:[package]
Click the following link:
<PackageAccessUrl>
[harvestwebserver]/<mobilewebappname>/?brokerName=[broker]&projectId=[project]&stateId=[state]&packageId=[package]
</PackageAccessUrl>
The harvestwebserver value is picked up from the hserver.arg file.
Example:
-harvestwebserver=http://<machine name>: <web container port>
Defines the Harvest mobile webapp deployed machine name.
Defines the Harvest Mobile Webapp containers' port number.
The output of the content enclosed between <PackageAccessUrl> tags displays as a URL in the mail message.
On clicking the URL, the user is navigated to the mobile webapp login screen. On successful login, the user gets to see the package details screen.
Note: If a single package exists, packageId resolves only to that package. For multiple packages, packageId resolves to all the packages selected in the URL.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|