heat/heat
Zane Bitter f94d76cb32 Generate placeholders for resource proxies before validation
Before validating resources, generate placeholder NodeData for them in the
StackDefinition. Currently, all attributes are given a value of None
(consistent with how the get_attr intrinsic functions substitute them when
the resource state indicates that the attributes are not valid now).
Reference IDs are generated as usual (since the logic for what to return
when the state indicates the data are not valid is contained in the
resource plugins).

In the long term, this should help us to remove the state-checking logic
from the intrinsic functions.

In the short term, this allows us to validate template data that is parsed
against the StackDefinition (rather than the Stack), since it gives us a
list of valid attribute names.

In the medium term, this should give us a place to substitute in more
sophisticated placeholder values to do better validation.

Change-Id: I154ff0cd019d279379886fccbd708cf0d39ce53f
2017-04-05 12:39:46 -04:00
..
api Remove log translations 2017-03-25 17:11:50 +08:00
cloudinit Validate that python3 is ready for loguserdata 2016-08-26 11:49:30 +00:00
cmd Remove log translations 2017-03-25 17:11:50 +08:00
common Remove log translations 2017-03-25 17:11:50 +08:00
db Remove log translations 2017-03-25 17:11:50 +08:00
engine Generate placeholders for resource proxies before validation 2017-04-05 12:39:46 -04:00
hacking Restrict use of iteritems, iterkeys and itervalues 2016-03-23 10:05:54 +00:00
httpd Remove log translations 2017-03-25 17:11:50 +08:00
locale Imported Translations from Zanata 2017-03-23 10:25:34 +00:00
objects Remove log translations 2017-03-25 17:11:50 +08:00
rpc Merge "Use exception_filter in RPC client" 2017-03-29 13:46:53 +00:00
scaling Remove log translations 2017-03-25 17:11:50 +08:00
tests Generate placeholders for resource proxies before validation 2017-04-05 12:39:46 -04:00
__init__.py Make import of oslo libraries namespaceless 2015-02-18 22:54:10 +01:00
version.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00