heat/heat/engine
Paul Bourke 73fd6c3cbb Deprecate 'attachments' in favor of 'attachments_list'
The 'attachments' attribute of OS::Cinder::Volume is being processed by
Heat as a string rather than the native list of dicts that come from
Cinder. This makes it hard to consume the data downstream.

This change marks the 'attachments' attribute deprecated in the pike
release in favor of 'attachments_list', which has the correct type of LIST.

An example of where this change is useful is in python-openstackclient;
using the new attribute changes the output of
'openstack stack output show mystack' from:

  ...
  output_value:
    - u"[{u'server_id': u'0f5731c1-da17-4209-a2ef-270c7056f9a3', ... }]"
  ...

to:

  ...
  output_value:
    - attached_at: '2017-03-31T14:05:28.000000'
    - attachment_id: 19436dc5-233d-49cc-a719-f6a92bff466c
    ...
  ...

Change-Id: I52746f87a3872b18e7ae9a7296d6abd2c12c8b9a
Closes-Bug: #1679087
2017-04-12 10:41:28 +01:00
..
cfn Move CFN pseudo functions out of Parameters base class 2017-01-27 15:24:44 -06:00
clients Merge "Add constraint for cluster template" 2017-04-07 02:47:32 +00:00
constraint New common constraint 'Expiration' 2016-08-01 12:43:42 +03:00
hot Merge "Use a sentinel to indicate when all attributes are required" 2017-04-05 14:26:57 +00:00
notification Trivial:Standardize the output format of 'help' in some files 2016-09-21 14:12:27 +08:00
resources Deprecate 'attachments' in favor of 'attachments_list' 2017-04-12 10:41:28 +01:00
__init__.py Do not initialize anything during import phase 2013-04-24 10:03:06 -07:00
api.py Fix format_stack_preview for py3 2017-04-05 10:48:43 +05:30
attributes.py Merge "Use a sentinel to indicate when all attributes are required" 2017-04-05 14:26:57 +00:00
check_resource.py Remove log translations 2017-03-25 17:11:50 +08:00
conditions.py Allows condition name using boolean or function 2016-09-12 21:40:06 -04:00
constraints.py Remove log translations 2017-03-25 17:11:50 +08:00
dependencies.py Use __slots__ for dependencies.Node 2016-12-01 15:35:15 -05:00
environment.py Use pydoc for formatting docstrings 2017-03-28 15:36:53 +00:00
event.py Fix i18n issue in event.py 2017-01-26 14:53:39 +00:00
function.py Use a sentinel to indicate when all attributes are required 2017-02-24 10:19:21 -05:00
lifecycle_plugin.py Fix garbled docstrings 2015-11-10 11:12:36 -05:00
node_data.py Add a NodeData class to roll up resource data 2017-02-24 10:10:26 -05:00
output.py Return error with path in function validate 2016-09-22 16:31:52 +03:00
parameter_groups.py Get rid of bogus debug logging in parameter groups 2015-12-04 19:56:56 -05:00
parameters.py Move CFN pseudo functions out of Parameters base class 2017-01-27 15:24:44 -06:00
parent_rsrc.py Separate management of parent resource into separate class 2017-02-24 10:19:21 -05:00
plugin_manager.py Remove log translations 2017-03-25 17:11:50 +08:00
properties.py Add full path for Property 2017-02-20 12:57:59 +04:00
properties_group.py Initial PropertiesGroup implementation 2016-11-07 14:29:17 +03:00
resource.py Merge "Use a sentinel to indicate when all attributes are required" 2017-04-05 14:26:57 +00:00
rsrc_defn.py Fix using parent_name for Properties 2017-02-20 12:45:45 +04:00
scheduler.py Remove log translations 2017-03-25 17:11:50 +08:00
service.py Validate property values in nested stacks again 2017-03-31 15:57:56 -04:00
service_software_config.py Remove log translations 2017-03-25 17:11:50 +08:00
service_stack_watch.py Error log expression. 2017-03-28 13:16:21 +08:00
software_config_io.py Add a replace_on_change option to the SW Config input schema 2016-08-18 12:57:54 -04:00
stack.py Merge "Use a StackDefinition to store the stack definition" 2017-04-05 14:21:35 +00:00
stack_lock.py Remove log translations 2017-03-25 17:11:50 +08:00
status.py Define resource actions/statuses in a separate class 2017-02-24 10:19:21 -05:00
stk_defn.py Use a StackDefinition to store the stack definition 2017-02-24 10:19:21 -05:00
support.py Non-destructive upgrade for deprecated resources 2016-09-02 13:09:11 +08:00
sync_point.py Fix some spelling mistakes in heat as follows: 2016-06-23 12:39:48 +08:00
template.py Ensure cached conditions match stack 2016-09-12 21:26:08 -04:00
template_common.py Allows condition name using boolean or function 2016-09-12 21:40:06 -04:00
template_files.py Remove db.api wrapper 2016-12-13 09:40:29 +01:00
timestamp.py Fix garbled docstrings 2015-11-10 11:12:36 -05:00
translation.py Add "Resolve" rule for Translation 2017-03-03 17:02:31 +04:00
update.py Remove log translations 2017-03-25 17:11:50 +08:00
watchrule.py Remove log translations 2017-03-25 17:11:50 +08:00
worker.py Remove log translations 2017-03-25 17:11:50 +08:00