From f40bbc83867d715ddc448139e473ec16ec4989e3 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam Date: Thu, 29 Aug 2019 16:49:45 +0530 Subject: vsp add artifact updates Change-Id: I336163951ee1c4b88cb763837258861250ca2526 Issue-ID: CLI-166 Signed-off-by: Kanagaraj Manickam k00365106 --- .../vsp/vsp-add-artifact-schema-dublin-moco.json | 21 +++++++++++++++++++++ .../vsp/vsp-add-artifact-schema-dublin-sample.yaml | 10 ++++++++++ .../vsp/vsp-add-artifact-schema-dublin.yaml | 2 +- 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-moco.json create mode 100644 products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-add-artifact-schema-dublin-sample.yaml (limited to 'products/onap-dublin') 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: -- cgit 1.2.3-korg