-
Sub-task
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
10
-
False
-
None
-
False
-
-
MongoDbDatabaseProvider is currently the main entrypoint to get a MongoDB replica set or sharded cluster (or external MongoDB/DocumentDB) instance setup in integration tests (called MongoDbPlatform / `mongodb.platform`).
Unfortunately there's no easy way to configure the created containers. A critical issue for example is that you might need to provide a custom network while maintaining the flexibility to swith to another `mongodb.platform` based on system properties, but you can't. This needs some refactoring.
Furthermore, it is not ideal that this class uses MongoDbPlatform underneath but this classes uses code from MongoDbDatabaseProvider (MongoDbDatabaseProvider::dockerReplicaSet)