Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-1350

[CPS/NCMP] Add Basic Auth to CPS/NCMP OpenAPI Definitions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Done
    • Kohn Release, London Release
    • London Release
    • CPS-Core, NCMP
    • None

    Description

      Teams are starting to use more requests of the NCMP API from code and at the beginning they added implementation for the client themselves.

      Now the OpenAPI definitions are good enough to generate the client code from it.

       

      There is only one minor issue with it: CPS-NCMP requires basic authentication, but it is missing from the OpenAPI definitions.

      Due to this, the client is generated in a way that authentication cannot be configured, and the generated code is useless.

       

      For reference: https://swagger.io/docs/specification/authentication/basic-authentication/

       

      Diff file added will be used to add PoC code to CPS.

      Attachments

        1. _docker-images.log
          0.3 kB
        2. _sysinfo-1-after-setup.txt
          3 kB
        3. _sysinfo-2-after-robot.txt
          3 kB
        4. image-2022-11-03-15-27-42-033.png
          image-2022-11-03-15-27-42-033.png
          37 kB
        5. log.html
          231 kB
        6. openapi_patch.diff
          2 kB
        7. output.xml
          18 kB
        8. report.html
          229 kB
        9. testplan.txt
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            JosephKeenan Joseph Keenan
            JosephKeenan Joseph Keenan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: