Changes between Version 2 and Version 3 of OAIHarvester


Ignore:
Timestamp:
11/04/15 09:01:58 (9 years ago)
Author:
Menzo Windhouwer
Comment:

Filled in some more sections.

Legend:

Unmodified
Added
Removed
Modified
  • OAIHarvester

    v2 v3  
    6565== Usage ==
    6666
     67The deployment package contains a script to start the app, `run-harvester.sh` (for Unix systems including Mac OS X; we can add a Windows batch file if anyone wants it). The simplest usage is:
     68
    6769{{{
    68 #!comment
    69 A short description of how the application/tool/service can be used and/or how to get started setting it up as a non-developer. It's useful to add a link to a live instance of the project, if available. If extended (end-user) documentation is available, place a link here.
     70run-harvester.sh config.xml
    7071}}}
     72
     73where `config.xml` is the configuration file you wish to use. Additionally, parameters can be defined on the command line. For example:
     74
     75{{{
     76run-harvester.sh timeout=30 config.xml
     77}}}
     78
     79will set the connection timeout to 30 seconds. This value will override the timeout value defined in `config.xml`, if any. The first parameter that does not contain `=` is taken as the configuration file name.
     80
     81=== Configuration ===
     82
     83The behaviour of the app is determined by a single configuration file. The configuration file is composed of four sections:
     84
     85 * ''settings'', where options such as directory paths and timeouts are set;
     86 * ''directories'', where output paths are defined;
     87 * ''actions'', the most complex section, where actionSequences of actions can be defined for different metadata formats (actions include semantic transformations and saving intermediary or final results into a file); and
     88 * ''providers'', where endpoints for the providers to be harvested are listed.
     89
     90To get a clear idea of the structure of the configuration file, see the sample configuration files.
    7191
    7292----
     
    7797== Dependencies ==
    7898
    79 {{{
    80 #!comment
    81 What does this project depend on? Which other projects use (part of) this project?
    82 }}}
     99This application does not itself contain an implementation of the OAI-PMH protocol; it uses the [https://code.google.com/p/oaiharvester2/ OCLC harvester2 library] for OAI-PMH requests.
    83100
    84101----
    85102== Building and Deploying ==
     103
     104{{{
     105mvn clean package assembly:assembly
     106}}}
     107
     108The above build process creates a package named oai-harvest-manager-x.y.z.tar.gz (where x.y.z is a version number). This package can be deployed where needed.
    86109
    87110----