heat-translator/translator
Hiroo Kitamura 2c94431c0d Fix processing related to required properties
In the current UT testcase and yaml, there are several cases where
the required property of policy is insufficient or the definition
part is incorrect.
In addition, there is a bug in the code that has the translation
logic under 'translator/hot/tosca/'.
This patch fixes these translation logic codes, testcase and yaml.

Among the fixed yaml files, the following has a line feed code of CRLF,
so it has been modified to LF.

* translator/tests/data/autoscaling/tosca_cluster_autoscaling.yaml
* translator/tests/data/custom_types/senlin_cluster_policies.yaml
* translator/tests/data/nfv/test_tosca_nfv_autoscaling_with_params.yaml

In addition, NOTE description is added for
'translator/hot/tosca/tosca_policies_monitoring.py',
which is one of the translation logic codes.

Closes-Bug: #1918360
Change-Id: Ib9dec61007db5d354eaca86000ab3bcf6744a838
2021-03-10 11:52:49 +09:00
..
common Remove six support 2020-12-11 17:07:14 +00:00
conf Remove six support 2020-12-11 17:07:14 +00:00
container/docker Add sample dockerfile to build translator container 2017-03-09 11:51:02 -08:00
custom Accept defined unknown node types if they inherit a known TOSCA root type 2016-01-25 17:19:16 +01:00
hot Fix processing related to required properties 2021-03-10 11:52:49 +09:00
osc Use unittest.mock instead of third party mock 2020-04-18 16:09:09 -05:00
tests Fix processing related to required properties 2021-03-10 11:52:49 +09:00
__init__.py Fix installation package name 2015-05-26 19:08:55 +00:00
shell.py Remove six support 2020-12-11 17:07:14 +00:00