Allow Instantiated MongoClients to Send Client Metadata On-Demand

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 3
    • Hide

      DRIVERS-2985:
      Summary of necessary driver changes

      • Add API to MongoClient to support appending metadata (driver name, version, platform) after it’s been created and initialized.

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      Show
      DRIVERS-2985 : Summary of necessary driver changes Add API to MongoClient to support appending metadata (driver name, version, platform) after it’s been created and initialized. Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed) Unified spec tests: yml json Prose tests: README
    • None
    • Node Drivers
    • Hide

      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.

      Show
      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.
    • Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

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

       

      AC:

      • Add new DriverInfoOptions interface with name, version, platform properties
      • Implement appendMetadata on the MongoClient that appends the 3 options to the existing client metadata.

      Testing:

      • Implement new prose tests
      • Implement unified runner changes and sync new unified tests

      Docs:

      • Document the new API in our API docs and in the MongoDB manual so that extension developers can easily reference it

            Assignee:
            Durran Jordan
            Reporter:
            TPM Jira Automations Bot
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: