[FOLIO-2652] Refine ebsco-rmapi-config settings for Hosted Reference Environments Created: 18/Jun/20  Updated: 22/Jun/20  Resolved: 22/Jun/20

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Story Priority: P2
Reporter: Carole Godfrey Assignee: David Crossley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: PNG File Screen Shot 2020-06-18 at 11.02.04 AM.png    
Issue links:
Relates
relates to FOLIO-2617 Request to Update ebsco-rmapi-config ... Closed
Sprint: DevOps: sprint 90
Development Team: FOLIO DevOps

 Description   

There have been updates to mod-kb-ebsco-java module to support data migration.

Related PR:
https://github.com/folio-org/mod-kb-ebsco-java/pull/282

Applicable code
https://github.com/folio-org/mod-kb-ebsco-java/blob/2199a01df3f8f4331b38b1650a07ebe4f2209f9c/src/main/resources/liquibase/tenant/scripts/v3.5.0/create-kb-credentials-table.xml#L51

As a result of this – a default set of credentials gets added to reference environments (for example -Dummy Credentials as shown in attached screen shot from folio-testing)

We would like to request that the POST Request (https://folio-org.atlassian.net/browse/FOLIO-2617)
https://github.com/folio-org/folio-ansible/blob/85ad9988f3c4fd91cfec35ea515140e0a942f5d5/roles/ebsco-rmapi-config/tasks/main.yml#L18
be revised to instead issue a PUT request to update the dummy/default credentials.

Only 1 set of credentials should be present in reference environments. Having 2 requires users to be associated with a specific set of credentials

Note – the migration scripts use a hardcode id 80898dee-449f-44dd-9c8e-37d5eb469b1d which should be updated with the PUT

For example:

PUT /eholdings/kb-credentials/80898dee-449f-44dd-9c8e-37d5eb469b1d
{
 "data": {
  "type": "kbCredentials",
  "attributes": {
   "name": "Knowledge Base",
   "apiKey": "XXXX",
   "url": "YYYY",
   "customerId": "ZZZZ"
  }
 }
}


 Comments   
Comment by David Crossley [ 22/Jun/20 ]

Done.

Generated at Thu Feb 08 23:22:15 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.