Community:HarvestManager/documentation/designdocs
From NSDLWiki
Harvest Manager Design and Development
The Harvest Manager is a Java Web application that runs in the Apache Tomcat servlet container. It is built on top of the Apache Struts Web Application Framework and follows a Model View Controller (MVC) design pattern. It is based upon a Service Oriented Architecture (SOA), using the DDSWS search Web service to access harvest collections data that are managed in a NSDL Collection System (NCS). It generates harvest trigger files at the specified intervals for each collection, which are used by the harvest ingest process to perform the harvest and ingest the records into the NDR.
The software code is housed in the NSDL subversion code repository and the application is built using the Apache Ant Java-based build tool.
To build the software:
- Obtain the code package
harvest-manager-project
from the NSDL subversion repository (from trunk or specific tag release) - Install Ant
- Install Tomcat (v5.5.x or v6.x)
- Define required and optional properties as described in the project ant built file (
harvest-manager-project/build.xml
) - Define context parameters in your local Tomcat configuration as needed. See
harvest-manager-project/web/WEB-INF/web.xml
for parameter names and purposes - Issue the ant deploy target to built the software and deploy it to tomcat
- Start Tomcat and test