Validate URL params for packages

Priority

Environment

None

Template

None

Description

GET /eholdings/packages/123 should give an error indicating invalid packageId.
Please Note that packageId is a combination of providerId-packageId.

Mod-kb-ebsco gives an unrelated error response passing the request to RM API:

Validate packageId for different HTTP methods that this endpoint supports and write associated unit tests.

Another example: DELETE /eholdings/packages/abc-abc and DELETE /eholdings/packages/abc each give 404 and 400 with no error message. During validation of url params, ensure that error messaging is consistent.

Development Team

None

Release

None

Story Points

Sprint

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created June 11, 2018 at 5:25 PM
Updated November 20, 2019 at 9:20 AM
Resolved August 2, 2018 at 4:09 PM
TestRail: Cases
TestRail: Runs