heat/heat
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
..
api Merge "WatchRule refer to stack by id not name" 2012-11-19 22:51:58 +00:00
cloudinit Fix cloud-init runcmd to be exec friendly 2012-11-07 15:59:14 -05:00
common Get db session from the context. 2012-11-22 08:15:05 +13:00
db Get db session from the context. 2012-11-22 08:15:05 +13:00
engine Get db session from the context. 2012-11-22 08:15:05 +13:00
metadata heat metadata : Remove all non-waitcondition related logic 2012-10-26 17:36:02 +01:00
openstack heat align openstack/common with latest oslo-incubator 2012-11-13 08:47:44 +00:00
testing Avoid test runner crash when we have no tty 2012-09-18 13:32:31 +02:00
tests Use a real context for tests. 2012-11-22 08:13:33 +13:00
__init__.py Sync cfg from openstack-common 2012-03-16 11:49:46 -04:00
boto_client.py heat : allow boto_client to accept credentials 2012-09-11 19:07:00 +01:00
boto_client_cloudwatch.py heat : boto_client_cloudwatch allow credentials override 2012-10-16 14:18:09 +01:00
client.py Replace KeyStoneCreds params with X-Auth headers. 2012-11-07 13:00:26 +13:00
cloudformation.py Replace KeyStoneCreds params with X-Auth headers. 2012-11-07 13:00:26 +13:00
utils.py heat : fix glanceclient deprecation warning 2012-09-26 15:27:15 +01:00
version.py Bump version to v8 2012-10-23 11:49:47 +02:00