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

Error not raised while altering link type for external analytics link.

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • 1
    • No
    • CX Sprint 197

    Description

      altering the link type for an existing external link does not raise an error, although the link type is not changed as expected.

       

      Steps to reproduce:

      1. create an external link using following HTTP request.

       

      curl --location --request POST 'http://<analytics server ip>:8095/analytics/link?dataverse=Default&name=cblink&type=couchbase&hostname=<remote ip>&username=Administrator&password=password&encryption=none' \
      --header 'Authorization: Basic <auth details>'

       

             2. try changing link type for the link created in step 1, using following HTTP request.

       

      curl --location --request PUT 'http://<analytics server ip>:8095/analytics/link?dataverse=Default&name=cblink&type=COUCHBASE11&hostname=<remote ip>&username=Administrator&password=password&encryption=none' \ --header 'Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA=='
      

       

      we get response status as 200. Although the link type does not change. Ideally an error should be raised.

       

      Attachments

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

        Activity

          Build couchbase-server-6.6.0-7581 contains cbas-core commit 43f59a6 with commit message:
          MB-39052: Fail in alter API request if link type is changed

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7581 contains cbas-core commit 43f59a6 with commit message: MB-39052 : Fail in alter API request if link type is changed

          Build couchbase-server-7.0.0-2074 contains cbas-core commit 43f59a6 with commit message:
          MB-39052: Fail in alter API request if link type is changed

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-2074 contains cbas-core commit 43f59a6 with commit message: MB-39052 : Fail in alter API request if link type is changed
          umang.agrawal Umang added a comment -

          verified cb server version 6.6.0-4861

          umang.agrawal Umang added a comment - verified cb server version 6.6.0-4861

          Build couchbase-server-6.6.2-9599 contains cbas-core commit 43f59a6 with commit message:
          MB-39052: Fail in alter API request if link type is changed

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.2-9599 contains cbas-core commit 43f59a6 with commit message: MB-39052 : Fail in alter API request if link type is changed

          People

            umang.agrawal Umang
            umang.agrawal Umang
            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