You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 16
Next »
OAI-Backend:
Bitbucket: https://dev.fiz-karlsruhe.de/stash/projects/FIZ-OAI/repos/fiz-oai-backend/
warfile, Java 11, Tomcat
or dependency
<dependency>
<groupId>de.fiz.oai.backend</groupId>
<artifactId>oai-backend</artifactId>
<version>${fiz.oaibackend.version}</version>
<classifier>classes</classifier>
</dependency>
Prerequisites:
- Cassanda-Tables
- SOLR-Index
- Schema can be found in oai-backend-project, src/main/resources/solr
- Configuration
Initial Data: create with project https://dev.fiz-karlsruhe.de/stash/projects/FIZ-OAI/repos/fiz-oai-ddb-importer
OAI-Frontend:
warfile, Java 11, Tomcat
Frontend needs own Tomcat because of startorder. First start OAI-Backend, then start OAI-Frontend
Configuration:
# OAICat Configuration
# This paramter is optional. Comment it out if you want the code to get the baseURL
# from the request instead. Setting it here is only necessary if your firewall messes
# with the request in a way that alters the baseURL from your expectations.
#OAIHandler.baseURL=http://localhost:8080/fiz-oai-provider/OAIHandler
# Uncomment this line if you want to include an XSL stylesheet reference
# in the OAI response so they can be rendered into HTML by browsers.
OAIHandler.styleSheet=/oai/stylesheet
#For integration testing, the backend is provided by mockserver. The server is started in OaiHandlerIT
FizOaiBackend.baseURL=http://ddb-di-vm08.fiz-karlsruhe.de:8081/oai-backend
# Uncomment this line if you want OAICat to render the responses into HTML on the server using
# OAIHandler.stylesheet when the request comes from an old browser.
#OAIHandler.renderForOldBrowsers=true
AbstractCatalog.oaiCatalogClassName=de.fiz_karlsruhe.FizOAICatalog
AbstractCatalog.recordFactoryClassName=de.fiz_karlsruhe.FizRecordFactory
AbstractCatalog.secondsToLive=3600
# Choose one of the following two
#AbstractCatalog.granularity=YYYY-MM-DD
AbstractCatalog.granularity=YYYY-MM-DDThh:mm:ssZ
# Change to include properties peculiar to your implementation of AbstractCatalog
FizOAICatalog.maxListSize=300
#FizRecordFactory.repositoryIdentifier=fiz-karlsruhe.de
FizRecordFactory.defaultMetadataPrefix=radar
# Custom Identify response values
Identify.repositoryName=Fiz Repository
Identify.adminEmail=mailto:stefan.hofmann@fiz-karlsruhe.de
Identify.earliestDatestamp=2000-01-01T00:00:00Z
Identify.deletedRecord=no
#Identify.repositoryIdentifier=fiz-karlsruhe.de
#Identify.sampleIdentifier=oai:fiz-karlsruhe.de:10.0133/10000386
branding.logo=/data/ddb/tools/oai/tomcat1/conf/FIZ_Logo_fbg_dt.png
branding.header.color=#e8e8e8
branding.service.name=FIZ
branding.service.url=https://www.fiz-karlsruhe.de
branding.welcome.text=This is the OAI provider for FIZ Karlsruhe
branding.imprint.url=https://www.fiz-karlsruhe.de/de/ueber-uns/impressum-rechtliches
branding.privacy.url=https://www.fiz-karlsruhe.de/de/ueber-uns/datenschutzerklaerung
branding.font.family="Courier New", Courier, monospace;
branding.font.color=#a62055;
DI-Net:
PROD-Net: