Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-1249

not able to get the value fromProperty node

XMLWordPrintable

      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, 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

            subhash_singh subhash_singh
            subhash_singh subhash_singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: