Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions crud/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,24 @@
<dependency>
<groupId>com.redhat.lightblue.mongo</groupId>
<artifactId>lightblue-mongo-test</artifactId>
<exclusions>
<exclusion>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo</artifactId>
<version>2.0.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo.download-and-extract</artifactId>
<version>2.0.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.redhat.lightblue.rest</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.mongodb.BasicDBObject;
import com.mongodb.DB;
import com.mongodb.Mongo;
import com.mongodb.MongoClient;
import com.redhat.lightblue.config.CrudConfiguration;
import com.redhat.lightblue.config.MetadataConfiguration;
import com.redhat.lightblue.metadata.EntityMetadata;
Expand Down Expand Up @@ -129,7 +129,7 @@ public void onProcessed() {

private static MongodExecutable mongodExe;
private static MongodProcess mongod;
private static Mongo mongo;
private static MongoClient mongo;
private static DB db;

static {
Expand Down Expand Up @@ -166,7 +166,7 @@ public void onProcessed() {
// try again, could be killed breakpoint in IDE
mongod = mongodExe.start();
}
mongo = new Mongo(IN_MEM_CONNECTION_URL);
mongo = new MongoClient(IN_MEM_CONNECTION_URL);

MongoConfiguration config = new MongoConfiguration();
// disable ssl for test (enabled by default)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ along with this program. If not, see <http://www.gnu.org/licenses />.
<maven.compiler.verbose>true</maven.compiler.verbose>

<lightblue.core.version>2.17.0</lightblue.core.version>
<lightblue.mongo.version>1.34.0</lightblue.mongo.version>
<lightblue.mongo.version>1.35.1-SNAPSHOT</lightblue.mongo.version>
<lightblue.ldap.version>1.11.0</lightblue.ldap.version>
<lightblue.audithook.version>1.10.0</lightblue.audithook.version>
<lightblue.notificationhook.version>0.1.3</lightblue.notificationhook.version>
Expand Down