Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Edit the "WEB-INF/classes/diringest.properties" file, changing the values to what is appropriate for your installation.

Code Block
html
html
borderStylesolidhtml
#
# Required settings for remote Fedora repository.
# These are used for the pid generation and ingest functions.
#
fedora.baseURL = http://localhost:8080/fedora/
fedora.user    = fedoraAdmin
fedora.pass    = fedoraAdmin
#
# Optional preferred namespace part for PIDs.
# Comment this out to use the default from the target Fedora repository
#
pid.namespace = demo

...

A successful response will return a 200 (OK) HTTP status code and a simple XML file containing PIDs, such as the one below:

Code Block
xml
xml
borderStylesolidxml
<?xml version="1.0" encoding="UTF-8"?>
<pidList>
  <pid>demo:42</pid>
  <pid>demo:43</pid>
  <pid>demo:44</pid>
  <pid>demo:45</pid>
</pidList>

...