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

Configuring DSpace to operate with a universal IIIF-Server #9030

Open
Leano1998 opened this issue Aug 22, 2023 · 1 comment · May be fixed by #9145
Open

Configuring DSpace to operate with a universal IIIF-Server #9030

Leano1998 opened this issue Aug 22, 2023 · 1 comment · May be fixed by #9145
Labels
integration: IIIF Related to International Image Interoperability Framework (IIIF) support needs discussion Ticket or PR needs discussion before it can be moved forward. new feature

Comments

@Leano1998
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, - if I'm understanding it correctly - DSpace is optimised to work with a separate Cantaloupe instance per DSpace backend.
There is a workaround by using slash substitutes at the iiif-server side and filling the parameters of the DSpace-Backend accordingly. But it produces quite obscure parameter settings:

# Public base url of a iiif server able to serve DSpace images. The bitstream
# uuid is appended to this URL
iiif.image.server = https://<url-of-the-cantaloupe>/https:____<REST-url>__api__core__bitstreams__

Of course, this also means a corresponding setting on the part of the cantaloupe server.
In addition, however, the suffix "/content" must still be set on the cantaloupe server side. This is not automatically transferred by DSpace. Thus the server remains "DSpace-specific".

Describe the solution you'd like
In order to use one IIIF-Server for multiple DSpace- and None-DSpace instances, I suggest to check the following two questions:

  1. Is it possible to pass the slash substitute to DSpace as its own configuration parameter, thus avoiding strange parameter constructions and duplications?
  2. Is it also possible to pass the suffix "/content" directly from the DSpace instance to the IIIF server in order to enable a general - not DSpace-specific - use of the IIIF server?

Describe alternatives or workarounds you've considered
I described one workaround above, but the main problem there is: adding the url to the REST-API including the slash-substitute is somehow redundant, as we've already defined the parameter dspace.server.url.


I could offer pull request to address this issue, but I wanted to ask first, if there is an interest in it. This would of course include two more configuration parameter in the iiif.cfg.

@Leano1998 Leano1998 added needs triage New issue needs triage and/or scheduling new feature labels Aug 22, 2023
@tdonohue
Copy link
Member

@mspalti : Pinging you on this as I think this could use the feedback of someone well versed in our IIIF integration code. It sounds reasonable to me, but you know the code better than I do.

@tdonohue tdonohue added the integration: IIIF Related to International Image Interoperability Framework (IIIF) support label Aug 22, 2023
@tdonohue tdonohue assigned mspalti and unassigned mspalti Aug 22, 2023
@tdonohue tdonohue added needs discussion Ticket or PR needs discussion before it can be moved forward. and removed needs triage New issue needs triage and/or scheduling labels Sep 11, 2023
@Leano1998 Leano1998 linked a pull request Oct 24, 2023 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration: IIIF Related to International Image Interoperability Framework (IIIF) support needs discussion Ticket or PR needs discussion before it can be moved forward. new feature
Projects
Status: 👀 Needs Discussion / Analysis
Development

Successfully merging a pull request may close this issue.

3 participants