from heat.cfn_client import boto_client_cloudwatch as heat_client
from heat.version import version_info as version
-from heat.common import config
from heat.common import exception
from heat.cfn_client import utils
return handle_stack_method
-def identified_resource(handler):
- '''
- Decorator for a handler method that passes a resource identifier in place
- of the various path components.
- '''
- @identified_stack
- @wraps(handler)
- def handle_stack_method(controller, stack_identity,
- resource_name, **kwargs):
- resource_identity = identifier.ResourceIdentifier(stack_identity,
- resource_name)
- return handler(controller, req, dict(resource_identity), **kwargs)
-
- return handle_stack_method
-
-
def make_url(req, identity):
'''Return the URL for the supplied identity dictionary.'''
try:
Client implementation based on the boto AWS client library
"""
+import sys
+
from heat.openstack.common import log as logging
logger = logging.getLogger(__name__)
Client implementation based on the boto AWS client library
"""
+import sys
+
from heat.openstack.common import log as logging
logger = logging.getLogger(__name__)
# License for the specific language governing permissions and limitations
# under the License.
+import exception
+
import eventlet
from keystoneclient.v2_0 import client as kc
from oslo.config import cfg
from heat.common import template_format
from heat.engine import resources
from heat.engine.resources import instance as instances
-from heat.engine import resources
from heat.engine import service
from heat.openstack.common.importutils import try_import
import heat.db.api as db_api