Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-8855

Node.js Collection Management tidy-up

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • sdk3.2-backlog
    • documentation
    • None

    Description

      provisioning-cluster-resources page:

      • check RBAC done and renamed (e.g. only scopeAdmin, not bucketAdmin)
      •  JSCBC-858 remove special case commenting when fixed
      •  Listing Collections (currently erroring see below)
      •  check backported

      Attachments

        Issue Links

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

          Activity

            hakim.cassimally Hakim Cassimally added a comment - - edited

             Forward ported RBAC changes to 3.2 for now

            hakim.cassimally Hakim Cassimally added a comment - - edited  Forward ported RBAC changes to 3.2 for now

            Tried adding collection listing, but getAllScopes errors with:

            ERR: CouchbaseError: failed to get scopes
                at CollectionManager.<anonymous> (/Users/hakimcassimally/couchbase/docs-sdk-nodejs/node_modules/couchbase/dist/collectionmanager.js:131:27)
                at Generator.next (<anonymous>)
                at fulfilled (/Users/hakimcassimally/couchbase/docs-sdk-nodejs/node_modules/couchbase/dist/collectionmanager.js:5:58) {
              cause: undefined,
              context: HttpErrorContext {
                method: 'POST',
                request_path: '/pools/default/buckets/travel-sample/scopes',
                response_code: 400,
                response_body: '{"errors":{"name":"The value must be supplied"}}'
              } 

            Not 100% certain I'm using correct version of library, and have pinged Brett Lawson for advice, will log above error if it still exists after JSCBC-858 query resolved.

            hakim.cassimally Hakim Cassimally added a comment - Tried adding collection listing, but getAllScopes errors with: ERR: CouchbaseError: failed to get scopes at CollectionManager.<anonymous> (/Users/hakimcassimally/couchbase/docs-sdk-nodejs/node_modules/couchbase/dist/collectionmanager.js: 131 : 27 ) at Generator.next (<anonymous>) at fulfilled (/Users/hakimcassimally/couchbase/docs-sdk-nodejs/node_modules/couchbase/dist/collectionmanager.js: 5 : 58 ) { cause: undefined, context: HttpErrorContext { method: 'POST' , request_path: '/pools/default/buckets/travel-sample/scopes' , response_code: 400 , response_body: '{"errors":{"name":"The value must be supplied"}}' } Not 100% certain I'm using correct version of library, and have pinged Brett Lawson  for advice, will log above error if it still exists after JSCBC-858 query resolved.

            People

              hakim.cassimally Hakim Cassimally
              hakim.cassimally Hakim Cassimally
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty