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

Declared properties lost in node_type when user adds one or more properties to SELF

XMLWordPrintable

      If user adds one or more properties to SELF in 'Properties Assignment' and generate csar file,
      declared properties are not present in node_types in interface yaml
      and this cause parser error because references to the properties cannot be resolved in topology_template.

      csar example:
      L.140- resource-Sdwansiteresource-template-interface.yml in service-EnhancedService-ok.csar
      this is ok case.
      org.openecomp.resource.vf.Sdwansiteresource has declared properties as expected.

      Then I added a property "myprop" to Sdwansiteresource in Properties Assginment screen.
      and download a csar file: service-EnhancedService-notok.csar
      around L.140 in resource-Sdwansiteresource-template-interface.yml
      "myprop" is added but all other properties are lost.

            s4fujii s4fujii
            s4fujii s4fujii
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: