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

GoXDCR: Response of REST call to create remote-cluster reference/replication has changed in goxdcr(default in Sherlock)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.0
    • 4.0.0
    • XDCR
    • Security Level: Public
    • Untriaged
    • No

    Description

      Replication creation
      ---------------------------

      Until Sherlock(not including), creating replication through REST would return a response like

      { "id": "9eee38236f3bf28406920213d93981a3/beer-sample/remote_beer", "database": "http://10.4.2.4:8092/_replicator" }

      Goxdcr in Sherlock will however only return

      { "id": "replicationSpec_9eee38236f3bf28406920213d93981a3/beer-sample/remote_beer", }

      remote cluster reference creation
      ----------------------------------------------

      until Sherlock, response was -

      {"name":"remote1", "uri":"/pools/default/remoteClusters/remote1", "validateURI":"/pools/default/remoteClusters/remote1?just_validate=1", "hostname":"10.4.2.6:8091", "username":"Administrator", "uuid":"9eee38236f3bf28406920213d93981a3", "deleted":false}

      Goxdcr response to creating a cluster reference in goxdcr -

      {"id":"remoteCluster_b8df7219248b2322837ed5e9a83e260f", "uuid":"b8df7219248b2322837ed5e9a83e260f", "name":"remote1", "hostName":"10.3.4.188:8091", "userName":"Administrator", "password":"password", "demandEncryption":false, "certificate":null}

      Xiaomei, pls add a line for the deleted/new fields so it can be used for documentation.

      CCing Anil to check if this might break the Elastic Cluster connector.

      Attachments

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

        Activity

          People

            apiravi Aruna Piravi (Inactive)
            apiravi Aruna Piravi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty