Importing records via the OAI-PMH protocol and feeding a pipe.
The service is based on the piveau-pipe-connector library. Any configuration applicable for the piveau-pipe-connector can also be used for this service.
Requirements:
- Git
- Maven 3
- Java 17
$ git clone <gitrepouri>
$ cd piveau-consus-importing-oaipmh-nfdi4cat
$ mvn package
$ java -jar target/importing-oaipmh.jar
Build docker image:
$ docker build -t piveau/piveau-importing-oaipmh-nfdi4cat .
Run docker image:
$ docker run -it -p 8080:8080 piveau/piveau-importing-oaipmh-nfdi4cat
See also piveau-pipe-connector
Variable | Description | Default Value |
---|---|---|
PIVEAU_IMPORTING_SEND_LIST_DELAY |
The delay in millisecond for sending the identifier list after the last dataset | 8000 |
PIVEAU_OAIPMH_ADAPTER_URI |
The address of an oai-pmh adapter | - |
Service specific configurations for the pipe can be found in PIPE.md
See logback documentation for more details
Variable | Description | Default Value |
---|---|---|
PIVEAU_PIPE_LOG_APPENDER |
Configures the log appender for the pipe context | STDOUT |
PIVEAU_LOGSTASH_HOST |
The host of the logstash service | logstash |
PIVEAU_LOGSTASH_PORT |
The port the logstash service is running | 5044 |
PIVEAU_PIPE_LOG_PATH |
Path to the file for the file appender | logs/piveau-pipe.%d{yyyy-MM-dd}.log |
PIVEAU_PIPE_LOG_LEVEL |
The log level for the pipe context | INFO |
PIVEAU_LOG_LEVEL |
The general log level for the io.piveau package |
INFO |