summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-02 13:53:49 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-02 13:53:49 +0530
commit5edb224c395d871daa2c1a2937084309784171d8 (patch)
tree4d7d267cb77b8fce402b7e39add9aa3b1e32214c
parent84d76169745fddbe83181922f6e2430b9eae33f2 (diff)
Update samples for vlm-list
CLI-57 Change-Id: Ia13fb116196076fe5b610a6412418d734134ce13 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-moco.json252
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-sample.yaml28
2 files changed, 271 insertions, 9 deletions
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-moco.json
index 9f99a895..8634d109 100644
--- a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-moco.json
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-moco.json
@@ -7,7 +7,7 @@
"X-FromAppId" : "onap-cli",
"Accept" : "application/json",
"USER_ID" : "cs0008",
- "X-TransactionId" : "req-45e743b7-f417-4159-9a1b-95af8b24aad2",
+ "X-TransactionId" : "req-2c363ccc-f8be-4fcf-8844-ccd2e44f1651",
"Content-Type" : "application/json"
},
"json" : null
@@ -15,28 +15,264 @@
"response" : {
"status" : 200,
"json" : {
- "listCount" : 21,
+ "listCount" : 34,
"results" : [ {
+ "vendorName" : "ciLicensef008e06a",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "b5ea95a60e3b483da03d0911968cd778",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense5c11752c",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "84352b5d014c4d5382ce856d7597aebf",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicenseaf880546",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "8e13a8b2e1f34374ad578edc9c912f11",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicensecce293bb",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "9f7053ae1aa04b8c9fa3d991f944a49b",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense7d28e221",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "3f47950121bf4e31a058b4870020bc2f",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense02ddba7e",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "6fc132eca87d4e49b56357b9d83843a5",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense9acc959f",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "0094601590ec4e709e560e928c44232a",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicensee5394ee2",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "8f82813eb6304957911955e077d9be6f",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense3eed3665",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "b620898b5e5e4231a30a2ccecd39927e",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense372060ea",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "12cce4998b874d5e8096070f9c5d7395",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense36e962a4",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "78fd596a39534d51953e867adaef78f6",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicensef9a1b52b",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "651180d666c54887880b673884e03481",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense76f62092",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "dd10e18e3af54234a20897ad65bfa311",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
"vendorName" : "kanag-cli",
"description" : "First License created from CLI",
"iconRef" : "icon",
"id" : "cf2d907d998e44698ce3b4cded5f66a7",
"version" : {
- "id" : "1.1",
- "label" : "1.1"
+ "id" : "2.0",
+ "label" : "2.0"
},
- "status" : "Locked",
- "lockingUser" : "cs0008",
+ "status" : "Final",
"viewableVersions" : [ {
"id" : "1.0",
"label" : "1.0"
}, {
- "id" : "1.1",
- "label" : "1.1"
+ "id" : "2.0",
+ "label" : "2.0"
} ],
"finalVersions" : [ {
"id" : "1.0",
"label" : "1.0"
+ }, {
+ "id" : "2.0",
+ "label" : "2.0"
} ]
}, {
"vendorName" : "Test",
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-sample.yaml
index 65fae325..faf5324f 100644
--- a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-sample.yaml
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-sample.yaml
@@ -10,7 +10,33 @@ samples:
+----------------------------------+--------------------------+--------------+--------+--------------------------------+
|id |vendor-name |vlm-version |status |description |
+----------------------------------+--------------------------+--------------+--------+--------------------------------+
- |cf2d907d998e44698ce3b4cded5f66a7 |kanag-cli |1.1 |Locked |First License created from CLI |
+ |b5ea95a60e3b483da03d0911968cd778 |ciLicensef008e06a |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |84352b5d014c4d5382ce856d7597aebf |ciLicense5c11752c |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |8e13a8b2e1f34374ad578edc9c912f11 |ciLicenseaf880546 |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |9f7053ae1aa04b8c9fa3d991f944a49b |ciLicensecce293bb |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |3f47950121bf4e31a058b4870020bc2f |ciLicense7d28e221 |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |6fc132eca87d4e49b56357b9d83843a5 |ciLicense02ddba7e |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |0094601590ec4e709e560e928c44232a |ciLicense9acc959f |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |8f82813eb6304957911955e077d9be6f |ciLicensee5394ee2 |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |b620898b5e5e4231a30a2ccecd39927e |ciLicense3eed3665 |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |12cce4998b874d5e8096070f9c5d7395 |ciLicense372060ea |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |78fd596a39534d51953e867adaef78f6 |ciLicense36e962a4 |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |651180d666c54887880b673884e03481 |ciLicensef9a1b52b |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |dd10e18e3af54234a20897ad65bfa311 |ciLicense76f62092 |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |cf2d907d998e44698ce3b4cded5f66a7 |kanag-cli |2.0 |Final |First License created from CLI |
+----------------------------------+--------------------------+--------------+--------+--------------------------------+
|144497a1b7924e0fa73004573730e1b8 |Test |0.1 |Locked |test |
+----------------------------------+--------------------------+--------------+--------+--------------------------------+