Uploaded image for project: 'mod-kb-ebsco-java'
  1. mod-kb-ebsco-java
  2. MODKBEKBJ-579

PUT Request: Make client id and secret key configurable

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      eHoldings Sprint 113
    • Story Points:
      3
    • Development Team:
      Spitfire

      Description

      Background
      In order to configure APIGEE client id and secret key, deployment teams will have to configure it by making an INSERT query to DB. Make that configurable from the UI instead as part of UC settings.

      Requirements

      • A tenant can configure the same client ID and API key credentials for multiple libraries
      • The secret should not be visible to the end-user and can be replaced with *** when the UI tries to GET it. However, they should be able to update it.

      Two new fields:
      1 - Usage consolidation client ID
      – required field
      – user enters string but display encrypted

      2 - Usage consolidation API key
      – required field
      – user enters string but display encrypted

      Acceptance Criteria
      Given user enters client id and secret key and Usage Consolidation ID value
      When s/he hits Save
      AND all credentials are valid
      Then update the record with these values

      Given user enters client id and secret key and Usage Consolidation ID value
      When s/he hits Save
      AND one of the credentials is not valid
      Then do not save the update
      AND return a message [Usage Consolidation credentials are not valid.]

      Given user enters client id and secret key and Usage Consolidation ID value
      When s/he hits Save
      AND the request is not successful BUT not due to user entering bad credentials
      Then do not save the update
      AND return a message [Usage Consolidation credentials cannot be saved due to a system error. Please try again.]

      Rough mockup

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                psmagin Pavlo Smahin
                Reporter:
                sduvvuri Sobha Duvvuri
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases