Uploaded image for project: 'Scala Couchbase Client'
  1. Scala Couchbase Client
  2. SCBC-382

Throw exception instead of ignoring connection string scheme or parameters

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.4.1
    • None
    • None
    • None
    • 0

    Description

      Suggested release note:

      `Cluster.connect` now throws an `IllegalArgumentException` if you pass a pre-built `ClusterEnvironment` and a connection string incompatible with the environment.

      • A pre-built environment without TLS enabled is incompatible with a connection string that specifies the secure `couchases` scheme.
      • A pre-built environment is incompatible with a connection string that has parameters.

      Before this change, the connection string scheme and parameters were always silently ignored when connecting with a pre-built cluster environment.

      Attachments

        Issue Links

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

          Activity

            People

              graham.pople Graham Pople
              david.nault David Nault
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty