Merge "deprecate db2 nosql driver"
This commit is contained in:
commit
66458813bc
@ -64,11 +64,6 @@ F: publisher/, transformer/, pipeline.py
|
||||
|
||||
== storage ==
|
||||
|
||||
-- DB2 --
|
||||
M: Tong Li (litong) <litong01@us.ibm.com>
|
||||
S: Maintained
|
||||
F: storage/impl_db2.py
|
||||
|
||||
-- HBase --
|
||||
M:
|
||||
S: Orphan
|
||||
|
@ -136,6 +136,12 @@ def get_connection(url, namespace):
|
||||
# SqlAlchemy connections specify may specify a 'dialect' or
|
||||
# 'dialect+driver'. Handle the case where driver is specified.
|
||||
engine_name = connection_scheme.split('+')[0]
|
||||
if engine_name == 'db2':
|
||||
import warnings
|
||||
warnings.simplefilter("always")
|
||||
import debtcollector
|
||||
debtcollector.deprecate("The DB2nosql driver is no longer supported",
|
||||
version="Liberty", removal_version="N*-cycle")
|
||||
# NOTE: translation not applied bug #1446983
|
||||
LOG.debug('looking for %(name)r driver in %(namespace)r',
|
||||
{'name': engine_name, 'namespace': namespace})
|
||||
|
@ -48,5 +48,4 @@ MongoDB Yes Yes Yes
|
||||
MySQL Yes Yes Yes
|
||||
PostgreSQL Yes Yes Yes
|
||||
HBase Yes Yes, except groupby Yes
|
||||
DB2 Yes Yes Yes
|
||||
================== ============================= =================== ======
|
||||
|
@ -29,9 +29,8 @@ services. You may use one of the listed database backends below to store
|
||||
Ceilometer data.
|
||||
|
||||
.. note::
|
||||
Please notice, MongoDB (and some other backends like DB2 and HBase)
|
||||
require pymongo_ to be installed on the system. The required minimum
|
||||
version of pymongo is 2.4.
|
||||
Please notice, MongoDB requires pymongo_ to be installed on the system. The
|
||||
required minimum version of pymongo is 2.4.
|
||||
..
|
||||
|
||||
|
||||
@ -104,17 +103,6 @@ HBase
|
||||
[database]
|
||||
connection = hbase://hbase-thrift-host:9090
|
||||
|
||||
DB2
|
||||
---
|
||||
|
||||
DB2 installation should follow fresh IBM DB2 NoSQL installation docs.
|
||||
|
||||
To use DB2 as the storage backend, change the 'database' section in
|
||||
ceilometer.conf as follows::
|
||||
|
||||
[database]
|
||||
connection = db2://username:password@host:27017/ceilometer
|
||||
|
||||
|
||||
.. _HappyBase: http://happybase.readthedocs.org/en/latest/index.html#
|
||||
.. _MongoDB: http://www.mongodb.org/
|
||||
|
Loading…
x
Reference in New Issue
Block a user