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

Refactor LinkRepository to support POST, DELETE request as well

    XMLWordPrintable

    Details

    • Type: Code Task
    • Status: Volunteer Needed (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST API v7
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      0
    • Documentation Status:
      Needed

      Description

      To manage no GET operations over association endpoint we are currently implementing custom, independent controllers such as

      • org.dspace.app.rest.ItemOwningCollectionUpdateRestController
      • org.dspace.app.rest.ItemAddBundleController
      • org.dspace.app.rest.ItemtemplateRestController
      • org.dspace.app.rest.MappedCollectionRestController
      • etc

      this make hard to enforce uniform behavior as well detect if a specific operation is allowed or not on an endpoint that will be needed to implement the ALPS support (DS-3486).

      We should extends the LinkRepository interface to implement the frontcontroller design pattern also for these operation in our RestResourceContoller

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bollini Andrea Bollini (4Science)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: