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

Support for Test Topology Auto Design- Service Import

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Guilin Release
    • None
    • None
    • None

        For the service designed, can be imported into SDC for modification or enhancement, or the test template can be reused for different test environments (the SDC needs to support service import)

       The requirements and related changes are relatively independent from existing functions in SDC, they will not affect other functions in SDC, just enhancement and complement.

      •  Changes in SDC Portal
      1. Add a button “IMPORT SERVICE CSAR" to perform service CSAR import.
      2. When clicking the “IMPORT SERVICE CSAR” button on the portal, a window will pop up to select the service CSAR file to be imported.
      3. After selecting the service CSAR file to be imported, it will switch to the general information input page for creating the service.

            4. After filling in all the required fields, you can click the "create" button to create a new service.

      • Changes in SDC BE
      1. Add a new API for the request of importing service CSAR.

          Post: /v1/catalog/services/importService

          Define the UploadServiceInfo class to receive the service CSAR package uploaded by the portal and the general information filled in from the portal.

      1. Including all processing logic codes for creating service.
      2. Add support for service type in the following related code.

            hekeguang Keguang He
            lei_huang lei_huang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: