Use a graph model to translate tosca to target language
Currently the translation of TOSCA to the target HOT template is brute force iteration over the YAML representation of the TOSCA source. This makes for logic that is very rigid in generating the HOT resources, in that it incorporates deep conditional checks for processing. This blueprint proposes the use of a graph data structure to represent the relationships between all of the nodes in the TOSCA template. Currently there is a graph data structure in the tosca parser, but it is not incorporated into the translator. The goal here will be to leverage this existing graph data structure in the parser from the translation code, and to adjust it as needed.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Low
- Drafter:
- Julio Ruano
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Discussion
- Series goal:
- None
- Implementation:
- Not started
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Google doc covering the design thoughts behind this blueprint:
https:/
Deliverables for this module include the following:
- Updates to the core translation modules:
- tosca_translator, translate_inputs, translate_
use the tosca parser graph data structure. Also potentially hot_resource module