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

Analytics Local Links API doesn't send isActive field

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Critical
    • None
    • 7.1.3
    • analytics
    • Capella pre-prod
    • Untriaged
    • 0
    • Unknown
    • Analytics Sprint 8

    Description

      Hi team,

       

      We were validating Analytics Links on the Capella UI and found that the API call to retrieve the Analytics Links has a change where the "IsActive" field is not sent in the API response anymore.

       

      Here is a sample call to the API and the response on older RC build and the latest RC build.

      API : 

      GET _p/cbas/query/service

       

       

      Older RC Build Response: (RC8)

      {
      2	"requestID": "d575f0c7-509e-426c-83f4-3db38e5ae6a0",
      3	"signature": {
      4		"*": "*"
      5	},
      6	"results": [ { "DataverseName": "Default", "isDataverse": true, "links": [ { "Name": "Local" } ] }
      7, { "DataverseName": "Default", "Name": "Local", "isLink": true, "IsActive": true }
      8 ]
      9	,
      10	"plans":{},
      11	"status": "success",
      12	"metrics": {
      13		"elapsedTime": "351.532614ms",
      14		"executionTime": "278.989049ms",
      15		"resultCount": 2,
      16		"resultSize": 168,
      17		"processedObjects": 119
      18	}
      19} 

      (IsActive: true set for the default local link)

      Latest RC Build 3479:

      {
      2	"requestID": "e386a94d-d54d-4acf-8207-dae577022a09",
      3	"signature": {
      4		"*": "*"
      5	},
      6	"results": [ { "DataverseName": "Default", "isDataverse": true, "links": [ { "Name": "Local" } ] }
      7, { "DataverseName": "Default", "Name": "Local", "isLink": true }
      8 ]
      9	,
      10	"plans":{},
      11	"status": "success",
      12	"metrics": {
      13		"elapsedTime": "66.921004ms",
      14		"executionTime": "61.343781ms",
      15		"resultCount": 2,
      16		"resultSize": 150,
      17		"processedObjects": 41
      18	}
      19} 

      IsActive is not sent in the API response anymore.

       

      This is breaking the UI on Capella since we expect that field.

       

      Note: Please also confirm if this field is sent for new S3 links that are created.

       

      Can you confirm if this is by design and we should not expect this field anymore or this needs a fix on the server side? Thank you!

      Attachments

        Activity

          People

            talina.shrotriya Talina Shrotriya
            talina.shrotriya Talina Shrotriya
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty