Joscorbe commented on code in PR #295:
URL: https://github.com/apache/jackrabbit-oak/pull/295#discussion_r959875452
##########
oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoTestClient.java:
##########
@@ -16,31 +16,136 @@
*/
package org.apache.jackrabbit.oak.plugins.document.mongo;
+import java.util.List;
import java.util.concurrent.atomic.AtomicReference;
-import com.mongodb.MongoClient;
-import com.mongodb.MongoClientURI;
+import com.mongodb.ClientSessionOptions;
+import com.mongodb.ConnectionString;
+import com.mongodb.client.ChangeStreamIterable;
+import com.mongodb.client.ClientSession;
+import com.mongodb.client.ListDatabasesIterable;
+import com.mongodb.client.MongoClient;
+import com.mongodb.client.MongoClients;
import com.mongodb.client.MongoDatabase;
-
+import com.mongodb.client.MongoIterable;
+import com.mongodb.connection.ClusterDescription;
+import org.apache.jackrabbit.oak.plugins.document.util.MongoConnection;
+import org.bson.Document;
+import org.bson.conversions.Bson;
import org.jetbrains.annotations.NotNull;
-class MongoTestClient extends MongoClient {
+class MongoTestClient implements MongoClient {
Review Comment:
This is now an interface and I have found no better way to achieve the same
result.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]