heat/heat/tests/engine
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
..
service Validate property values in nested stacks again 2017-03-31 15:57:56 -04:00
__init__.py Split engine service test case 2015-04-20 10:19:58 -04:00
test_check_resource.py Generate placeholders for resource proxies before validation 2017-04-05 12:39:46 -04:00
test_dependencies.py Use more specific asserts in tests 2016-11-22 08:12:35 +01:00
test_engine_worker.py Remove db.api wrapper 2016-12-13 09:40:29 +01:00
test_node_data.py Add a NodeData class to roll up resource data 2017-02-24 10:10:26 -05:00
test_plugin_manager.py Move core engine related unit tests to tests/engine 2015-07-21 17:37:20 +05:30
test_resource_type.py Use pydoc for formatting docstrings 2017-03-28 15:36:53 +00:00
test_scheduler.py Use more specific asserts in tests 2016-11-22 08:12:35 +01:00
test_sync_point.py Convergence: basic framework for cancelling workers 2016-09-10 09:22:36 +02:00
tools.py Sleep between check_resource calls 2017-03-13 15:28:20 +00:00