-
Notifications
You must be signed in to change notification settings - Fork 28
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
Fixing media indexing in Fedora with 5.0 #62
Conversation
Codecov Report
@@ Coverage Diff @@
## master #62 +/- ##
============================================
- Coverage 97.13% 96.32% -0.82%
- Complexity 146 151 +5
============================================
Files 9 9
Lines 629 626 -3
============================================
- Hits 611 603 -8
- Misses 18 23 +5
Continue to review full report at Codecov.
|
-0.82... close but no 🚬... which is the closest emoji to cigar on github. |
Anyway, I think that's close enough for code coverage. Moving on to the other PRs and install. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Linking this to Islandora-Devops/islandora-playbook#100 |
GitHub Issue: Islandora/documentation#1079
Test with: Islandora-Devops/islandora-playbook#100
What does this Pull Request do?
Fixes Milliner indexing of media for files that are in the fedora.
What's new?
We were indexing the RDF with the subject of the triples being the file uri itself:
http://localhost:8080/fcrepo/rest/some_file.jpg
. Fedora has been rejecting these with 403's because it requires the fcr:medata url to be the subject:http://localhost:8080/fcrepo/rest/some_file.jpg/fcr:metadata
This is a one line fix to inject that url in as the subject instead of the file uri.
How should this be tested?
You should be able to see things like
pcdm:fileOf
andschema:author
in RDF from Fedora now:Interested parties
@Islandora-CLAW/committers