Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/dspace harvest #63

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f44df39
Added initial version of dspace harvest via oaipmh.
ivanmrsulja Dec 11, 2024
00ba9e2
Refactored ETL process, everything that is crucial works now.
ivanmrsulja Dec 12, 2024
d6ae406
Refactored java code in order to make it more readable.
ivanmrsulja Dec 12, 2024
0c3490d
Added the possibility of loading through sparql api. Added support fo…
ivanmrsulja Dec 13, 2024
b00e51f
Fixed ID sanitization bug.
ivanmrsulja Dec 17, 2024
dc73c6c
Updated batch script.
ivanmrsulja Dec 17, 2024
d60844f
Updated batch script.
ivanmrsulja Dec 17, 2024
147b0c1
Fixing .bat script...
ivanmrsulja Dec 18, 2024
2d1f531
Minor fixes and documentation update.
ivanmrsulja Dec 18, 2024
01e1938
Fixing UTF encoding problems encountered on Windows systems.
ivanmrsulja Dec 18, 2024
4e56552
Minor improvements suggested in PR comments.
ivanmrsulja Dec 20, 2024
83b1f37
Fixed an error when loading UTF files on windows systems.
ivanmrsulja Dec 20, 2024
7252111
Fixed windows compatibility bugs.
ivanmrsulja Dec 23, 2024
d38cfbd
Small refactor.
ivanmrsulja Dec 23, 2024
28fc82c
Fixed more windows compatbility issues.
ivanmrsulja Dec 25, 2024
f5acb27
Fixed unescaped XML content issue.
ivanmrsulja Jan 3, 2025
e4445b5
Refined fix for unescaped XML encoded entities.
ivanmrsulja Jan 3, 2025
c6088d0
Fixed SPARQL update encoding problems.
ivanmrsulja Jan 8, 2025
0bfec99
Aligned JENA version to the one used in current VIVO. Fixed RDF autor…
ivanmrsulja Jan 8, 2025
6a65389
Switched to using final compiled regex patterns for slight performanc…
ivanmrsulja Jan 10, 2025
ffbfc71
Added javadocs.
ivanmrsulja Jan 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixing .bat script...
ivanmrsulja committed Dec 18, 2024
commit 147b0c1ae575b7dbbce4543e1a851901b2bcc23f
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ IF NOT EXIST dspace-oaifetch.config.xml (
echo ERROR: Missing configuration file: dspace-oaifetch.config.xml
exit /b 1
)
java %HARVESTER_JAVA_OPTS% -cp "%CLASSPATH%" org.vivoweb.harvester.fetch.JSONFetch -X dspace-oaifetch.config.xml
java %HARVESTER_JAVA_OPTS% -cp "%CLASSPATH%" org.vivoweb.harvester.fetch.OAIFetch -X dspace-oaifetch.config.xml
if %errorlevel% neq 0 exit /b %errorlevel%

REM ============================
@@ -74,7 +74,7 @@ REM ============================
REM Transfer Stage
REM ============================
echo Transferring RDF into temporary triple store...
java %HARVESTER_JAVA_OPTS% -cp "%CLASSPATH%" org.vivoweb.harvester.transfer.Transfer -X transfer.config.xml
java %HARVESTER_JAVA_OPTS% -cp "%CLASSPATH%" org.vivoweb.harvester.transfer.Transfer -w INFO -s translated-records.config.xml -o harvested-data.model.xml -d data/harvested-data/imported-records.rdf.xml
if %errorlevel% neq 0 exit /b %errorlevel%

REM ============================