Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4353

Support authorizedCollections option for listCollections helpers

    • Hide

      DRIVERS-1393:
      Drivers should sync with mongodb/specifications@15302d2 which introduced the authorizedCollections option to the three listCollections methods: listCollections, listCollectionNames, listMongoCollections.

       

      Show
      DRIVERS-1393 : Drivers should sync with mongodb/specifications@15302d2  which introduced the authorizedCollections option to the three listCollections methods: listCollections , listCollectionNames , listMongoCollections .  
    • Major Change
    • Needed
    • Hide

      Add to what's new that we added support for the `authorizedCollections` option of the `listCollections` command (https://docs.mongodb.com/manual/reference/command/listCollections/). This option can now be configured via the result of the `MongoDatabase.listCollectionNames` methods.

      This change

      • preserves source-code compatibility: existing source code that calls the changed methods does not have to be changed;
      • breaks binary compatibility: existing binary (compiled) code that calls the changed methods will not work; existing source code that calls the changed methods has to be recompiled against the updated driver dependency.
      Show
      Add to what's new that we added support for the `authorizedCollections` option of the `listCollections` command ( https://docs.mongodb.com/manual/reference/command/listCollections/ ). This option can now be configured via the result of the `MongoDatabase.listCollectionNames` methods. This change preserves source-code compatibility: existing source code that calls the changed methods does not have to be changed; breaks binary compatibility: existing binary (compiled) code that calls the changed methods will not work; existing source code that calls the changed methods has to be recompiled against the updated driver dependency.

      This ticket was split from DRIVERS-1393, please see that ticket for a detailed description.

            Assignee:
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: