GitHub user DLotts opened a pull request:
https://github.com/apache/incubator-rya/pull/87
RYA-169 MongoRya DAO/Examples fixed
### Description
>What Changed?
Removed a redundant method and call in RyaSailFactory to get/create a Mongo
client/connection. Mongo should only have one client per JVM. So the
MongoConnectorFactory is used.
Credentials are now optional for MongoDB.
### Tests
>Coverage?
MongoRyaDirectExample.java runs without error.
### Links
[Jira RYA-169](https://issues.apache.org/jira/browse/RYA-169)
### Checklist
- [ ] Code Review
- [x] Squash Commits
People To Reivew
isper3at
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/DLotts/incubator-rya RYA-169_MongoExamples
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-rya/pull/87.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #87
commit 00d2cb8085ed1b7a17a758365486f64845a8b268
Author: isper3at
Date: 2016-09-06T18:03:49Z
RYA-169_MongoExamples
Removed updateMongoConfig() from RyaSailFactory, used MongoConnectorFactory.
Credentials are now optional for MongoDB.
Removed null checks for credentials.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---