heat-translator/translator/tests
dineshbhor fd75f0c5de Fix 'Placement' policies not translated
Some policies derived from standard policies are translated
by base policy translator. For example, a policy which has
`tosca.policies.tacker.Alarming` type derived from
`tosca.policies.Monitoring` type is translated by a translator to
`tosca.policies.Monitoring` type.

A policy which has a type derived from tosca.policies.Placement
doesn't seems to be translated by a translator to
`tosca.policies.Placement`.

This patch fixes this issue by adding the `tosca.policies.Placement`
specific check while translating nodetemplates.

This policy translation support is required to implement below
tacker blueprint:
https://blueprints.launchpad.net/tacker/+spec/vdu-affinity-policy

Closes-Bug: #1755433
Change-Id: Ib265ac3add18027c91a601140a4f03a661603615
2018-05-30 01:52:36 -07:00
..
data Fix 'Placement' policies not translated 2018-05-30 01:52:36 -07:00
__init__.py Implement TOSCA Block Storage 2014-08-15 08:48:10 -05:00
base.py Implement TOSCA Block Storage 2014-08-15 08:48:10 -05:00
test_conf.py Allow for dynamic class loading of target types 2015-09-28 12:09:02 -05:00
test_shell.py Provide a specific stack_name when deploy a template use heat-translator 2016-08-31 13:53:49 +00:00
test_template.py Update code to use tosca-parser 0.4.0 2016-02-04 15:53:27 -08:00
test_tosca_hot_translation.py Fix 'Placement' policies not translated 2018-05-30 01:52:36 -07:00
test_utils.py Enable deployment of CSAR with relative path references 2016-10-13 09:36:15 -04:00