heat/heat/common
Steve Baker 67f4f60815 Get db session from the context.
The aim is to use a single sqlalchemy session for an RPC request.

The context object passed to EngineAPI methods is actually an RpcContext
which contains the same data as the RequestContext. The @request_context
decorator turns this back into a RequestContext which can now have other
behaviours added to it.

RequestContext now has a lazy loaded session attribute.

Save calls on created entities need to be passed the shared session.

Change-Id: Ied4e66deaca205362b84fb698f75cc872886607d
2012-11-22 08:15:05 +13:00
..
__init__.py Remove openstack copy right assignment as we have not done that yet. 2012-03-15 09:36:51 +11:00
auth.py Make the keystone service type configurable 2012-09-27 11:49:48 +02:00
auth_token.py Pass the correct tenant for the service user 2012-10-22 12:25:27 +02:00
client.py Remove unused imports 2012-11-19 16:11:50 +11:00
config.py Remove unused imports 2012-11-19 16:11:50 +11:00
context.py Get db session from the context. 2012-11-22 08:15:05 +13:00
exception.py import gettext to fix db migration execution 2012-10-05 10:08:06 +01:00
policy.py Remove openstack copy right assignment as we have not done that yet. 2012-03-15 09:36:51 +11:00
utils.py Add missing logging imports 2012-11-19 16:13:15 +11:00
wsgi.py Remove unused statements/local assignments 2012-11-20 09:27:10 +11:00