Original FIZ-Oai-Docu: https://fiznetz.fiz-karlsruhe.de/display/IEEpubFIZ/FIZ-OAI

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:

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:

Apache-VHost:


Stylesheets + related Images are located on ddb-di-vm08 below /data/ddb/tools/oai/conf/docs

Configuration (Tomcat/conf/oaicat.properties)


# 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:


DI
OAI-Backend

ddb-di-vm08

/data/ddb/tools/oai/tomcat

http://ddb-di-vm08.fiz-karlsruhe.de:8081/oai-backend

OAI-Frontend

ddb-di-vm08

/data/ddb/tools/oai/tomcat1

http://ddb-di-vm08.fiz-karlsruhe.de:8080/oai

http://dev-ddb.fiz-karlsruhe.de/oai

CassandraDDB-DI-Cluster, Keyspace oai_di
SOLRhttp://ddb-di-vm05.fiz-karlsruhe.de:8183/solr/#/oaiitems/core-overview

PROD-Net:


Q1P
OAI-Backend


ddb-q1-vmback01

/data/www/tomcat

http://ddb-q1-vmback01.fiz-karlsruhe.de:8080/oai-backend

ddb-q1-vmback02

/data/www/tomcat

http://ddb-q1-vmback02.fiz-karlsruhe.de:8080/oai-backend



OAI-Frontend


ddb-q1-vmweb01

/data/www/tomcat

http://ddb-q1-vmweb01.fiz-karlsruhe.de:8080/oai

http://www-q1.deutsche-digitale-bibliothek.de/oai

ddb-q1-vmweb02

...



CassandraDDB-P-Cluster, Keyspace oai_q1DDB-P-Cluster, Keyspace oai_p
SOLR

master: http://ddb-q1-solr01.fiz-karlsruhe.de:8183/solr/#/oaiitems/core-overview

slaves: http://ddb-q1-solr02.fiz-karlsruhe.de:8183/solr/#/oaiitems/core-overview