-
Bug
-
Resolution: Not a Bug
-
Medium
-
Beijing Release
-
None
-
SDC Sprint 9
In JTOSCA Validation; ToscaTemplate._getAllCustomDefs method recursivley calls itself for loading the definitions from import files. This is not working for cases where some of the imported Yaml files in MainServiceTemplate.yaml are importing other files.
For example;
"MainServiceTemplate.yaml" -> Imports ->"Definition/groups.yaml"
"Definition/groups.yaml" -> Imports -> "nodes.yaml".
The loading of nodes.yaml in such case is failing because of relative path of this file is not same as MainServiceTeamplate.yaml.
Observation: For the cases where all individual Yaml files belonging to once CSAR are being passed one by one in input; loading of import definitions doesn't seem necessary.
- is blocked by
-
SDC-666 Library Import feature is ignoring multiple imports in a file and loading only the last one in sequence
- Closed