Activity log for bug #1593975

Date Who What changed Old value New value Message
2016-06-18 13:44:29 Denis Makogon bug added bug
2016-06-18 13:46:04 Denis Makogon description Assume that there's a node with property 'auth_url' and attribute 'auth_token', then it is necessary to put them into 'outputs' section of a template: outputs: auth_token: value: { get_attribute: [ authorization_form, auth_token ] } auth_token: value: { get_property: [ authorization_form, auth_url ] } But user did a mistake - he used the same name for both output items. TOSCA parser parses in a wrong way. For item 'auth_token' it creates Output object with string value equal to '{ get_property: [ authorization_form, auth_url ] }' So, there are two possible ways to resolve this issue: - abort on parsing saying output overriding is not allowed. - create two Output objects with correct TOSCA functions resolving and let user deal with it. Assume that there's a node with property 'auth_url' and attribute 'auth_token', then it is necessary to put them into 'outputs' section of a template:   outputs:     auth_token:       value: { get_attribute: [ authorization_form, auth_token ] }     auth_token:       value: { get_property: [ authorization_form, auth_url ] } But user did a mistake - he used the same name for both output items. TOSCA parser parses in a wrong way. For item 'auth_token' it creates Output object with string value equal to '{ get_property: [ authorization_form, auth_url ] }' This problem can be quickly overtaken by fixing output item names, and parser resolves everything correctly. So, there are two possible ways to resolve this issue:  - abort on parsing saying output overriding is not allowed.  - create two Output objects with correct TOSCA functions resolving and let user deal with it.
2016-06-22 09:50:28 Santhosh64 tosca-parser: assignee Santhosh64 (santhoshkumar-kondapalli)
2016-06-29 08:41:59 Santhosh64 tosca-parser: assignee Santhosh64 (santhoshkumar-kondapalli)
2016-06-29 08:42:04 Santhosh64 tosca-parser: assignee Santhosh64 (santhoshkumar-kondapalli)
2016-08-01 05:55:14 Santhosh64 tosca-parser: assignee Santhosh64 (santhoshkumar-kondapalli)
2016-08-31 07:43:53 SREELAKSHMI PENTA tosca-parser: assignee SREELAKSHMI PENTA (sreelakshmi-penta)
2016-09-01 06:07:13 OpenStack Infra tosca-parser: status New In Progress
2016-09-12 14:59:35 Sahdev Zala summary Incorrect outputs processing Incorrect inputs and outputs processing