forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 22
OAI test
Ondrej Kosarko edited this page Dec 6, 2024
·
1 revision
- Modify test_oai/init.py to add "elg" to the tested formats list (line 56).
- Run the DSpace database with data (use a dump from dev-5).
- Modify the
db__P__urlvariable indocker-compose-rest.ymlto point to your local IP and port of the running DSpace database. - Add the following line to the
pg_hba.conffile in PostgreSQL:host all all [your local host address]/32 md5 - Copy the
elg.xslfile from the DSpace backend to thedocker/directory. Then, add this line to thedocker-compose-rest.ymlfile under the services/dspace section:- ./elg.xsl:/dspace/config/crosswalks/oai/metadataFormats/elg.xsl - Run DSpace in Docker.
- Import OAI:
In DSpace, go to Exec and run the following commands:
bash
cd /dspace/bin
./dspace oai import -c
Notes: If you make modifications to the elg.xsl file, you will need to rebuild the backend container: Delete dspace0. Run the command to create the containers again. Execute the OAI import commands.
-
Create a new configuration.
-
Module name:
test_oai.test_OAI.test_diff_oaipmh_output -
Environment variables:
DSPACE_REST_API=http://localhost:8080/server/api(for local setup, otherwise usedev-5.pc) -
Working directory:
[path]\dspace-rest-test\tests
-
Module name:
Getting Started
Features
- All Features — full categorised list
- CLARIN Licenses
- PIDs & Handles
- Featured Services / Refbox
- Field-Level Permissions
- File Previews
- Sharing a Submission
- Personal Access Tokens
- DOI Configuration per Community
- ROR Authority
Operations
- Kubernetes Deployment
- Samples (.env, Nginx)
- Nginx + Shibboleth
- Handle Server · Setup (v7)
- Shibboleth · DiscoJuice
- Shibboleth Accounts
- S3 Storage · CESNET S3
- Google Analytics
- Matomo
- Solr
- Logging
- Custom Namespace
- Health Report
For Users
Development
Reference
- Authorizations
- Metadata Info
- Citations (proposal)
- Repository Checklist
- Search, Browse & Filters
- Localization
- Importing Items (CLI)
- NFA Import - Steps
- OpenAIRE
- DOI Registration
- Inclusion in OLAC
- Unit Testing
- Deploy Checks
- Troubleshooting
- Versioning Theory
- Dynamic Resource Versioning
- Metashare Import · Schema
- Web Server Overview
- LINDAT Common Theme
- Workshop 2016 Results
- WebLicht Integration
- Google Dataset Search
Archive (v5 / stale)
- Old Home (v5)
- Installation (v5)
- Prerequisites (v5)
- Connecting Tomcat with Apache
- Using Apache
- Building Shibboleth FastCGI
- Shibboleth Install (v5)
- EUDAT Replication
- Backup (v5)
- Spring Social / Google Drive (v5)
- Clarin (→ Repository Checklist)
- Control Panel (v5)
- Overlays (v5)
- Configuration (v5)
- Speeding Up Downloads
- Debugging (v5)
- Selenium (v5)
- Code Contributions (v5)
- Best Practices (v5)
- Testing Hudson
- Working on Windows
- Prerequisites Checklist (v5)
- Migration to DSpace 7.2.1
- Upgrade From Lindat
- Piwik (→ Matomo) · Piwik Cleaning