Create new error message for unsupported TOSCA types
Heat-Translator should provide a more user friendly error message for all the TOSCA types it does not or can not support translation. For example, if a type 'tosca.
At high level, the work includes,
1. Create a list or a text file with list of TOSCA types or a particular TOSCA entities that are not supported for translation at a given point of time. Create a similar list for TOSCA types or a particular TOSCA entity that can not be translated in to HOT.
2. Create a new error type, something like, UnsupportedType
3. When attempt to translate types provided in a TOSCA service template, verify that they are valid types using TOSCA definition file of TOSCA Parser. If it's valid, check if they are unsupported or can not be translated. If so, raise UnsupportedType
NOTE: In future, if we decide to 'pass' such an unsupported type without translation, instead of error, create UnsupportedType
For a somewhat similar work in tosca-parser, refer to the, https:/
Blueprint information
- Status:
- Not started
- Approver:
- Sahdev Zala
- Priority:
- Medium
- Drafter:
- Sahdev Zala
- Direction:
- Approved
- Assignee:
- Nandini Vemula
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Addressed by: https:/
Added Support for Unsupported Types
Gerrit topic: https:/