From 91cff36cb9b008a7ea3cc4342f0f81045b4845e4 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam Date: Thu, 29 Aug 2019 16:49:15 +0530 Subject: vsp submit updates Change-Id: I6f587883584481213904dbd9e8f0067b37677cce Issue-ID: CLI-166 Signed-off-by: Kanagaraj Manickam k00365106 --- .../vsp/vsp-submit-schema-dublin-moco.json | 4 ++-- .../vsp/vsp-submit-schema-dublin-sample.yaml | 22 +++++----------------- .../vsp/vsp-submit-schema-dublin.yaml | 2 +- 3 files changed, 8 insertions(+), 20 deletions(-) (limited to 'products/onap-dublin/features') diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-moco.json index b9888f3c..356a392a 100644 --- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-moco.json +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-moco.json @@ -1,13 +1,13 @@ [ { "request" : { "method" : "put", - "uri" : "/onboarding-api/v1.0/vendor-software-products/0afed170432e471e9dafb662f78a8277/versions/a6a78a511fd74524889f8095e12b9aac/actions", + "uri" : "/onboarding-api/v1.0/vendor-software-products/55ca1625888743a1b791790b126b79f9/versions/f13d686db7bf4fb0ba34354faf8a9d30/actions", "headers" : { "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", "X-FromAppId" : "ONAP CLI", "Accept" : "application/json", "USER_ID" : "cs0008", - "X-TransactionId" : "req-625cc732-d215-4a80-9887-7fbe217954c2", + "X-TransactionId" : "req-febd3087-e011-469e-b57a-b71c2077647d", "Content-Type" : "application/json" }, "json" : { diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-sample.yaml index 62bb71bb..e4e3b105 100644 --- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-sample.yaml +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-submit-schema-dublin-sample.yaml @@ -1,22 +1,10 @@ -# Copyright © Intel Corporation 2019 -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. open_cli_sample_version: 1.0 -name: -x +name: vsp-submit version: onap-dublin samples: sample1: - name: -x - input: 0afed170432e471e9dafb662f78a8277 -y a6a78a511fd74524889f8095e12b9aac -u cs0008 -p demo123456! -m http://10.43.107.110:8081 + name: vsp-submit + input: --format json --vsp-version f13d686db7bf4fb0ba34354faf8a9d30 --vsp-id 55ca1625888743a1b791790b126b79f9 moco: vsp-submit-schema-dublin-moco.json - output: \ No newline at end of file + output: | + [{}] diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-submit-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-submit-schema-dublin.yaml index 6d46f6fa..cdc372d9 100644 --- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-submit-schema-dublin.yaml +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-submit-schema-dublin.yaml @@ -18,7 +18,7 @@ description: Submit Vendor Software Product info: product: onap-dublin - service: sdc + service: sdc.onboarding author: ONAP CLI Team onap-discuss@lists.onap.org parameters: -- cgit 1.2.3-korg