~ubuntu-branches/ubuntu/trusty/heat/trusty

« back to all changes in this revision

Viewing changes to heat/api/openstack/v1/__init__.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Chuck Short, Yolanda Robla
  • Date: 2013-12-05 21:17:37 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20131205211737-7yg5orrs4wtgwyes
Tags: 2014.1~b1-0ubuntu1
[ Chuck Short ]
* New upstream release.
* debian/control:
  + Open icehouse release.
  + Dropped python-argparse, python-qpid, python-noseexcover,
    python-nose, and python-pycryptopp
  + Add versioned depends for python-pbr.
  + Add python-testscenarios as a build dependency.
* debian/patches/default-sqlite.patch: Dropped no longer needed.

[ Yolanda Robla ]
* debian/control: Added python-heatclient as a build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from heat.api.openstack.v1 import resources
20
20
from heat.api.openstack.v1 import events
21
21
from heat.api.openstack.v1 import actions
 
22
from heat.api.openstack.v1 import build_info
22
23
from heat.common import wsgi
23
24
 
24
25
from heat.openstack.common import log as logging
36
37
        self.conf = conf
37
38
        mapper = routes.Mapper()
38
39
 
 
40
        # Stacks
39
41
        stacks_resource = stacks.create_resource(conf)
40
 
 
41
42
        with mapper.submapper(controller=stacks_resource,
42
43
                              path_prefix="/{tenant_id}") as stack_mapper:
43
44
            # Template handling
164
165
                              action="action",
165
166
                              conditions={'method': 'POST'})
166
167
 
 
168
        # Info
 
169
        info_resource = build_info.create_resource(conf)
 
170
        with mapper.submapper(controller=info_resource,
 
171
                              path_prefix="/{tenant_id}") as info_mapper:
 
172
 
 
173
            info_mapper.connect('build_info',
 
174
                                '/build_info',
 
175
                                action='build_info',
 
176
                                conditions={'method': 'GET'})
 
177
 
167
178
        super(API, self).__init__(mapper)