Skip to content

Commit e33bdef

Browse files
committed
removes mongodb async api
1 parent 2584d1a commit e33bdef

File tree

8 files changed

+1
-697
lines changed

8 files changed

+1
-697
lines changed

mongodb-driver/pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<description>The Eclipse JNoSQL communication layer, Diana, implementation to MongoDB</description>
2828

2929
<properties>
30-
<monbodb.driver>3.12.0</monbodb.driver>
30+
<monbodb.driver>3.12.3</monbodb.driver>
3131
</properties>
3232
<dependencies>
3333
<dependency>
@@ -45,10 +45,5 @@
4545
<artifactId>mongo-java-driver</artifactId>
4646
<version>${monbodb.driver}</version>
4747
</dependency>
48-
<dependency>
49-
<groupId>org.mongodb</groupId>
50-
<artifactId>mongodb-driver-async</artifactId>
51-
<version>${monbodb.driver}</version>
52-
</dependency>
5348
</dependencies>
5449
</project>

mongodb-driver/src/main/java/org/eclipse/jnosql/diana/mongodb/document/MongoDBDocumentCollectionManagerAsync.java

Lines changed: 0 additions & 219 deletions
This file was deleted.

mongodb-driver/src/main/java/org/eclipse/jnosql/diana/mongodb/document/MongoDBDocumentCollectionManagerAsyncFactory.java

Lines changed: 0 additions & 46 deletions
This file was deleted.

mongodb-driver/src/main/java/org/eclipse/jnosql/diana/mongodb/document/MongoDBDocumentConfigurationAsync.java

Lines changed: 0 additions & 92 deletions
This file was deleted.

mongodb-driver/src/test/java/org/eclipse/jnosql/diana/mongodb/document/ManagerFactorySupplier.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ public MongoDBDocumentCollectionManager get(String database) {
4444
return factory.get(database);
4545
}
4646

47-
public MongoDBDocumentCollectionManagerAsync getAsync(String database) {
48-
Settings settings = getSettings();
49-
MongoDBDocumentConfigurationAsync configuration = new MongoDBDocumentConfigurationAsync();
50-
MongoDBDocumentCollectionManagerAsyncFactory factory = configuration.get(settings);
51-
return factory.getAsync(database);
52-
}
5347

5448
private Settings getSettings() {
5549
Map<String,Object> settings = new HashMap<>();

0 commit comments

Comments
 (0)