eHoldings Configuration status - Send correct error message from HoldingsIQ

Priority

Environment

None

Template

None

Description

Currently when HoldingsIQ returns 429 code, /eholdings/status endpoint returns data with isConfigurationValid: false even when configuration is, in fact, valid. This prevents front-end from showing a correct error message.

In scope of this tickets changes have to be made to return semantically correct response.
isConfigurationValid should be false only when it's not valid, otherwise an error message has to be returned (in case of 429 code from HoldingsIQ it's "Unable to complete operation. HoldingsIQ API limit has been exceeded. Please contact your EBSCO Holdings IQ support contact.")

Development Team

Spitfire

Release

None

Story Points

Sprint

is required by

Checklist

hide

TestRail: Results

Activity

Show:

Oleksii Petrenko August 7, 2020 at 12:59 PM

Closing, merged

Done

Details

Assignee

Reporter

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 31, 2020 at 11:14 AM
Updated August 7, 2020 at 12:59 PM
Resolved August 7, 2020 at 12:59 PM
TestRail: Cases
TestRail: Runs