deprecate ceilometer api
adds deprecation warning at ceilometer api startup, and updates documentation, as well as release notes. API is still in place, for now. Change-Id: Ib88957001de2a61f9625ca5584a2129216647841
This commit is contained in:
@@ -107,6 +107,8 @@ def load_app(conf):
|
|||||||
APPCONFIGS[configkey] = conf
|
APPCONFIGS[configkey] = conf
|
||||||
|
|
||||||
LOG.info("Full WSGI config used: %s", cfg_file)
|
LOG.info("Full WSGI config used: %s", cfg_file)
|
||||||
|
LOG.warning("Note: Ceilometer API is deprecated; use APIs from "
|
||||||
|
"Aodh (alarms), Gnocchi (metrics) and/or Panko (events).")
|
||||||
return deploy.loadapp("config:" + cfg_file,
|
return deploy.loadapp("config:" + cfg_file,
|
||||||
global_conf={'configkey': configkey})
|
global_conf={'configkey': configkey})
|
||||||
|
|
||||||
|
@@ -2,6 +2,15 @@
|
|||||||
V2 Web API
|
V2 Web API
|
||||||
============
|
============
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
The Ceilometer API is deprecated. Use the APIs from Aodh_ (alarms),
|
||||||
|
Gnocchi_ (metrics), and/or Panko_ (events).
|
||||||
|
|
||||||
|
.. _Aodh: http://docs.openstack.org/developer/aodh/
|
||||||
|
.. _Panko: http://docs.openstack.org/developer/panko/
|
||||||
|
|
||||||
|
|
||||||
Resources
|
Resources
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- Ceilometer API is deprecated. Use the APIs from Aodh (alarms),
|
||||||
|
Gnocchi (metrics), and/or Panko (events).
|
||||||
|
|
Reference in New Issue
Block a user