summaryrefslogtreecommitdiffstats
path: root/products/onap-dublin
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2019-08-29 16:00:48 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-08-29 16:01:12 +0530
commitd5edf67b914052da0fa3c5011a46a34641d4a542 (patch)
tree8f6994a06dab2f46c1e2a3d81c22fd2d71581de6 /products/onap-dublin
parent4c90da69cf12d0d6017e7df13e4cdb628ae9353f (diff)
VLM submit updates
Issue-ID: CLI-166 Change-Id: I8dcfdaab3ea4c6c0717931f34984ba5a935e8a50 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/vlm/vlm-submit-schema-dublin-moco.json4
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-dublin-sample.yaml22
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-submit-schema-dublin.yaml2
3 files changed, 8 insertions, 20 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-dublin-moco.json
index f99b6227..0fdacf01 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-dublin-moco.json
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-dublin-moco.json
@@ -1,13 +1,13 @@
[ {
"request" : {
"method" : "put",
- "uri" : "/onboarding-api/v1.0/vendor-license-models/6b33c26b3a924b2789fa17fabd4a292d/versions/2b683bedebeb4874a9c2a82939c77f0d/actions",
+ "uri" : "/onboarding-api/v1.0/vendor-license-models/d572f583bf224b4c93b99105cd35b0a9/versions/496cc167b6cf44c3b7818c95a1d9e036/actions",
"headers" : {
"Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
"X-FromAppId" : "ONAP CLI",
"Accept" : "application/json",
"USER_ID" : "cs0008",
- "X-TransactionId" : "req-877570c7-18d7-478f-b6dd-09eabb2c0182",
+ "X-TransactionId" : "req-4a81f6d5-664f-417b-8cc7-5080f21e3d01",
"Content-Type" : "application/json"
},
"json" : {
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-dublin-sample.yaml
index fc9414f8..310df0c4 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-dublin-sample.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-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: vlm-submit
version: onap-dublin
samples:
sample1:
- name: -x
- input: 6b33c26b3a924b2789fa17fabd4a292d -y 2b683bedebeb4874a9c2a82939c77f0d -u cs0008 -p demo123456! -m http://10.43.107.110:8081
+ name: vlm-submit
+ input: --format json --vlm-id d572f583bf224b4c93b99105cd35b0a9 --vlm-version 496cc167b6cf44c3b7818c95a1d9e036
moco: vlm-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/vlm/vlm-submit-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-submit-schema-dublin.yaml
index 99a0f46b..029d71d1 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-submit-schema-dublin.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-submit-schema-dublin.yaml
@@ -18,7 +18,7 @@ description: Submit Vendor License Model
info:
product: onap-dublin
- service: sdc
+ service: sdc.onboarding
author: ONAP CLI Team onap-discuss@lists.onap.org