Projects tigase _server tigase-mongodb Issues #16
Update MongoDB driver to version 3.2 or newer (#16)
Andrzej Wójcik (Tigase) opened 9 years ago
Due Date
2016-03-20

Update MongoDB driver to version 3.2 or newer for Tigase MongoDB project 1.2.0-SNAPSHOT which should be part of Tigase XMPP Server 7.2.0-SNAPSHOT.

During this driver update it is required to update code to work with new API for MongoDB driver.

Andrzej Wójcik (Tigase) commented 9 years ago

I updated driver for MongoDB and changed code to use new API as old one was deprecated and scheduled for removal in near future.

I verified changes done in this implementations of repositories using test cases to ensure that new implementations works correctly and return same results as in older version.

Joan Pujol commented 9 years ago

Any possibility to backport this an include in Tigase 7.1.0?

I've looked at changes and it seems a safe port, isn't it?

I think that it will be nice because I've you want to do custom modules that use mongoDB it's good to be able to use the new driver without having to create another connection pool.

Andrzej Wójcik (Tigase) commented 9 years ago

As I was working on port I found that in some cases I needed to add some parameters not needed in pervious versions of MongoDB driver. I checked new implementation however this is rather not well tested solution at this point and due to that I do not think it should be backported to 7.1.0 as 7.1.0 is already being prepared for being released.

As I check, I think you should be able to use newer driver with old version of Tigase MongoDB however it will use deprecated API in MongoDB driver.

issue 1 of 1
Type
Task
Priority
Normal
Assignee
RedmineID
3951
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-mongodb#16
Please wait...
Page is in error, reload to recover