heat/heat/tests/openstack
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
..
aodh Fix using parent_name for Properties 2017-02-20 12:45:45 +04:00
barbican Support 'conditions' section for templates 2016-08-03 09:17:31 +08:00
cinder Deprecate 'attachments' in favor of 'attachments_list' 2017-04-12 10:41:28 +01:00
designate Add designate recordset support 2017-01-09 09:36:45 +05:30
glance Unit tests: Don't use ResourceDefinition as cfn snippet 2016-10-14 16:48:56 -04:00
heat Use exception_filter in RPC client 2017-03-27 14:38:53 -04:00
keystone Merge "Add attributes schema for OS::Keystone::User" 2017-03-21 12:45:35 +00:00
magnum Add constraint for cluster template 2017-04-06 17:31:44 -05:00
manila manila resources observe reality implementation 2017-02-10 13:24:28 +04:00
mistral Add a NodeData class to roll up resource data 2017-02-24 10:10:26 -05:00
monasca Use _show_resource() of super class 2016-12-27 16:24:56 +08:00
neutron Use mock instead for network tests 2017-03-28 15:26:28 +08:00
nova Merge "Delete internal ports when detach them" 2017-04-06 03:50:08 +00:00
sahara sahara resources observe reality implementation 2017-02-10 13:06:42 +04:00
senlin Add attribute 'collect' to senlin cluster 2017-01-25 08:23:07 +00:00
swift Merge "Use keystone session with clients" 2017-03-29 08:16:44 +00:00
trove OS::Trove::Instance observe reality implementation 2017-03-23 16:50:46 +04:00
zaqar Unit tests: Don't mock client_plugin for Zaqar subscription 2017-01-12 13:02:02 -05:00
__init__.py Enable some unit tests back 2015-02-03 10:20:16 +08:00