Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0, 1.9.10
    • mongomk
    • None

    Description

      The updated driver adds compatibility with MongoDB 4.0 and fixes an issue with the new mongodb+srv connection scheme when used in an OSGi container (OAK-7486).

      Attachments

        1. OAK-7645.patch
          13 kB
          Marcel Reutegger

        Issue Links

          Activity

            Also requires an update of fongo test dependency: https://github.com/fakemongo/fongo/issues/337

            mreutegg Marcel Reutegger added a comment - Also requires an update of fongo test dependency: https://github.com/fakemongo/fongo/issues/337

            Alternatively remove the dependency to fongo, which will make future updates of the driver easier.

            mreutegg Marcel Reutegger added a comment - Alternatively remove the dependency to fongo, which will make future updates of the driver easier.

            Something like https://www.testcontainers.org/ might work as a replacement for fongo. It's a trade off where we need to insure that the CI machines and developers have docker installed but OTOH we test against real mongo and we are not blocked by fongo's lifecycle.

            rombert Robert Munteanu added a comment - Something like https://www.testcontainers.org/ might work as a replacement for fongo. It's a trade off where we need to insure that the CI machines and developers have docker installed but OTOH we test against real mongo and we are not blocked by fongo's lifecycle.

            The oak-store-document module currently uses fongo mostly to intercept calls and inject test specific behaviour like throwing exception in certain cases. IIUC, testcontainers.org is just a simple way to provision a test database but it wouldn't help with the tests in Oak that currently rely on fongo.

            mreutegg Marcel Reutegger added a comment - The oak-store-document module currently uses fongo mostly to intercept calls and inject test specific behaviour like throwing exception in certain cases. IIUC, testcontainers.org is just a simple way to provision a test database but it wouldn't help with the tests in Oak that currently rely on fongo.

            Ah, true, testcontainers would not work as a mock.

            rombert Robert Munteanu added a comment - Ah, true, testcontainers would not work as a mock.

            Proposed changes in OAK-7645.patch.

            mreutegg Marcel Reutegger added a comment - Proposed changes in OAK-7645.patch .
            mreutegg Marcel Reutegger added a comment - Done in trunk: http://svn.apache.org/r1845199

            Bulk close 1.9.10

            edivad Davide Giannella added a comment - Bulk close 1.9.10

            People

              mreutegg Marcel Reutegger
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: