summaryrefslogtreecommitdiffstats
path: root/products/onap-dublin
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2019-08-29 16:49:45 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-08-29 16:49:45 +0530
commitf40bbc83867d715ddc448139e473ec16ec4989e3 (patch)
treee1fda71356156c1379495a71808139bb737a495b /products/onap-dublin
parent1301b4f1f5273a7fd3bbcfbc31ed25bbb58fc8b4 (diff)
vsp add artifact updates
Change-Id: I336163951ee1c4b88cb763837258861250ca2526 Issue-ID: CLI-166 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-dublin')
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-moco.json21
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-sample.yaml10
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-add-artifact-schema-dublin.yaml2
3 files changed, 32 insertions, 1 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-moco.json
new file mode 100644
index 00000000..5ee43777
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-moco.json
@@ -0,0 +1,21 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/onboarding-api/v1.0/vendor-software-products/55ca1625888743a1b791790b126b79f9/versions/f13d686db7bf4fb0ba34354faf8a9d30/orchestration-template-candidate",
+ "headers" : {
+ "Content-type" : "multipart/form-data",
+ "Accept" : "*/*",
+ "USER_ID" : "cs0008"
+ },
+ "json" : { }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "errors" : { },
+ "status" : "Success",
+ "onboardingOrigin" : "csar",
+ "networkPackageName" : "vgw"
+ }
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-sample.yaml
new file mode 100644
index 00000000..f3b84c3d
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-sample.yaml
@@ -0,0 +1,10 @@
+open_cli_sample_version: 1.0
+name: vsp-add-artifact
+version: onap-dublin
+samples:
+ sample1:
+ name: vsp-add-artifact
+ input: --format json --vsp-version f13d686db7bf4fb0ba34354faf8a9d30 --vsp-id 55ca1625888743a1b791790b126b79f9 --vsp-file /tmp/data/vtp-tmp-files/vgw.csar
+ moco: vsp-add-artifact-schema-dublin-moco.json
+ output: |
+ [{}]
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-add-artifact-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-add-artifact-schema-dublin.yaml
index 42c92f37..27f6a8d7 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-add-artifact-schema-dublin.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-add-artifact-schema-dublin.yaml
@@ -18,7 +18,7 @@ description: Upload the CSAR/ZIP file to VSP
info:
product: onap-dublin
- service: sdc
+ service: sdc.onboarding
author: ONAP CLI Team onap-discuss@lists.onap.org
parameters: