aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/test/resources/onap-cli-sample
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-02 14:08:21 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-02 14:08:21 +0530
commit3a202c3ce9dce734fe22eb60d7946e8c04023215 (patch)
treeb4280e38394e86dbf993d897072f8830fdcfa3a8 /plugins/sdc/src/test/resources/onap-cli-sample
parent561b0b43caaba7d48d4fe3180b7ff8b3da2dd323 (diff)
Update creation of vsp with proper vlm details
CLI-57 Change-Id: Icc5dad304b704f8037bccdd1a02bf34a884f8d28 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/sdc/src/test/resources/onap-cli-sample')
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-moco.json20
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-sample.yaml4
2 files changed, 12 insertions, 12 deletions
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-moco.json
index 6e7253f9..0a9b516c 100644
--- a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-moco.json
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-moco.json
@@ -7,32 +7,32 @@
"X-FromAppId" : "onap-cli",
"Accept" : "application/json",
"USER_ID" : "cs0008",
- "X-TransactionId" : "req-aa703f95-a8ab-4c5c-8971-40e73df98a28",
+ "X-TransactionId" : "req-d12d57b4-de08-481f-9235-f524e3b7aa99",
"Content-Type" : "application/json"
},
"json" : {
"category" : "resourceNewCategory.generic",
- "vendorId" : "b1caa2ec31ba4b738cbe5aab362b35aa",
+ "vendorId" : "cf2d907d998e44698ce3b4cded5f66a7",
"subCategory" : "resourceNewCategory.generic.abstract",
- "description" : "VSP created from CLI for vFW",
+ "description" : "VLB created from CLI",
"licensingVersion" : {
- "id" : "4.0",
- "label" : "4.0"
+ "id" : "2.0",
+ "label" : "2.0"
},
"licensingData" : {
- "featureGroups" : [ "efea8b9817b344c4b93c45dc141f6703" ],
- "licenseAgreement" : "b373c16f28854c6db9e027929ae5e5ed"
+ "featureGroups" : [ "3a2fb75b52a54e9c8093e7c154210f9e" ],
+ "licenseAgreement" : "77e151d0503b45ecb7e40f5f5f1a887e"
},
"icon" : "icon",
"onboardingMethod" : "NetworkPackage",
- "vendorName" : "Kanag",
- "name" : "kanag-cli-vfw"
+ "vendorName" : "Kanag-cli",
+ "name" : "kanag-cli-VLB"
}
},
"response" : {
"status" : 200,
"json" : {
- "vspId" : "5ca119e2326045d1857ae3f04a816434"
+ "vspId" : "f19cad8343794e93acb9cda2e4126281"
}
}
} ] \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-sample.yaml
index 69783a0d..41a78125 100644
--- a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-sample.yaml
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-sample.yaml
@@ -4,11 +4,11 @@ version: onap-1.1
samples:
sample1:
name: vsp-create
- input: --vsp-name kanag-cli-vfw --vsp-description VSP created from CLI for vFW --vsp-vendor-name Kanag --vsp-vendor-id b1caa2ec31ba4b738cbe5aab362b35aa --license-agreement-id b373c16f28854c6db9e027929ae5e5ed --feature-group-id efea8b9817b344c4b93c45dc141f6703 -d --vsp-license-version 4.0
+ input: --vsp-name kanag-cli-VLB --vsp-description VLB created from CLI --vlm-agreement-id 77e151d0503b45ecb7e40f5f5f1a887e --vlm-version 2.0 --vlm-feature-group-id 3a2fb75b52a54e9c8093e7c154210f9e --vlm-id cf2d907d998e44698ce3b4cded5f66a7 --vlm-vendor Kanag-cli
moco: vsp-create-schema-1.1-moco.json
ouput: |
+----------+----------------------------------+
|property |value |
+----------+----------------------------------+
- |ID |5ca119e2326045d1857ae3f04a816434 |
+ |ID |f19cad8343794e93acb9cda2e4126281 |
+----------+----------------------------------+