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
Prerequisites:
- Cassanda-Tables
- Schema: https://fiznetz.fiz-karlsruhe.de/display/IEEpubFIZ/Data+Model
- Tables are created when calling de.fiz.oai.backend.utils.CassandraUtils.createKeyspace()
- SOLR-Index
- Schema can be found in oai-backend-project, src/main/resources/solr or in Cortex-Project Cortex/conf/solr/oaiitems
- Configuration
- fiz-oai-backend.properties. Can be found in https://dev.fiz-karlsruhe.de/stash/projects/FIZ-OAI/repos/fiz-oai-ddb-importer/browse/resources/conf/backend
Initial Data: create with project https://dev.fiz-karlsruhe.de/stash/projects/FIZ-OAI/repos/fiz-oai-ddb-importer , ddb_import/import.groovy
OAI-Frontend:
warfile, Java 11, Tomcat
Frontend needs own Tomcat because of startorder. First start OAI-Backend, then start OAI-Frontend
Configuration:
Apache-VHost:
- Redirect to the Servlet: https://dev-ddb.fiz-karlsruhe.de/oai --> http://ddb-di-vm08:8080/oai/OAIHandler
- Redirect to Stylesheet + Images: https://dev-ddb.fiz-karlsruhe.de/oai/docs --> http://ddb-di-vm08:8080/oai
- Rewrite-Rule because of tailing slash (may not be behind Servlet-Path)
Stylesheets + related Images are located in https://dev.fiz-karlsruhe.de/stash/projects/FIZ-OAI/repos/fiz-oai-ddb-importer/browse/resources/docs/frontend
- Edit oai2.xsl, adapt links to images (3 Images, just below <html>-element) , Put Images into the same Folder as the Stylesheet.
- Put Stylesheet oai2.xsl and Images into webapps/oai/ and reference it in the Configuration (/oai/docs/oai2.xsl)
Configuration (https://dev.fiz-karlsruhe.de/stash/projects/FIZ-OAI/repos/fiz-oai-ddb-importer/browse/resources/conf/frontend/oaicat.properties )
- Set OAIHandler.baseURL (zB dev-ddb.fiz-karlsruhe.de/oai)
- Set link to the Stylesheet as OAIHandler.styleSheet
DI-Net:
DI | |
---|---|
OAI-Backend | ddb-di-vm08 /data/ddb/tools/oai/tomcat |
OAI-Frontend | ddb-di-vm08 /data/ddb/tools/oai/tomcat1 |
Cassandra | DDB-DI-Cluster, Keyspace oai_di |
SOLR | http://ddb-di-vm05.fiz-karlsruhe.de:8183/solr/#/oaiitems/core-overview |
PROD-Net:
Q1 | P | |||
---|---|---|---|---|
OAI-Backend |
| |||
OAI-Frontend |
| |||
Cassandra | DDB-P-Cluster, Keyspace oai_q1 | DDB-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 |