Implement GET records-editor/records endpoint

Description

Endpoint GET records-editor/marc-records/id should be implemented to retrieve Marc record for QuickMARC editor.

Details: https://folio-org.atlassian.net/wiki/pages/viewpage.action?pageId=1775863

Acceptance criteria:

  1. Define API (RAML, ModuleDescriptor)

  2. Endpoint implemented

  3. Enable endpoints publishing in Jenkinsfile (if needed)

  4. Unit tests coverage at least 80%

  5. API tests created

Notes:
We should proceed development using stabs in case Folijet endpoints are not yet available and add additional story for verification on real endpoints when they are completed by Folijet.

Environment

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Viachaslau Khandramai April 2, 2020 at 11:24 AM

Closing this story after manual verification on folio-testing hosted env.

Viachaslau Khandramai April 2, 2020 at 11:18 AM

API test should be implemented as separate story MODQM-9 after MODINVOICE-154 completion because this issue (creation of module for new tenant) also blocks quick-marc tests.

Viachaslau Khandramai April 1, 2020 at 6:34 PM

Verified on hosted env: https://folio-testing-okapi.aws.indexdata.com

Documentation is available:

GET API verification:
1) Prepare environment:

2) Create snapshot in SRS:

3) Create record in SRS:

4) Retrieve record with quickMARC

5) Verify quickMARC NOT_FOUND:

6) Verify quickMARC BAD_REQUEST:

7) Verify quickMARC UUID bad format:

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Firebird

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 8, 2020 at 10:09 AM
Updated April 2, 2020 at 11:24 AM
Resolved April 2, 2020 at 11:24 AM
TestRail: Cases
TestRail: Runs