Uploaded image for project: 'mod-oai-pmh'
  1. mod-oai-pmh
  2. MODOAIPMH-198

Implement the endpoint for updating set entry by id

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
    • Sprint:
      Gulfstream Sprint 93
    • Story Points:
      2
    • Development Team:
      Gulfstream

      Description

      Implement the endpoint which accepts set id and set json entry and then updates with it the set entry into databse.
      Request url /set/

      {set_id}
      Request method: PUT
      Request example: { "id" : "8772b95a-a006-419d-a367-3bd8e36918df", "name" : "1", "description" : "", "setSpec" : "", "createdDate" : "2020-06-24T08:05:24.129+0000", "createdByUserId" : "efa0ceef-32b9-409c-a6c5-2f74c62f6cf8", "updatedDate" : "2020-06-24T08:05:24.129+0000", "updatedByUserId" : "efa0ceef-32b9-409c-a6c5-2f74c62f6cf8" }

      acceptance criteria:
      - when PUT by id and item with specified id exists then response with updated item is returned with status code 204
      - when PUT by id and item with such id does not exist then 404 error returned with error message "Set with id '{set_id}

      ' was not found"

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                TotoroDev Illia Daliek
                Reporter:
                TotoroDev Illia Daliek
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases