Skip to content

Commit

Permalink
Address review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhashinee committed Jan 9, 2025
1 parent 354ec26 commit 2a5b752
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@
org.apache.poi.openxml4j.exceptions;version="${poi-ooxml.orbit.imp.pkg.version}",
org.apache.poi.ss.usermodel;version="${poi.orbit.imp.pkg.version}",
org.apache.commons.collections4;version="${commons-collections4.orbit.imp.pkg.version}",
com.mongodb;version="${mongodb-driver-sync.orbit.imp.pkg.version}",
com.mongodb;version="${mongodb-driver-sync.imp.pkg.version}",
org.wso2.micro.integrator.dataservices.sql.driver;version="${project.version}",
org.wso2.micro.integrator.dataservices.sql.driver.parser;version="${project.version}",
org.wso2.micro.integrator.dataservices.sql.driver.util;version="${project.version}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,9 @@
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoCursor;
import com.mongodb.client.MongoDatabase;
import com.mongodb.client.model.Accumulators;
import com.mongodb.client.model.Aggregates;
import com.mongodb.client.result.DeleteResult;
import com.mongodb.client.result.UpdateResult;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
Expand All @@ -36,7 +33,6 @@
import org.apache.olingo.server.api.uri.queryoption.OrderByItem;
import org.apache.olingo.server.api.uri.queryoption.OrderByOption;
import org.bson.Document;
import org.bson.conversions.Bson;
import org.bson.types.ObjectId;
import org.json.JSONObject;
import org.wso2.micro.integrator.dataservices.core.engine.DataEntry;
Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-sync</artifactId>
<version>${mongodb-driver-sync.orbit.version}</version>
<version>${mongodb-driver-sync.version}</version>
<exclusions>
<exclusion>
<groupId>org.graalvm.nativeimage</groupId>
Expand All @@ -988,12 +988,12 @@
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-core</artifactId>
<version>${mongodb-driver-sync.orbit.version}</version>
<version>${mongodb-driver-sync.version}</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>bson</artifactId>
<version>${mongodb-driver-sync.orbit.version}</version>
<version>${mongodb-driver-sync.version}</version>
</dependency>
<dependency>
<groupId>de.undercouch</groupId>
Expand Down Expand Up @@ -1808,8 +1808,8 @@

<carbon.registry.imp.pkg.version>0.0.0</carbon.registry.imp.pkg.version> <!-- todo remove this and use {carbon.kernel.imp.pkg.version} after registry bundles are corrected to export correct versions-->

<mongodb-driver-sync.orbit.version>4.9.1</mongodb-driver-sync.orbit.version>
<mongodb-driver-sync.orbit.imp.pkg.version>[4.0.0,6.0.0)</mongodb-driver-sync.orbit.imp.pkg.version>
<mongodb-driver-sync.version>4.9.1</mongodb-driver-sync.version>
<mongodb-driver-sync.imp.pkg.version>[4.0.0,6.0.0)</mongodb-driver-sync.imp.pkg.version>

<dataservices.version>4.4.107</dataservices.version>
<dataservices.imp.pkg.version>[4.3.0,5.0.0)</dataservices.imp.pkg.version>
Expand Down

0 comments on commit 2a5b752

Please sign in to comment.