aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-27 19:09:31 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-27 19:09:31 +0530
commitd3b23e3ec6a3e0d83a64764c9785c8dae0c71612 (patch)
treecd31f4c1fc2868110920e490c07c88912c5368e2 /plugins
parent326ab04cac218451de266c8da1dced024d47df4f (diff)
Fix vsp-list command with additional attrs
CLI-57 Change-Id: I6cd0f79370d4e9c16ab3bbbedeff1a7c2ebc4f4d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-list-schema-1.1.yaml52
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-schema-1.1-moco.json622
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-schema-1.1-sample.yaml47
3 files changed, 721 insertions, 0 deletions
diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-list-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-list-schema-1.1.yaml
new file mode 100644
index 00000000..8f7d239d
--- /dev/null
+++ b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-list-schema-1.1.yaml
@@ -0,0 +1,52 @@
+open_cli_schema_version: 1.0
+name: vsp-list
+description: List of the Vendor Software Products
+version: onap-1.1
+service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+
+results:
+ direction: landscape
+ attributes:
+ - name: ID
+ description: VSP ID
+ scope: short
+ type: string
+ - name: name
+ description: VSP Name
+ scope: short
+ type: string
+ - name: vendor-name
+ description: Vendor name
+ scope: long
+ type: string
+ - name: version
+ description: Version
+ scope: short
+ type: string
+ - name: status
+ description: status
+ scope: short
+ type: string
+ - name: license-id
+ description: license aggreement
+ scope: long
+ type: string
+http:
+ request:
+ uri: /onboarding-api/v1.0/vendor-software-products
+ method: GET
+ success_codes:
+ - 200
+ result_map:
+ ID: $b{results.[*].id}
+ name: $b{results.[*].name}
+ vendor-name: $b{results.[*].vendorName}
+ version: $b{results.[*].version.id}
+ status: $b{results.[*].status}
+ license-id: $b{results.[*].licensingData.licenseAgreement}
+ sample_response:
+ body: '{"results":[{"name":"test-vsp1","description":"vendor software product","category":"resourceNewCategory.generic","subCategory":"resourceNewCategory.generic.abstract","vendorName":"5aa8a88c","vendorId":"DBB202617952486691C1E35C9621CD4E","licensingVersion":"1.0","licensingData":{"licenseAgreement":"E19DBDDB137B494385F9535325BFD585","featureGroups":["94835F096DAF4ED78781A394A4F22AD1"]},"id":"354BF3E32E494EAFBB15037CFAB262FF","version":"0.1","viewableVersions":["0.1"],"status":"Locked","lockingUser":"cs0008"},{"name":"test-vsp","description":"vendor software product","category":"resourceNewCategory.generic","subCategory":"resourceNewCategory.generic.abstract","vendorName":"5aa8a88c","vendorId":"DBB202617952486691C1E35C9621CD4E","licensingVersion":"1.0","licensingData":{"licenseAgreement":"E19DBDDB137B494385F9535325BFD585","featureGroups":["94835F096DAF4ED78781A394A4F22AD1"]},"id":"2DEB6CB4B082415BB7A697C9CD1273BA","version":"1.0","viewableVersions":["1.0"],"finalVersions":["1.0"],"status":"Final"}],"listCount":2}'
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-schema-1.1-moco.json
new file mode 100644
index 00000000..a4270573
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-schema-1.1-moco.json
@@ -0,0 +1,622 @@
+[ {
+ "request" : {
+ "method" : "get",
+ "uri" : "/onboarding-api/v1.0/vendor-software-products",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-25476de9-c4e4-4607-bc5f-e5bb68637c47",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "listCount" : 18,
+ "results" : [ {
+ "name" : "test-vsp",
+ "description" : "test-vsp",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.abstract",
+ "vendorName" : "test-vendor",
+ "vendorId" : "fc0fdcc825a54ca3b08e40f473b72d05",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "0a12d68750704a54a7e9974595d7e951",
+ "featureGroups" : [ "2c5762b9747f495db8a99cbd73449edd" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "base_vfw",
+ "id" : "8f08a17b9a4c4538b51a3064468baec0",
+ "version" : {
+ "id" : "0.3",
+ "label" : "0.3"
+ },
+ "viewableVersions" : [ {
+ "id" : "0.1",
+ "label" : "0.1"
+ }, {
+ "id" : "0.2",
+ "label" : "0.2"
+ }, {
+ "id" : "0.3",
+ "label" : "0.3"
+ } ],
+ "status" : "Locked",
+ "lockingUser" : "cs0008",
+ "isOldVersion" : "False"
+ }, {
+ "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",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "05a0dd09-c3d0-4534-93ab",
+ "description" : "vendor software product",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.abstract",
+ "vendorName" : "a920b10d-c516-4380-835a",
+ "vendorId" : "5e571e8a25c8404da04f2a0ec179f576",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "fcbc7806bee446aaa93c5e97348e1bea",
+ "featureGroups" : [ "535bca9f30b44263ae1740f088856a75" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "base_vfw",
+ "id" : "77527347f94947589431cb7c1938da2e",
+ "version" : {
+ "id" : "0.3",
+ "label" : "0.3"
+ },
+ "viewableVersions" : [ {
+ "id" : "0.1",
+ "label" : "0.1"
+ }, {
+ "id" : "0.2",
+ "label" : "0.2"
+ }, {
+ "id" : "0.3",
+ "label" : "0.3"
+ } ],
+ "status" : "Locked",
+ "lockingUser" : "cs0008",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "ef35d3c9-a8c6-457c-a115",
+ "description" : "vendor software product",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.abstract",
+ "vendorName" : "0138a2e2-52bf-4f0b-81cd",
+ "vendorId" : "b66c5e1b4af3432ca2f6cd05adf72340",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "babbefaae40744febdd0317670e23c44",
+ "featureGroups" : [ "175b0feec7a44d6c92b6deaf1cda4bf9" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "base_vcpe_vgw",
+ "id" : "03774c7cfcac4054bdab346142214533",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "5d11dda4-fb32-4df6-86eb",
+ "description" : "vendor software product",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.abstract",
+ "vendorName" : "48fa02ef-e79b-4707-895e",
+ "vendorId" : "34c2c72e992742e3b7ceb78bfcd21ebb",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "db826ae7538744f2b4dcc8647433fde3",
+ "featureGroups" : [ "8d44ef5235334172970e1835e9504f39" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "base_vcpe_vgmux",
+ "id" : "54bc478b7a9847db82156edad5d1f79f",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "136ab241-88ff-443a-88e8",
+ "description" : "vendor software product",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.abstract",
+ "vendorName" : "1e5d1422-1f5f-42fe-a98e",
+ "vendorId" : "4bbd11c581ce4bb187a0a37131e5bb60",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "a8911a1e325b491b8e2d26746cc5a5ec",
+ "featureGroups" : [ "c388e00ee0ee4e78a7b75529aa10860d" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "base_vcpe_vbrgemu",
+ "id" : "5f5121f701df4fe588c966002a342fdf",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "8fd2e5c8-981d-4a14-ba77",
+ "description" : "vendor software product",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.abstract",
+ "vendorName" : "3029be5e-9135-4083-bd2e",
+ "vendorId" : "1329476d73014587839fd3ede08c3103",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "7fa43c11d6e94673ad6907ea3984588a",
+ "featureGroups" : [ "f0acfb4c80964f51af1bfd74f1b0c963" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "base_vcpe_vbng",
+ "id" : "0cefd6ef5ad84d2995d66d0a24d2e92e",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "74361ede-ef8c-43f1-9d82",
+ "description" : "vendor software product",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.abstract",
+ "vendorName" : "c6ba2ef6-fe82-4f32-ad50",
+ "vendorId" : "2ca684a9805b40f9993239e77b82fb52",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "962739901fcf41a2a321b50a86183be2",
+ "featureGroups" : [ "d5c1a307505e4f1790ca42c67564c363" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "base_vcpe_infra",
+ "id" : "c212437049004e74b4ef0afb25ba41b8",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "847cb26a-59a6-475a-94dd",
+ "description" : "vendor software product",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.abstract",
+ "vendorName" : "01eb54a1-f1ff-41a2-aafc",
+ "vendorId" : "1a49df7b78654777a71f64f2c6c2468f",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "99e3783033de443db69d05996341e28d",
+ "featureGroups" : [ "3050264504f04ce7afc54861c8ba69ed" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "base_vlb",
+ "id" : "a8cd007fa101470e98516cd4549c568f",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "ciVFOnboarded-vLB-3fbbe6d0",
+ "description" : "new VSP description",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.database",
+ "vendorName" : "ciLicense09c55d35",
+ "vendorId" : "816c04fd4ee849f2b80435e0944189fa",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "ccd038278d0d413b8e693ea1547ea340",
+ "featureGroups" : [ "3597e5f0471e4f3fba15fcdba52f4317" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "vLB",
+ "id" : "59c07e069c7642e9afbc6117965a6c2f",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "ciVFOnboarded-vCSCF_aligned-a5e83f2c",
+ "description" : "new VSP description",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.database",
+ "vendorName" : "ciLicense7d8bbcab",
+ "vendorId" : "4b1e1efd8bb944bdbc0c3e74a9402967",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "52b777f2d6cf4079b4f09fba1470f368",
+ "featureGroups" : [ "ed3949454428409296f78f94bb9c222a" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "csar",
+ "networkPackageName" : "vCSCF_aligned",
+ "id" : "65b7b4b564f34b5689b3786386600e5a",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "ciVFOnboarded-base_vfw-548fb561",
+ "description" : "new VSP description",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.database",
+ "vendorName" : "ciLicense6bfd9421",
+ "vendorId" : "9408208f5b6d4eb997dff1b901f1fb95",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "b491a8a92a06489ca6a8657d34cfe3fa",
+ "featureGroups" : [ "0b64af1d283c423295baea7b26a4a99f" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "base_vfw",
+ "id" : "a75d123c802e465db80ae7c8e5a0b4d0",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "ciVFOnboarded-vgmux-5e7cab8c",
+ "description" : "new VSP description",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.database",
+ "vendorName" : "ciLicense81acf730",
+ "vendorId" : "eda4e9d1cae14cad95befc1728629574",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "0a7237320b95403c91c5cd9c68a6f27e",
+ "featureGroups" : [ "d5f7a02bb5fe4bcc99f98bad86354e2e" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "vgmux",
+ "id" : "1f33fcc682cb484a952b96326f549aff",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "ciVFOnboarded-vgw-8b2ea35e",
+ "description" : "new VSP description",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.database",
+ "vendorName" : "ciLicensef3f5a4fa",
+ "vendorId" : "022140c2dc4e40bbae096aa1fb5cfbe9",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "15dbaf00e1e84a408dbd53bca5174a0d",
+ "featureGroups" : [ "7cac1ef698dc43ef836f59ee8d7ad4a3" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "vgw",
+ "id" : "bafdf7192a73436588044296aa225ed4",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "ciVFOnboarded-infra-0766a3d1",
+ "description" : "new VSP description",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.database",
+ "vendorName" : "ciLicense9fddd8db",
+ "vendorId" : "19f92b345cae423ab4ea6c5527d55ef6",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "8c4dfe75429c47d38ad2dba761e17bce",
+ "featureGroups" : [ "76eb5e9962104a759f3eb21ff798b582" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "infra",
+ "id" : "c34167a92e5c4c3392badd5a2da2a267",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "ciVFOnboarded-vbrgemu-806fb59e",
+ "description" : "new VSP description",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.database",
+ "vendorName" : "ciLicense9a46fd22",
+ "vendorId" : "492d9259fc3e493d8fa6afd488054508",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "428ec00b136741d193d079701dfd0079",
+ "featureGroups" : [ "e80d85a34e084128b055c6c8ae27b5f6" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "vbrgemu",
+ "id" : "b160564a4b754a9e8a19d2fa924f3f96",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "ciVFOnboarded-vbng-c9fa1c07",
+ "description" : "new VSP description",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.database",
+ "vendorName" : "ciLicensed955b6d7",
+ "vendorId" : "a5da3e50ed72483fbfb134bac84b31f6",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "9fed1159021c42e282f53703f00c89e7",
+ "featureGroups" : [ "e39b62b3b7794973b9ba95cbf22a4b61" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "vbng",
+ "id" : "c5ccbc48510240318b698a4f1e1cb620",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ }, {
+ "name" : "ciVFOnboarded-base_vvg-e8b8c6ca",
+ "description" : "new VSP description",
+ "category" : "resourceNewCategory.generic",
+ "subCategory" : "resourceNewCategory.generic.database",
+ "vendorName" : "ciLicensef21d8db3",
+ "vendorId" : "9ff65b0b943141a7b99481bbcaedc294",
+ "licensingVersion" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "licensingData" : {
+ "licenseAgreement" : "9c43f7ab2862474c9fe00a157b48da3f",
+ "featureGroups" : [ "bf348e5448194522a9e2cbaee243e142" ]
+ },
+ "onboardingMethod" : "NetworkPackage",
+ "onboardingOrigin" : "zip",
+ "networkPackageName" : "base_vvg",
+ "id" : "34ac9b3e990f4ce093d2dd1b8e0f73d6",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "status" : "Final",
+ "isOldVersion" : "False"
+ } ]
+ }
+ }
+} ] \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-schema-1.1-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-schema-1.1-sample.yaml
new file mode 100644
index 00000000..d943d82d
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-schema-1.1-sample.yaml
@@ -0,0 +1,47 @@
+onap_cli_sample_version: 1.0
+name: vsp-list
+version: onap-1.1
+samples:
+ sample1:
+ name: vsp-list
+ input: -d
+ moco: vsp-list-schema-1.1-moco.json
+ ouput:|
+ |ID |name |vendor-name |version |status |license-id |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |8f08a17b9a4c4538b51a3064468baec0 |test-vsp |test-vendor |0.3 |Locked |0a12d68750704a54a7e9974595d7e951 |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |b1caa2ec31ba4b738cbe5aab362b35aa |Kanag-VSP |Kanag |1.0 |Final |b373c16f28854c6db9e027929ae5e5ed |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |77527347f94947589431cb7c1938da2e |05a0dd09-c3d0-4534-93ab |a920b10d-c516-4380-835a |0.3 |Locked |fcbc7806bee446aaa93c5e97348e1bea |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |03774c7cfcac4054bdab346142214533 |ef35d3c9-a8c6-457c-a115 |0138a2e2-52bf-4f0b-81cd |1.0 |Final |babbefaae40744febdd0317670e23c44 |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |54bc478b7a9847db82156edad5d1f79f |5d11dda4-fb32-4df6-86eb |48fa02ef-e79b-4707-895e |1.0 |Final |db826ae7538744f2b4dcc8647433fde3 |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |5f5121f701df4fe588c966002a342fdf |136ab241-88ff-443a-88e8 |1e5d1422-1f5f-42fe-a98e |1.0 |Final |a8911a1e325b491b8e2d26746cc5a5ec |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |0cefd6ef5ad84d2995d66d0a24d2e92e |8fd2e5c8-981d-4a14-ba77 |3029be5e-9135-4083-bd2e |1.0 |Final |7fa43c11d6e94673ad6907ea3984588a |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |c212437049004e74b4ef0afb25ba41b8 |74361ede-ef8c-43f1-9d82 |c6ba2ef6-fe82-4f32-ad50 |1.0 |Final |962739901fcf41a2a321b50a86183be2 |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |a8cd007fa101470e98516cd4549c568f |847cb26a-59a6-475a-94dd |01eb54a1-f1ff-41a2-aafc |1.0 |Final |99e3783033de443db69d05996341e28d |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |59c07e069c7642e9afbc6117965a6c2f |ciVFOnboarded-vLB-3fbbe6d0 |ciLicense09c55d35 |1.0 |Final |ccd038278d0d413b8e693ea1547ea340 |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |65b7b4b564f34b5689b3786386600e5a |ciVFOnboarded-vCSCF_aligned-a5e83f2c |ciLicense7d8bbcab |1.0 |Final |52b777f2d6cf4079b4f09fba1470f368 |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |a75d123c802e465db80ae7c8e5a0b4d0 |ciVFOnboarded-base_vfw-548fb561 |ciLicense6bfd9421 |1.0 |Final |b491a8a92a06489ca6a8657d34cfe3fa |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |1f33fcc682cb484a952b96326f549aff |ciVFOnboarded-vgmux-5e7cab8c |ciLicense81acf730 |1.0 |Final |0a7237320b95403c91c5cd9c68a6f27e |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |bafdf7192a73436588044296aa225ed4 |ciVFOnboarded-vgw-8b2ea35e |ciLicensef3f5a4fa |1.0 |Final |15dbaf00e1e84a408dbd53bca5174a0d |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |c34167a92e5c4c3392badd5a2da2a267 |ciVFOnboarded-infra-0766a3d1 |ciLicense9fddd8db |1.0 |Final |8c4dfe75429c47d38ad2dba761e17bce |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |b160564a4b754a9e8a19d2fa924f3f96 |ciVFOnboarded-vbrgemu-806fb59e |ciLicense9a46fd22 |1.0 |Final |428ec00b136741d193d079701dfd0079 |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |c5ccbc48510240318b698a4f1e1cb620 |ciVFOnboarded-vbng-c9fa1c07 |ciLicensed955b6d7 |1.0 |Final |9fed1159021c42e282f53703f00c89e7 |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+
+ |34ac9b3e990f4ce093d2dd1b8e0f73d6 |ciVFOnboarded-base_vvg-e8b8c6ca |ciLicensef21d8db3 |1.0 |Final |9c43f7ab2862474c9fe00a157b48da3f |
+ +----------------------------------+--------------------------------------+--------------------------+----------+--------+----------------------------------+