Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1288

Dependency on proxyPort parameter that has been removed in Mad Hatter

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7.3
    • None
    • None
    • 1

    Description

      DefaultAsyncClusterManager.getBuckets crashes when run against Mad Hatter (currently unclear exactly which builds, but certainly latest), due to calling endpoint /pools/default/buckets and expecting the result to contain a proxyPort parameter.

      Looks like this was removed in the linked ticket, while removing support for Moxi from the server.

      Attachments

        Issue Links

          For Gerrit Dashboard: JCBC-1288
          # Subject Branch Project Status CR V

          Activity

            Artem Stemkovski, could you please provide some guidance on how we should handle this change on the SDK side?  All versions of the Java SDK will now crash if the app is calling getBuckets, against Mad Hatter.  This limits our compatibility so our preference would be that proxyPort is restored to the JSON with some value to indicate that it should not be used (0?).  Thoughts?

             

            graham.pople Graham Pople added a comment - Artem Stemkovski , could you please provide some guidance on how we should handle this change on the SDK side?  All versions of the Java SDK will now crash if the app is calling getBuckets, against Mad Hatter.  This limits our compatibility so our preference would be that proxyPort is restored to the JSON with some value to indicate that it should not be used (0?).  Thoughts?  
            graham.pople Graham Pople added a comment -

            Defaulted proxyPort to 0 if it's not available.

            graham.pople Graham Pople added a comment - Defaulted proxyPort to 0 if it's not available.

            People

              graham.pople Graham Pople
              graham.pople Graham Pople
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty