Implement basic CRUD for /acquisitions-units-storage/memberships

Description

Overview:
Define and implement the memberships API

  • use new interfrace: acquisitions-units-storage

  • See API Listing for endpoint details.

  • Schema:
    || property || type || default || required || description ||
    | id | String | | | UUID |
    | userId | String | | required | the UUID of the user to associate with this acquisitions unit |
    | acquisitionsUnitId | String | | required | the acq unit this user is a member of |

  • should include metadata

  • add indexes (generic "index") for both userId and acquisitionsUnitId fields

  • foreign key on acquisitionsUnitId

Additional background can be found on the wiki

Acceptance Criteria:

  • ModuleDescriptor, RAML are updated

  • Schema and examples are created

  • Unit tests are updated

Environment

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Craig McNallyJune 28, 2019 at 7:17 PM
Edited

verified on folio-testing:

POST

GET by Query

PUT and GET by ID

DELETE

FKEY

Kruthi VuppalaJune 28, 2019 at 4:11 PM

verified on local deployment that indexes are created

Kruthi VuppalaJune 28, 2019 at 4:01 PM

Kruthi VuppalaJune 28, 2019 at 3:58 PM
Edited

verified on folio-testing

  • CRUD tests

  1. 1) POST /acquisitions-units-storage/memberships
    Create an acquisition unit

Create assignment

GET /acquisitions-units-storage/memberships

PUT

GET by ID

DELETE

VERIFY DELETE

Not Found

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

EBSCO - FSE

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created May 22, 2019 at 2:29 AM
Updated June 28, 2019 at 7:21 PM
Resolved June 28, 2019 at 7:21 PM
TestRail: Cases
TestRail: Runs