summaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-show-schema-1.1-moco.json
blob: 1913e8087082f1e51d601cde6633874ee740e670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[ {
  "request" : {
    "method" : "get",
    "uri" : "/onboarding-api/v1.0/vendor-software-products/b1caa2ec31ba4b738cbe5aab362b35aa/versions/1.0",
    "headers" : {
      "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
      "X-FromAppId" : "onap-cli",
      "Accept" : "application/json",
      "USER_ID" : "cs0008",
      "X-TransactionId" : "req-0e7abd26-8f59-463a-be04-5855c548297e",
      "Content-Type" : "application/json"
    },
    "json" : null
  },
  "response" : {
    "status" : 200,
    "json" : {
      "name" : "Kanag-VSP",
      "description" : "Test VSP created by Kanag",
      "category" : "resourceNewCategory.generic",
      "subCategory" : "resourceNewCategory.generic.abstract",
      "vendorName" : "Kanag",
      "vendorId" : "1173c7be5fea4db799b1a5ef9512e57e",
      "licensingVersion" : {
        "id" : "4.0",
        "label" : "4.0"
      },
      "licensingData" : {
        "licenseAgreement" : "b373c16f28854c6db9e027929ae5e5ed",
        "featureGroups" : [ "efea8b9817b344c4b93c45dc141f6703" ]
      },
      "onboardingMethod" : "NetworkPackage",
      "onboardingOrigin" : "zip",
      "networkPackageName" : "base_vfw",
      "id" : "b1caa2ec31ba4b738cbe5aab362b35aa",
      "version" : {
        "id" : "1.0",
        "label" : "1.0"
      },
      "viewableVersions" : [ {
        "id" : "1.0",
        "label" : "1.0"
      } ],
      "finalVersions" : [ {
        "id" : "1.0",
        "label" : "1.0"
      } ],
      "status" : "Final",
      "validationData" : {
        "importStructure" : {
          "heat" : [ {
            "fileName" : "base_vfw.yaml",
            "env" : {
              "fileName" : "base_vfw.env"
            },
            "errors" : [ {
              "level" : "WARNING",
              "message" : "WARNING: Port 'Fixed_IPS' Parameter Name not aligned with Guidelines, Parameter Name [onap_private_subnet_id], Resource ID [vfw_private_2_port]. As a result, VF/VFC Profile may miss this information"
            }, {
              "level" : "WARNING",
              "message" : "WARNING: Port 'Fixed_IPS' Parameter Name not aligned with Guidelines, Parameter Name [onap_private_subnet_id], Resource ID [vpg_private_1_port]. As a result, VF/VFC Profile may miss this information"
            }, {
              "level" : "WARNING",
              "message" : "WARNING: Port 'Fixed_IPS' Parameter Name not aligned with Guidelines, Parameter Name [onap_private_subnet_id], Resource ID [vsn_private_1_port]. As a result, VF/VFC Profile may miss this information"
            }, {
              "level" : "WARNING",
              "message" : "WARNING: A resource is connected twice to the same network role, Network Role [vpg_0], Resource ID [onap_private]"
            }, {
              "level" : "WARNING",
              "message" : "WARNING: Nova Server naming convention in image, flavor and name properties is not consistent, Resource ID [vpg_0]"
            }, {
              "level" : "WARNING",
              "message" : "WARNING: A resource is connected twice to the same network role, Network Role [vsn_0], Resource ID [onap_private]"
            }, {
              "level" : "WARNING",
              "message" : "WARNING: Nova Server naming convention in image, flavor and name properties is not consistent, Resource ID [vsn_0]"
            } ],
            "base" : true
          } ]
        }
      },
      "isOldVersion" : "False"
    }
  }
} ]