Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleRun this command from $GIT_REPO for starting migrationConfig file path to configure Dspace source
./DSpace-VIVO/bundles/org.vivoweb.dspacevivo.transformation/src/main/resources/harvester.conf

...

  • OAI : It uses the OAI-PMH protocol supported by the Dspace repositories for information harvesting.Make sure you have an OAI-PMH endpoint enabled in the Dspace repository.
  • Restv7 : It uses the Dspace APIs to query data.At the moment it is only compatible with versions of Dspace 7.

The following table shows the main fields that are required to configure the information harvesting process from dspace


ParamsDescriptionExample
typeType of API used for data extraction. Enable for now ( OAI, RESTv7 )OAI
endpoint API url direction.  If the OAI type was selected, place the route of the OAI endpoint. On the other hand, if RESTv7 was selected, the rest API address.https://api7.dspace.org/server/oai/request
uriPrefixThe prefix of the link to the repository.  Used to generate valid links to the source repository.https://demo7.dspace.org/
username User of the dspace platform with permissions to use the rest API.   (RESTv7 Only).admin
password: Password of the user (RESTv7 Only).admin


  1. Execute the java program with the config file path.

    Code Block
    languagebash
    titleRun java executable to harvest dspace items
    java jar vivo "/path_to_config_file/config_file.config"


  2. Wait to finish the program. Check outfiles created.

...