Hello SDC team,

We are facing one issue with sdc-tosca (v 1.3.5) parser following are the 
details:

For the node type:
node_templates:
    VL OVERLAYTUNNEL 0:
      …….
      properties:
        site2_description:
          get_input: vloverlaytunnel0_site2_description
        …..

If we perform operation to get the value from such property [1] it return value 
as “null”  . I am expecting it will return object type “GetInput”.

"site2_description" -> "Property{name='site2_description', value=null, 
schema=org.onap.sdc.toscaparser.api.elements.constraints.Schema@7c962be8<mailto:schema=org.onap.sdc.toscaparser.api.elements.constraints.Schema@7c962be8>,
 customDef={tosca.nodes.SoftwareComponent={derived_from=tosca.nodes.Root, 
properties={component_version={type=version, required=false}, 
admin_credential={type=tosca.datatypes.Credential, required=false}}, 
requirements=[{host={capability=tosca.capabilities.Container, 
node=tosca.nodes.Compute, relationship=tosca.relationships.HostedOn}}]}, 
tosca.nodes.Root={description=The TOSCA Node Type all other TOSCA base Node 
Types derive from, attributes={tosca_id={type=string}, 
tosca_name={type=string}, state={type=string}}, 
capabilities={feature={type=tosca.capabilities.Node}}, 
requirements=[{dependency={capability=tosca.capabilities.Node, 
node=tosca.nodes.Root, relationship=tosca.relationships.DependsOn, 
occurrences=[0, UNBOUNDED]}}], 
interfaces={Standard={type=tosca.interfaces.node.lifecycle.Standard}}}, 
tosca.nodes.Container.Runtime={derived_from=tosca.nodes.SoftwareComponent, cap"

Please let me know for correct way to parse it to get the child node.


[1] 
https://github.com/onap/so/blob/master/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/resource/ResourceRequestBuilder.java#L144-L182

--
Regards,
Subhash Kumar Singh

***************************************************************************************
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!**************************************************************************************

***************************************************************************************
This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person  or entity whoseaddress is listed above. 
Any use of the information contained herein in any way (including, but not   
limited to, total or partial disclosure,reproduction, or dissemination) by 
persons other than the intended recipient(s) is  prohibited. If you receive 
this e-mail in error, pleasenotify the sender by phone or email immediately and 
delete it!
***************************************************************************************

_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to