Parser does not parse correctly complex node properties
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TOSCA Parser |
New
|
Undecided
|
Unassigned |
Bug Description
Assume you have next node:
orchestra_
type: tosca.openstack
properties:
name_or_id: { get_input: compute_name }
rules:
- direction: 'ingress'
requirements:
- authorization_form: auth
And now as user i want to make it parametrized:
orchestra_
type: tosca.openstack
properties:
name_or_id: { get_input: compute_name }
rules:
- direction: { get_input: direction }
requirements:
- authorization_form: auth
Having the assumption that parser should recursively setup property values with TOSCA functions, but it appears, that parser is not doing such, just defining property with '{ get_input: direction }' string as value.
So, as it can be seen, property 'rule' is a property of 'list' type and parser should be aware of how to parse properties of type 'map' and 'list'.
Changed in tosca-parser: | |
assignee: | nobody → sudhakar kumar srivastava (sudhakar.srivastava) |
Changed in tosca-parser: | |
assignee: | sudhakar kumar srivastava (sudhakar.srivastava) → nobody |