summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrabi <ramishra@redhat.com>2017-10-27 12:57:24 +0530
committerrabi <ramishra@redhat.com>2018-01-28 09:11:17 +0530
commit6d55417f80384ead56e176beec9e2fc4eb162d61 (patch)
treea14168ea189e69aaf669294ef92b1aebb55bc769 /bin
parent3057168f5ff38c934ace001bca7170357026f8c3 (diff)
downloadheat-6d55417f80384ead56e176beec9e2fc4eb162d61.tar.gz
Remove CloudWatch API
This patch removes the API, the next set of patches in the series would remove stack watch service and related WatchRule implementation. Change-Id: I8b0472be862907298c8da51f435b5d8b19610ec3 Partial-Bug: #1743707
Diffstat (limited to 'bin')
-rwxr-xr-xbin/heat-api-cloudwatch46
1 files changed, 0 insertions, 46 deletions
diff --git a/bin/heat-api-cloudwatch b/bin/heat-api-cloudwatch
deleted file mode 100755
index fc3129998..000000000
--- a/bin/heat-api-cloudwatch
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/env python
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-"""Heat cloudwatch API Server.
-
-This implements an approximation of the Amazon CloudWatch API and translates it
-into a native representation. It then calls the heat-engine via AMQP RPC to
-implement them.
-"""
-
-from oslo_log import log as logging
-
-
-LOG = logging.getLogger(__name__)
-
-LOG.warning('DEPRECATED: `heat-api-cloudwatch` script is deprecated. '
- 'Please use the system level heat binaries installed to '
- 'start any of the heat services.')
-
-import os
-import sys
-
-# If ../heat/__init__.py exists, add ../ to Python search path, so that
-# it will override what happens to be installed in /usr/(local/)lib/python...
-POSSIBLE_TOPDIR = os.path.normpath(os.path.join(os.path.abspath(sys.argv[0]),
- os.pardir,
- os.pardir))
-
-if os.path.exists(os.path.join(POSSIBLE_TOPDIR, 'heat', '__init__.py')):
- sys.path.insert(0, POSSIBLE_TOPDIR)
-
-from heat.cmd import api_cloudwatch
-
-api_cloudwatch.main()