summaryrefslogtreecommitdiffstats
path: root/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-elalto-moco.json
diff options
context:
space:
mode:
authorItohan <itohan.ukponmwan@intel.com>2019-09-30 23:39:44 +0000
committerItohan <itohan.ukponmwan@intel.com>2019-10-01 17:42:35 +0000
commita52f00e9d0af1181d3e9c87508789fb4ced022f5 (patch)
treedfb05a7683f0cecf86783d0623dbcf1b85ade70d /products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-elalto-moco.json
parent1d4b83754009114523cae90c759daffa9188eb3e (diff)
Minor bug fixes in CLI
- Added USER_ID header for SDC - Changed multicloud url - Added samples for commands - Fixed Bug in service-create command Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com> Issue-ID: CLI-229 Change-Id: I9ec94d6dd390d2b5bf059c2f8a82c67b65fbeb34
Diffstat (limited to 'products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-elalto-moco.json')
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-elalto-moco.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-elalto-moco.json b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-elalto-moco.json
new file mode 100644
index 00000000..e9c5385d
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-elalto-moco.json
@@ -0,0 +1,41 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-0cc37083-8ba4-4dff-a133-83b95e14e123",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "category" : "resourceNewCategory.generic",
+ "vendorId" : "8e1cffcf802941b1a88861ea71857fe2",
+ "subCategory" : "resourceNewCategory.generic.network elements",
+ "description" : "hpa-vsp-desc",
+ "licensingVersion" : "f6b115c0f4d8459f9422a21559025a7e",
+ "licensingData" : {
+ "featureGroups" : [ "0c81a6a0272546f49403d241bb4ce3b3" ],
+ "licenseAgreement" : "8cadce750de14b72b37c4c94d41e2cfd"
+ },
+ "icon" : "icon",
+ "onboardingMethod" : "NetworkPackage",
+ "vendorName" : "hpa-vendor-1",
+ "name" : "hpa-vsp-vfw-0"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "itemId" : "b6c23299280842eca622e9f1a4166d4f",
+ "version" : {
+ "id" : "ab2c5855856240aa8cf6ad41ee447d51",
+ "name" : "1.0",
+ "description" : "Initial version",
+ "status" : "Draft"
+ }
+ }
+ }
+} ] \ No newline at end of file