...
Code Block | ||||
---|---|---|---|---|
| ||||
./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
Params | Description | Example |
---|---|---|
type | Type 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 |
uriPrefix | The 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 |
Execute the java program with the config file path.
Code Block language bash title Run java executable to harvest dspace items java jar vivo "/path_to_config_file/config_file.config"
- Wait to finish the program. Check outfiles created.
...