summaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-moco.json
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-30 10:10:55 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-30 10:10:55 +0530
commit3dbbf4aed6d3c620b8fff76f21a296aeeade5cbd (patch)
tree8a36767da0d73dc7723710bfa4b8b52d644cc134 /plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-moco.json
parent60ad596d8150ae73171ddb8d1c395130f94104b2 (diff)
Add samples and command vsp-create for 1.1
CLI-57 Change-Id: I74ee2a8c305e3029c968e243c08ae09e4836f3de Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-moco.json')
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-moco.json38
1 files changed, 38 insertions, 0 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
new file mode 100644
index 00000000..6e7253f9
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-schema-1.1-moco.json
@@ -0,0 +1,38 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "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-aa703f95-a8ab-4c5c-8971-40e73df98a28",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "category" : "resourceNewCategory.generic",
+ "vendorId" : "b1caa2ec31ba4b738cbe5aab362b35aa",
+ "subCategory" : "resourceNewCategory.generic.abstract",
+ "description" : "VSP created from CLI for vFW",
+ "licensingVersion" : {
+ "id" : "4.0",
+ "label" : "4.0"
+ },
+ "licensingData" : {
+ "featureGroups" : [ "efea8b9817b344c4b93c45dc141f6703" ],
+ "licenseAgreement" : "b373c16f28854c6db9e027929ae5e5ed"
+ },
+ "icon" : "icon",
+ "onboardingMethod" : "NetworkPackage",
+ "vendorName" : "Kanag",
+ "name" : "kanag-cli-vfw"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "vspId" : "5ca119e2326045d1857ae3f04a816434"
+ }
+ }
+} ] \ No newline at end of file