Uploaded image for project: 'Kotlin Couchbase Client'
  1. Kotlin Couchbase Client
  2. KCBC-24

Cloud Connection sample code update

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • None
    • 1.0.0-dp.1
    • None
    • 1
    • SDK32: Eventing Mgmt, SDK34: CB++, OBO, Connect Prep

    Description

      Quoth AV: "As per the discussion in SDK meeting held on July 14th, it was deemed necessary that the SDK code samples for Cloud would be a bit outdated / behind."

      & qoth RS:  "Please help write the connection sample for Cloud on the Hello World page,
      including  commented out  sslverify = false (so that we can suggest when it is appropriate,
      and add in the relevant TLS certificate code
      (we will add in downloading the Cloud Cert to the doc.
      Thanks."

       

       

      This is a HelloCloud.kt equivalent to https://github.com/couchbase/docs-sdk-kotlin/blob/1.0dp1/modules/hello-world/examples/HelloWorld.kt 

      Take a look at Cloud connection in  https://github.com/couchbase/docs-sdk-java/blob/release/3.2/modules/devguide/examples/Cloud.java 

      As well as the current complete (but lacking the required updates) Cloud code surfaced at the Cloud tab of https://docs.couchbase.com/java-sdk/current/hello-world/start-using-sdk.html#full-example and found in https://github.com/couchbase/docs-sdk-java/blob/release/3.2/modules/devguide/examples/CloudConnect.java 

      Attachments

        Issue Links

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

          Activity

            People

              david.nault David Nault
              richard.smedley Richard Smedley
              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