Add deprecation warnings for V1 API

Add warnings to the documentation for users and to the
source for developers.

Change-Id: Ic4695a8d1e4d2bc2d53b0bb69806c933f1b672aa
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
This commit is contained in:
Doug Hellmann 2013-03-11 16:02:20 -04:00
parent d4eb73682c
commit 13c0c40961
2 changed files with 14 additions and 0 deletions

View File

@ -18,6 +18,15 @@
"""Blueprint for version 1 of API.
"""
#############################################################################
#############################################################################
#
# NOTE(dhellmann): The V1 API is being deprecated during Havana, and
# as such it is feature-frozen. Only make bug-fix changes in this file.
#
#############################################################################
#############################################################################
# [ ] / -- information about this version of the API
#
# [ ] /extensions -- list of available extensions

View File

@ -2,5 +2,10 @@
V1 Web API
============
.. warning::
The V1 API is being deprecated during the Havana development
cycle. Please use the V2 API instead.
.. autoflask:: ceilometer.api.v1.app:app
:undoc-static: