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:
Yarko Tymciurak 2016-11-14 13:07:19 -06:00
parent b559e400db
commit 6616a71400
3 changed files with 16 additions and 0 deletions

View File

@ -107,6 +107,8 @@ def load_app(conf):
APPCONFIGS[configkey] = conf
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,
global_conf={'configkey': configkey})

View File

@ -2,6 +2,15 @@
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
=========

View File

@ -0,0 +1,5 @@
---
deprecations:
- Ceilometer API is deprecated. Use the APIs from Aodh (alarms),
Gnocchi (metrics), and/or Panko (events).