Configuring the CA Harvest SCM for mobile package approval webapp involves:
The administrator configures the notify process to notify the change approver(s) about the pending approvals. This configuration can be customized as per your requirements as follows:
Example:
The following example is sample notify process configuration for mobile approval:
hsmtp -m <mailserver> -p <smtp portnumber> -f <email from>
Please review and approve the following package in
Project:[project]
State:[state]
Package:[package]
Click on the following link:
<PackageAccessUrl>
[harvestwebserver]/<HarvestSCMMobile WebApp name>/?brokerName=[broker]&projectId=[project]&stateId=[state]&packageId=[package]
</PackageAccessUrl>
For more information about the system variables, see the Using the System Variables section.
Important! You must specify the URL only in the <PackageAccessUrl> tags. The project, state, and package variables that are enclosed in between the <PackageAccessUrl> and the </PackageAccessUrl> are replaced with the object IDs instead of object names.
The harvestwebserver system variable value is picked up from the Hserver.arg file.
Note: When a user selects package or packages or package group from Workbench to invoke the notify process configured as stated above, the output URL contains the respective package ID(s).
The output of the content enclosed between <PackageAccessUrl> tags displays as a URL in the mail message. If there are multiple packages to be approved, the URL contains the package IDs that are separated with comma.
Example:
http://anega01:8080/HarvestSCMMobile/?brokerName=anega01&projectId=15&stateId=63&packageId=1058,1037,1048
On clicking the URL, the user is navigated to the Harvest Mobile Webapp login screen. On successful login, the user gets to see the list of packages.
Important! Installing the HarvestMobile Web Interface is one step in the overall implementation process.
If you have not already done so, read the Release Notes. Do not install the HarvestMobile Web Interface until you have read that information and understand it.
Note: You can find the Release Notes at http://ca.com/support.
Follow these steps:
Note: For information about supported mobile browsers, see the Release Notes.
Note: For information about supported releases of the Java SDK, see the Release Notes.
Note: Stop the Web Application Server if it is Tomcat or Jboss. For information about supported application/web servers, see the Release Notes.
Note: In the installation media, the \HarvestMobileSupport directory contains the installation files for the HarvestMobile Web Interface on all supported platforms. This process includes the installation of the web services also.
Follow these steps:
For example: cd DVD-drive:\HarvestMobileSupport
install.bat
The console displays two packaging types.
This option lets you to package the WAR files. Go to Step 5.
This option lets you to package the WAR files and deploys the same. Go to Step 6.
Enter temporary location [Example C:\Windows\Temp]:
c:\Sample\HarvestMobile\temp
Enter host name of the webserver where Web applications need to be deployed:
anega01
Note: Ensure to have the Web server host name same as the value provided in Harvest Web Server system variable.
Enter port number on which webserver is running :
8080
The WAR files are packaged in the provided temporary location. You can use these files to deploy in the Application / Web Servers.
Enter temporary location [Example C:\Windows\Temp]:
c:\Sample\HarvestMobile\temp
Enter host name of the webserver where Web applications need to be deployed:
anega01
Note: Ensure to have the Web server host name same as the value provided in Harvest Web Server system variable.
Enter port number on which webserver is running :
8080
The WAR files are packaged in the provided temporary location.
Enter deployment folder location
[example C:\apache-tomcat-7.0.47\webapps]:
Note: When you have Apache Tomcat webserver, provide the following deployment path:
CATALINA_HOME\webapps
Note: When you have JBoss webserver, provide the following deployment path:
JBOSS_HOME\standalone\deployments
The WAR files are deployed in the specified location for Tomcat and JBoss.
Enter WebSphere home location:
[C:\Program Files (x86)\IBM\WebSphere\AppServer]
Enter WebSphere Node location:
[C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\Node01Cell]
After you complete the installation procedure for your platform, the HarvestMobile Web Interface Installation performs the following tasks:
Note: In the installation media, the \HarvestMobileSupport directory contains the installation files for the HarvestMobile Web Interface on all supported platforms. This process includes the installation of the web services also.
Follow these steps:
For example: cd home/HarvestMobileSupport
./install.sh
This option lets you to package the WAR files. Go to Step 5.
This option lets you to package the WAR files and deploys the same. Go to Step 6.
Enter temporary location [Example /home/harvest/temp]:
/home/anega01/temp
Enter host name of the webserver where Web applications need to be deployed:
anega01
Note: Ensure to have the Web server host name same as the value provided in Harvest Web Server system variable.
Enter port number on which webserver is running :
8080
The WAR files are packaged in the provided temporary location. You can use these files to deploy in the Application / Web Servers.
Enter temporary location [Example /home/harvest/temp]:
/home/anega01/temp
Enter host name of the webserver where Web applications need to be deployed:
anega01
Note: Ensure to have the Web server host name same as the value provided in Harvest Web Server system variable.
Enter port number on which webserver is running :
8080
The WAR files are packaged in the provided temporary location.
Enter deployment folder location
[example /home/apache-tomcat/webapps]:
Note: When you have Apache Tomcat webserver, provide the following deployment path:
CATALINA_HOME/webapps
Note: When you have JBoss webserver, provide the following deployment path:
JBOSS_HOME/standalone/deployments
The WAR files are deployed in the specified location for Tomcat and JBoss.
Enter WebSphere home location:
[example /opt/IBM/WebSphere/AppServer]
Enter WebSphere Node location:
[example /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/Node01Cell]
After you complete the installation procedure for your platform, the HarvestMobile Web Interface Installation performs the following tasks:
Since both Harweb and HarvestRestService depend on loading of harvest native binaries, you cannot have both of the Web applications run in a single JVM process.
You can configure multiple instances of the respective servers and can run Harweb on one instance and HarvestRestService on another. Configuring this way avoids the problem.
The following servers are supported for the HarvestRestService services deployment:
Note: For more information about configuring multiple instances, see the Apache Tomcat, JBoss, and WebSphere sites.
The following examples provide information on configuring multiple instances on respective servers.
Apache Tomcat
When you run Tomcat, it uses the following two environment variables, which can be configured for multiple instances:
Specifies the environment variable and must point to the Tomcat base folder, where tomcat binaries are installed/extracted. This defines the CATALINA_HOME bin and lib folder.
Specifies the environment variable. If you do not specify any value, then the CATALINA_HOME value is set to this variable. This variable points to the configuration and webapps folder. Based on this variable, server uses conf, logs, temp, webapps, and work folders.
To run multiple Tomcat instances in a single machine:
JBoss
You can set up multiple instances of JBoss server on a single local machine.
You can set the Port offset on runtime by the directive jboss.socket.binding.port-offset. The jboss.server.base.dir directive is also used to set the custom base folder.
Follow these steps:
[grg021@localhost bin]$ ./standalone.sh -Djboss.server.base.dir=/home/grg021/dev/ins2/standalone/ -Djboss.socket.binding.port-offset=10000
WebSphere Application Server
Deploy Harweb and HarvestRestService on two different application server profiles of WebSphere.
Note: For more information about the application server profile creation, see the WebSphere documentation.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|