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

Some important information lost while upload a VF's TOSCA model using REST API in SDC 1.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Beijing Release
    • SDC, SDC-TOSCA
    • None
    • SDC Sprint 6, SDC Sprint 7, SDC Sprint 8, SDC Sprint 9

      I'm trying to upload TOSCA model of a VF named 'underlayvpn' to the SDC using REST API.
      After uploading successfully, I found some important information lost, such as: properties, attributes, requirements, capabilities. etc.
      As far as I know, the 'underlayvpn' only has interface(node type definition), has no template(internal topology) in the use case of 'Volte'.
      If it lost some important information, the design and deployment of the WAN network which is an important part of the Volte may be impact.

       

      The URL of the upload request:

      POST http://10.74.148.219:8080/sdc2/rest/v1/catalog/upload/multipart

       

      The 'resourceMetadata' of the upload request:

       

      {
        "payloadName": "underlayvpn.yml",
        "contactId": "jh0003",
        "name": "underlayvpn",
        "description": "underlayvpn desc.",
        "resourceIconPath": "compute",
        "resourceType": "VF",
        "categories": [
        {
          "name": "Volte",
          "subcategories": [
            {
              "name": "VolteVF"
            }
          ]
        }
      ],
        "tags": [
          "underlayvpn"
        ]
      }
      

      The 'resourceZip' of the upload request:

      underlayvpn.zip

       

       

       

        1. image-2017-08-31-09-55-29-958.png
          92 kB
          yuanhu

            yuanhu yuanhu
            yuanhu yuanhu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified