BryanHunt / eMongo

MongoDB services for OSGi Environments
3 stars 2 forks source link

Update to MongoDB 3.0 API #1

Open BryanHunt opened 9 years ago

BryanHunt commented 9 years ago

The eMongo code needs to be updated to use the new MongoDB 3.0 API. This will require combining the database provider and client provider as authentication has been moved from the database API to the client API. The new Document API should be used in place of the old DBObject API.

BryanHunt commented 8 years ago

This is being worked in the mongo3 branch. The code is working, but may need more work on authentication. I may set up the client provider to put the authentication on the database URI in which case, the database provider would go away. It is not clear yet if it is better to have a single client provider with all possible authentications, or multiple client providers each with an authentication for a single database. I'll try to ask the MongoDB folks if there are any performance considerations for having multiple client instances.

The unit tests are working, but the integration tests still need to be re-worked.

This branch also moves development to Bndtools.