OpenStack Orchestration (Heat)
Go to file
Peter Razumovsky 4b5f296acc Replace self.properties.get on self.properties[]
Remove unnecessary using self.properties.get for more
clear code. Using properties.get(prop, default) causes
next issues:
1. properties.get(prop) if prop not in properties_schema
will return None instead of expected KeyError.
2. properties.get(prop, default) returns "default" value
if current properties is not presented in properties_schema.
So using self.properties.get() makes sense only when we plan
to use this property with default option in another resource,
which has not it in property schema.
This patch replaces this methods in resources/openstack folder.

Change-Id: I523eb3feacb0cb7a16a928a92896ce56188e376f
2015-05-13 16:24:12 +03:00
bin Merge "Use oslo.log in wsgi.py" 2015-03-25 12:54:31 +00:00
contrib Merge "Add remaining_executions attribute to OS::Mistral::CronTrigger" 2015-05-12 11:28:09 +00:00
doc Merge "changed heat dev docs to comply with conventions" 2015-05-08 08:54:19 +00:00
etc/heat heat-manage service list 2015-02-02 13:05:46 +05:30
heat Replace self.properties.get on self.properties[] 2015-05-13 16:24:12 +03:00
heat_integrationtests Update cirros version 2015-05-09 12:41:59 +05:30
rally-scenarios Add config file for performance gate job 2014-08-08 02:22:59 +04:00
tools changed heat dev docs to comply with conventions 2015-04-24 22:03:07 -04:00
.coveragerc Enabled source code coverage for contrib directory 2014-01-28 21:49:40 +08:00
.gitignore Use setuptools to install contrib plugins 2014-08-13 20:12:29 -05:00
.gitreview Update .gitreview for org move. 2012-12-02 17:46:15 +00:00
.testr.conf Add separate requirements.txt to integration tests 2015-04-01 09:02:13 +00:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:36 +00:00
HACKING.rst cleanup of hacking.rst heat doc 2015-04-28 16:47:07 -04:00
LICENSE Initial commit (basics copied from glance) 2012-03-13 21:48:07 +11:00
README.rst Merge "changed heat dev docs to comply with conventions" 2015-05-08 08:54:19 +00:00
babel.cfg Add setup.py and friends 2012-03-14 09:25:54 +11:00
config-generator.conf Move logging to use oslo_log library 2015-02-17 09:23:34 +00:00
install.sh Port to oslo.messaging 2014-06-26 06:45:52 +02:00
openstack-common.conf Don't use a different thread local store to oslo.log 2015-03-24 11:28:31 +10:00
pylintrc Directives to not use variable names that conflict with pdb 2012-03-20 07:16:16 -04:00
requirements.txt Merge "Move barbican client in main tree" 2015-05-12 10:36:50 +00:00
setup.cfg Move barbican client in main tree 2015-05-07 13:51:06 +02:00
setup.py Updated from global requirements 2014-05-09 02:42:01 +00:00
test-requirements.txt Updated from global requirements 2015-04-23 17:54:51 +00:00
tox.ini Run heat_integrationtests in parallel 2015-05-07 03:53:27 +00:00
uninstall.sh Add uninstall script for Heat 2012-06-23 22:41:30 -04:00