Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29696

Upgrade MongoDB Java Driver to new one

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.4, 2021.0
    • Component/s: Core MongoDB
    • Epic Link:
    • Tags:
    • Upgrade notes:
      Hide

      MongoDB Java Driver has been upgraded from 3.x to 4.1 which brings breaking changes, you may need to adapt your code if you were using the driver directly.
      See https://mongodb.github.io/mongo-java-driver/4.1/upgrading/#upgrading-from-the-3-12-java-driver

      Show
      MongoDB Java Driver has been upgraded from 3.x to 4.1 which brings breaking changes, you may need to adapt your code if you were using the driver directly. See https://mongodb.github.io/mongo-java-driver/4.1/upgrading/#upgrading-from-the-3-12-java-driver
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #21
    • Story Points:
      5

      Description

      Since 4.0.x the MongoDB Java Driver has been split into several pieces:

      • mongodb-driver-sync
      • mongodb-driver-async
      • mongodb-driver-legacy

      We're currently using mongodb-driver-legacy and we would like to get rid of this one in favor of mongodb-driver-sync.

      Note: The new driver is not backward compatible, for instance com.mongodb.MongoClient is now com.mongodb.client.MongoClient and we have public API leveraging this type, see MongoDBConnectionHelper.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours
                  6h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.