OpenStack Orchestration (Heat)
Go to file
Steve Baker de8b071acf 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: If22f3258aa9ff906bd60977cc9c2752f18c11c65
2014-07-18 14:02:36 +12:00
bin Merge "Stop overriding CONF.default_log_levels per binary" 2014-07-17 10:41:31 +00:00
contrib Merge "Implement keystone client plugin" 2014-07-17 23:38:49 +00:00
doc Fix typo in HOT template guide 2014-07-08 15:31:49 -05:00
etc/heat Support using domain_name instead of domain_id 2014-07-02 13:30:28 -07:00
heat Store clients in context 2014-07-18 14:02:36 +12:00
tools Port to oslo.messaging 2014-06-26 06:45:52 +02:00
.coveragerc Enabled source code coverage for contrib directory 2014-01-28 21:49:40 +08:00
.gitignore Add heat.sqlite in git ignore list 2014-01-25 13:58:21 +08:00
.gitreview Update .gitreview for org move. 2012-12-02 17:46:15 +00:00
.testr.conf Restructure contrib/ directories 2014-03-03 10:49:28 -05:00
CONTRIBUTING.rst Fix the section name in CONTRIBUTING.rst 2014-06-22 01:36:26 -06:00
HACKING.rst Fixed the reference to 'Creating Unit Tests' in HACKING.rst 2014-06-22 02:00:59 -06:00
LICENSE Initial commit (basics copied from glance) 2012-03-13 21:48:07 +11:00
MANIFEST.in Delete deprecated docs/ directory 2013-10-24 11:03:11 -10:00
README.rst Added links to missing integration information 2014-06-22 01:21:35 -06:00
babel.cfg Add setup.py and friends 2012-03-14 09:25:54 +11:00
install.sh Port to oslo.messaging 2014-06-26 06:45:52 +02:00
openstack-common.conf Port to oslo.messaging 2014-06-26 06:45:52 +02:00
pylintrc Directives to not use variable names that conflict with pdb 2012-03-20 07:16:16 -04:00
requirements.txt Merge "Support loading constraints as stevedore extensions" 2014-07-04 23:10:07 +00:00
run_tests.sh Run pep8 check in run_tests.sh as in tox 2014-03-29 23:47:20 +02:00
setup.cfg Implement keystone client plugin 2014-07-17 10:16:14 +12:00
setup.py Updated from global requirements 2014-05-09 02:42:01 +00:00
test-requirements.txt Updated from global requirements 2014-07-02 23:54:00 +00:00
tox.ini Fix H201 violations and re-enable gating 2014-07-11 10:17:38 +08:00
uninstall.sh Add uninstall script for Heat 2012-06-23 22:41:30 -04:00