GitHub user xmpy opened a pull request:
https://github.com/apache/metamodel/pull/86
METAMODEL-183: Upgrad MongoDB API and seperate MongoDB module into monâ¦
Take over @loorenzooo 's work. Thank you very much.
Besides loorenzooo's work, I also do following works:
1. Seperate the mongo module into mongo2 and mongo3
This work follows the discussion in this mail:
https://mail-archives.apache.org/mod_mbox/metamodel-dev/201511.mbox/%3ccakxzecgvsuunrhye9ahbcb_hz5gh3rnqhbhvuesx4f3dyxd...@mail.gmail.com%3E
metamodel
.......
|-- mongodb
|-- commons
|-- mongo2
|-- mongo3
2. replace all the DBObject by Document and DBObjectList by List<Document>
3. Enable write concern in mongo3 module
4. close MongoClient to escape warnings
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xmpy/metamodel xmpy_upgrade_mongodb_api
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/metamodel/pull/86.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 #86
----
commit 73a770ceefef4c8512e9d58612fb2a5dd0aa324f
Author: zhaoxm <[email protected]>
Date: 2016-01-08T08:12:13Z
METAMODEL-183:Upgrad MongoDB API and seperate MongoDB module into mongo2
and mongo3
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---