Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4143

Demo REST API is accidentally misconfigured, reports incorrect URLs

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST API v7
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      Assigned to Andrea Bollini (4Science) or Giuseppe Digilio (4Science), as this needs to be fixed on the backend of the Demo REST API (kindly hosted by 4Science): https://dspace7.4science.it/dspace-spring-rest/ 

      After triggering an update to the Demo REST API today myself (to sync it with the latest master code), I realized the configuration of the Demo REST API requires updates based on recent changes in this PR (which makes the REST URL Path configurable): https://github.com/DSpace/DSpace/pull/2258 

      That PR adds a new "dspace.restUrl" configuration to dspace.cfg which defaults to "/rest" path.  This configuration will need to be overridden by the Demo REST API (likely in its local.cfg) to instead be:
      dspace.restUrl = ${dspace.baseUrl}/dspace-spring-rest

      Once this change is made on the backend, the Demo REST API should function properly again.

        Attachments

          Activity

            People

            • Assignee:
              bollini Andrea Bollini (4Science)
              Reporter:
              tdonohue Tim Donohue
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: