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

Support POST /eholdings/kb-credentials to create new KB credentials entry

    XMLWordPrintable

Details

    • eHoldings Sprint 86
    • 3
    • Spitfire

    Description

      Support creation of KB credentials by following endpoint:

      POST /eholdings/kb-credentials

      Sample request body:

      {
        "type": "credentials",
        "attributes": {
          "name": "University of Massachusetts - Amherst",
          "apiKey": "XXXX",
          "url": "YYYY",
          "customerId": "ZZZZ"
        }
      }
      

      More details can be found in the dedicated section of "Spike: MODKBEKBJ-390 - describe design for "Single tenant multiple EBSCO KBs" scenario"

      Requirements

      • KB credentials entity created
      • an error is returned if KB API Credentials are invalid

      Acceptance Criteria

      • the endpoint created and works according to the requirements
      • the endpoint is covered with unit tests
      • API tests created to cover endpoint functionality

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                psmagin Pavlo Smahin
                Natalia Zaitseva Natalia Zaitseva
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases