Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-39502

improve getCredentials() methods in REST API handling

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • Morpheus
    • Cheshire-Cat
    • query
    • None

    Description

      Parsing the creds parameter is overly complicated and it requires creating 3 maps and ditching two, which is very wasteful and potentially heavy on the GC.
      Luckily out tests don't use credentials, but if they did they would be heavily affected.
      Have getCredentials just return auth.Credentials.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Donald.haggart Donald Haggart
            marco.greco Marco Greco (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty