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

Artifact type "CONTROLLER_BLUEPRINT_ARCHIVE" is not recognized based on its type.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • London Release
    • Frankfurt Release, Guilin Release
    • None
    • None
    • Frankfurt MR (2020-07-24), SDC 1.6.7
      Guilin master

      Scenario (VSP import procedure):

      A VNF onboarding package is prepared, and it contains the following file, type: "CONTROLLER_BLUEPRINT_ARCHIVE", filename: "vFW_CNF_CDS.zip".

      {
          "name": "virtualFirewall",
          "description": "",
          "data": [
              {
                  "file": "vFW_CNF_CDS.zip",
                  "type": "CONTROLLER_BLUEPRINT_ARCHIVE"
              }
           }
      }
      

      After such a file is loaded to SDC as part of VSP onboarding activity, and the VF Resource is created out of that VSP, this artifact is classified as "OTHER", instead of being classified as "CONTROLLER_BLUEPRINT_ARCHIVE".

      After looking at the code, each artifact, which contains "CBA" string in the file name is classified as a "CONTROLLER_BLUEPRINT_ARCHIVE", which is wrong.
      The classification shall be done based on the file type given in the manifest, and not based on the file name (or a substring in the filename).

      See attachements (onboarding package, as well as SDC screen)

            vasraz vasraz
            deen1985 deen1985
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: