You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by GitBox <gi...@apache.org> on 2019/06/13 17:19:12 UTC

[GitHub] [incubator-rya] ejwhite922 opened a new pull request #310: Rya 515 Upgraded mongo-java-driver to 3.10.2

ejwhite922 opened a new pull request #310: Rya 515 Upgraded mongo-java-driver to 3.10.2
URL: https://github.com/apache/incubator-rya/pull/310
 
 
   ## Description
   Upgraded the mongo-java-driver to 3.10.2 (the latest non-beta version) which supports MongoDB server versions from the 2.6 release through the 4.0 release.
   
   Replaced methods that were marked as deprecated and also switched `DBObject`/`BasicDBObject` usage to `Document`. Though `DBObject` isn't officially deprecated, `Document` supports the recommended `com.mongodb.client.MongoDatabase` and `com.mongodb.client.MongoCollection` classes, while `DBObject` is for the deprecated `com.mongodb.DB` and `com.mongodb.DBCollection` classes.
   
   Several integration tests were already failing before the upgrade. I fixed most of them and `@Ignored` one.  But running the build with `-Penable-it` will still randomly fail several integration tests attempting to setup Accumulo repositories which should be looked into in another ticket.
   
   ### Tests
   Ran unit tests.
   Built with integration tests. (`mvn clean install -Pgeoindexing -Pgiraph -Pbenchmark -Penable-it`)
   
   ### Links
   [Jira](https://issues.apache.org/jira/browse/RYA-515)
   
   ### Checklist
   - [ ] Code Review
   - [ ] Squash Commits
   
   #### People To Review
   @pujav65 
   @jdasch 
   @jessehatfield 
   @DLotts
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services