Uploaded image for project: 'Scala Couchbase Client'
  1. Scala Couchbase Client
  2. SCBC-45

Make AnalyticsMeta match RFC

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • 1.0.0-beta.1
    • None
    • None
    • None

    Description

      Have several Option fields here that don't need to be.  Analytics service says results will be:

      struct AnalyticsQueryResult {
          rows: Iterable[AnalyticsQueryRow],
          errors: Iterable[JsonObject],
          warnings: Iterable[JsonObject],
          signature: Object,
          requestId: String,
          clientContextId: String,
          status: String,
          info: AnalyticsMetrics,
      } 

      Changes we need to make to match the RFC and what analytics return include:

      • Returning individual warnings rather than a blob of JSON.
      • Possibly reporting individual errors.  It's currently unclear in the RFC is this is required, but the response here does suggest multiple errors can be returned.
      • Making several Option fields non-Optional - metrics (this is different to query, where metrics can be disabled), clientContextId, signature.

      Attachments

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

        Activity

          People

            graham.pople Graham Pople
            graham.pople Graham Pople
            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