Uploaded image for project: 'Hibernate OGM'
  1. OGM-1539

Test native mapping of GridFS in MongoDB

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.4-next
    • Component/s: mongodb, tests
    • Labels:
      None
    • Suitable for new contributors:
      Yes, likely
    • Last commented by a user?:
      true
    • Sprint:

      Description

      In the package `org.hibernate.ogm.datastore.mongodb.test.mapping` we have tests for the mapping on MongoDB. We need something similar for GridFS.

      We need to test that only the expected collection is created, with and without the use of `@GridFSBucket` and that the <something_bucket>.files collection contains the expected filename attribute.

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated: