summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2019-08-29 16:44:18 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-08-29 16:44:18 +0530
commit82b6102171ca7d07b9cef262be627023dd7b1d5f (patch)
tree0147aa977e61ff3931acd889ad0fe126b76b9942
parent3b694135aa0b05c91ee478f40c9192aaae28f371 (diff)
vsp-package updates
Change-Id: I0a38ac0158968c294f64b83de16e18859c149856 Issue-ID: CLI-166 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-moco.json15
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-sample.yaml22
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-package-schema-dublin.yaml2
3 files changed, 14 insertions, 25 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-moco.json
index 762bdbc2..eb1c488b 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-moco.json
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-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-48bfec31-2210-41cd-b42c-156a947d5b74",
+ "X-TransactionId" : "req-010bd952-bd66-4d7a-b185-437ab0b696e8",
"Content-Type" : "application/json"
},
"json" : {
@@ -17,15 +17,16 @@
"response" : {
"status" : 200,
"json" : {
- "description" : "aaaa",
- "vspName" : "vsp-cli-v1",
+ "description" : "Created by Open Command Platform - OCOMP",
+ "vspName" : "vgwocompvtp",
"version" : "1.0",
- "packageId" : "0afed170432e471e9dafb662f78a8277",
+ "packageId" : "55ca1625888743a1b791790b126b79f9",
"category" : "resourceNewCategory.generic",
"subCategory" : "resourceNewCategory.generic.abstract",
- "vendorName" : "itohan-vendor",
+ "vendorName" : "ocompvtpvendor",
"vendorRelease" : "1.0",
- "packageType" : "CSAR"
+ "packageType" : "CSAR",
+ "resourceType" : "VF"
}
}
} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-sample.yaml
index 477ef99c..5644a0a5 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-schema-dublin-sample.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-package-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-package
version: onap-dublin
samples:
sample1:
- name: -x
- input: 0afed170432e471e9dafb662f78a8277 -y a6a78a511fd74524889f8095e12b9aac -u cs0008 -p demo123456! -m http://10.43.107.110:8081
+ name: vsp-package
+ input: --format json --vsp-version f13d686db7bf4fb0ba34354faf8a9d30 --vsp-id 55ca1625888743a1b791790b126b79f9
moco: vsp-package-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-package-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-package-schema-dublin.yaml
index 6cd48e87..5306a7fb 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-package-schema-dublin.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-package-schema-dublin.yaml
@@ -18,7 +18,7 @@ description: Package Vendor Software Product
info:
product: onap-dublin
- service: sdc
+ service: sdc.onboarding
author: ONAP CLI Team onap-discuss@lists.onap.org
parameters: