summaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features
diff options
context:
space:
mode:
Diffstat (limited to 'products/onap-dublin/features')
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-dublin-moco.json10
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-dublin-sample.yaml27
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-create-schema-dublin.yaml6
3 files changed, 12 insertions, 31 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-dublin-moco.json
index da03ee30..1b6359f7 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-dublin-moco.json
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-dublin-moco.json
@@ -7,21 +7,21 @@
"X-FromAppId" : "ONAP CLI",
"Accept" : "application/json",
"USER_ID" : "cs0008",
- "X-TransactionId" : "req-0b3114ea-c98a-4035-b0f4-9f522f0188d4",
+ "X-TransactionId" : "req-c3ff5864-dab6-4026-a298-ce11eb9a11c5",
"Content-Type" : "application/json"
},
"json" : {
- "vendorName" : "philip-vendor",
- "description" : "",
+ "vendorName" : "ocompvtpvendor",
+ "description" : "Created by Open Command Platform - OCOMP",
"iconRef" : "icon"
}
},
"response" : {
"status" : 200,
"json" : {
- "itemId" : "6b33c26b3a924b2789fa17fabd4a292d",
+ "itemId" : "d572f583bf224b4c93b99105cd35b0a9",
"version" : {
- "id" : "2b683bedebeb4874a9c2a82939c77f0d",
+ "id" : "496cc167b6cf44c3b7818c95a1d9e036",
"name" : "1.0",
"description" : "Initial version",
"status" : "Draft"
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-dublin-sample.yaml
index 1dcfa931..3b81fe6d 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-dublin-sample.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-dublin-sample.yaml
@@ -1,29 +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-create
version: onap-dublin
samples:
sample1:
- name: -x
- input: philip-vendor -u cs0008 -p demo123456! -m http://10.43.107.110:8081
+ name: vlm-create
+ input: --format json --vendor-name ocompvtpvendor --description Created by Open Command Platform - OCOMP
moco: vlm-create-schema-dublin-moco.json
output: |
- +----------+----------------------------------+
- |property |value |
- +----------+----------------------------------+
- |ID |6b33c26b3a924b2789fa17fabd4a292d |
- +----------+----------------------------------+
- |version |2b683bedebeb4874a9c2a82939c77f0d |
- +----------+----------------------------------+
+ {"id":"d572f583bf224b4c93b99105cd35b0a9","version":"496cc167b6cf44c3b7818c95a1d9e036"}
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-create-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-create-schema-dublin.yaml
index ebe16263..ca09bd2e 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-create-schema-dublin.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-create-schema-dublin.yaml
@@ -18,7 +18,7 @@ description: Create License Model
info:
product: onap-dublin
- service: sdc
+ service: sdc.onboarding
author: ONAP CLI Team onap-discuss@lists.onap.org
@@ -38,7 +38,7 @@ parameters:
results:
direction: portrait
attributes:
- - name: ID
+ - name: id
description: License Model ID
scope: short
type: uuid
@@ -59,5 +59,5 @@ http:
success_codes:
- 200
result_map:
- ID: $b{$.itemId}
+ id: $b{$.itemId}
version: $b{$.version.id} \ No newline at end of file