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

        Activity

          People

            umang.agrawal Umang
            umang.agrawal Umang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty