deb-heat/heat
Steve Baker 1619c42bea Store clients in context
Having the Stack create the Clients object means that custom constraints
do not have access to the already created clients. This greatly
complicates test mocking, and results in unnecessarily created
constraint-scoped clients.

This change makes the Clients be created in RequestContext on demand.
Constraints use the Clients associated with the context.

Mocking client create calls is simplified, generally needing to
call _create once instead of MultipleTimes()

Change-Id: If67e2d6761003558b32909c4655fadb4d0630b86
2014-07-21 13:00:21 -04:00
..
api Merge "Implement events pagination, sorting and filtering" 2014-07-18 05:03:06 +00:00
cloudinit Remove translation from loguserdata 2014-06-01 17:45:46 +02:00
cmd Sync latest oslo.db code 2014-04-11 10:48:46 +03:00
common Store clients in context 2014-07-21 13:00:21 -04:00
db Merge "Implement events pagination, sorting and filtering" 2014-07-18 05:03:06 +00:00
doc Move resource doc generation to doc/source/ext 2013-11-13 15:21:04 +13:00
engine Store clients in context 2014-07-21 13:00:21 -04:00
locale Imported Translations from Transifex 2014-07-04 06:02:38 +00:00
openstack Port to oslo.messaging 2014-06-26 06:45:52 +02:00
rpc Merge "Implement events pagination, sorting and filtering" 2014-07-18 05:03:06 +00:00
scaling Use add_resource() to build autoscaling templates 2014-06-05 13:45:14 -04:00
tests Store clients in context 2014-07-21 13:00:21 -04:00
__init__.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
version.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00