mod-kb-ebsco and mod-codex-ekb should store rm api credentials in same location (backend)

Description

mod-kb-ebsco currently stores rm api credentials (custid and apikey) as an entry in mod-configuration and url as an environment variable:

1) configuration entry with string containing both custid and apikey
query=(module==KB_EBSCO and configName==api_credentials and code==kb.ebsco.credentials)
2) url
stored as environment variable EBSCO_RMAPI_BASE_URL

mod-codex-ekb currently stores rm api credentials as 3 separate entries in mod-configuration
1) url
query=(module==EKB and configName==api_access and code==kb.ebsco.url)
-2)custid
query=(module==EKB and configName==api_access and code==kb.ebsco.customerId)
3)apikey
query=(module==EKB and configName==api_access and code==kb.ebsco.apiKey)

Update mod-kb-ebsco to use the locations as defined by mod-codex-ekb.

See attached screenshots

  • Backend work should allow the user to select API endpoint

  • Default endpoint = sandbox.ebsco.io

Environment

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Carole Godfrey September 28, 2018 at 9:34 PM

Story points due to added work to regenerate of all unit tests and work to coordinate config change with index data

Carole Godfrey September 10, 2018 at 9:48 PM

Note – VCR Cassettes will need to be re-recorded due to this change. The majority of recordings start with a request to configuration to get the current custid and apikey

GET https://okapi.frontside.io/configurations/entries?query=module=KB_EBSCO

Carole Godfrey September 10, 2018 at 9:10 PM

For testing new configuration location in frontside deployment site – added 3 new configuration entries

All done via a POST request to okapi

Set API Url

Set Customer Id

Set API Key (replace XXX with correct key)

Retrieve new configuration settings as

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 12, 2018 at 5:09 PM
Updated December 5, 2018 at 5:18 PM
Resolved September 17, 2018 at 2:18 PM
TestRail: Cases
TestRail: Runs