File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
src/test/java/org/soujava/demos/mongodb/document Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 1
1
package org .soujava .demos .mongodb .document ;
2
2
3
- import com .mongodb .ConnectionString ;
4
- import com .mongodb .client .MongoClient ;
5
- import com .mongodb .client .MongoClients ;
6
3
import org .eclipse .jnosql .communication .Settings ;
7
4
import org .eclipse .jnosql .databases .mongodb .communication .MongoDBDocumentConfiguration ;
8
5
import org .eclipse .jnosql .databases .mongodb .communication .MongoDBDocumentConfigurations ;
@@ -26,11 +23,6 @@ public enum DatabaseContainer {
26
23
{
27
24
mongodb .start ();
28
25
}
29
-
30
- public MongoClient mongoClient () {
31
- return MongoClients .create (new ConnectionString ("mongodb://" + host ()));
32
- }
33
-
34
26
public MongoDBDocumentManager get (String database ) {
35
27
Settings settings = getSettings (database );
36
28
MongoDBDocumentConfiguration configuration = new MongoDBDocumentConfiguration ();
You can’t perform that action at this time.
0 commit comments