Files
aodh/tests/storage/test_impl_mongodb.py
Alexei Kornienko 3ad779edf5 Refactored impl_mongodb to use full connection url
Host parameter can be a full URI see:
http://docs.mongodb.org/manual/reference/connection-string/

This allows to set replicaSet config and other options in the connection
URL without the need to have additional config values

Replaced deprecated pymongo.Connection with pymongo.MongoClient

Change-Id: I1aea1d8a48dc1bec717e7d1fbe256e2887e27039
2013-07-25 17:38:50 +03:00

8.9 KiB