Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
eHoldings Sprint 85
-
5
-
Spitfire
Description
Support retrieval a collection of KB credentials by the following method:
GET /eholdings/kb-credentials
The payload of the response should contain a list of KB credentials.
Sample response body:
{ "data": [ { "id": "2ffa1940-2cf6-48b1-8cc9-5e539c61d93f", "type": "credentials", "attributes": { "name": "University of Massachusetts - Amherst", "apiKey": "XXXX", "url": "YYYY", "customerId": "ZZZZ" }, "metadata": { "createdDate": "2020-03-17T15:22:04.098", "updatedDate": "2020-03-17T15:23:04.098+0000", "createdByUserId": "1f8f660e-7dc9-4f6f-828f-96284c68a250", "updatedByUserId": "6893f51f-b40c-479d-bd78-1704ab5b802b", "createdByUsername": "john_doe", "updatedByUsername": "jane_doe" } } ], "meta": { "totalResults": 1 }, "jsonapi": { "version": "1.0" } }
More details can be found in the dedicated section of "Spike: MODKBEKBJ-390 - describe design for "Single tenant multiple EBSCO KBs" scenario"
Requirements
- KB credentials collection endpoint returns a list of existing KB credentials
- returns an empty response with meta-information(i.e totalResults = 0 ) if no KB credentials exist
Acceptance Criteria
- the endpoint created and works according to the requirements
- the endpoint is covered with unit tests
- API tests created to cover endpoint functionality
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-1994 eholdings app | Single Tenant w/ Multiple Libraries Support
-
- Closed
-
- is defined by
-
MODKBEKBJ-390 Spike: describe design for "Single tenant multiple EBSCO KBs" scenario
-
- Closed
-
- is required by
-
UIEH-869 Settings > eholdings > List of created Knowledge Base configurations
-
- Closed
-
-
UIEH-879 Settings > eholdings > Fetch Knowledge Base configurations collection
-
- Closed
-
- relates to
-
MODKBEKBJ-393 Spike "Single tenant + KBs": Managing KB Credentials in MOD KB EBSCO module
-
- Closed
-