summaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm
diff options
context:
space:
mode:
Diffstat (limited to 'products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm')
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-dublin-moco.json11
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-dublin-sample.yaml25
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-archive-schema-dublin-moco.json21
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-archive-schema-dublin-sample.yaml10
-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-sample/vlm/vlm-entitlement-pool-create-schema-dublin-moco.json14
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-dublin-sample.yaml25
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-dublin-moco.json15
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-dublin-sample.yaml25
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-dublin-moco.json9
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-dublin-sample.yaml25
-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
14 files changed, 86 insertions, 157 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-dublin-moco.json
index ba537d69..9c250c4f 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-dublin-moco.json
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-dublin-moco.json
@@ -1,29 +1,28 @@
[ {
"request" : {
"method" : "post",
- "uri" : "/onboarding-api/v1.0/vendor-license-models/6b33c26b3a924b2789fa17fabd4a292d/versions/2b683bedebeb4874a9c2a82939c77f0d/license-agreements",
+ "uri" : "/onboarding-api/v1.0/vendor-license-models/d572f583bf224b4c93b99105cd35b0a9/versions/496cc167b6cf44c3b7818c95a1d9e036/license-agreements",
"headers" : {
"Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
"X-FromAppId" : "ONAP CLI",
"Accept" : "application/json",
"USER_ID" : "cs0008",
- "X-TransactionId" : "req-43cc944d-8da7-41f3-95c7-59baf629cbd4",
+ "X-TransactionId" : "req-ea614e07-bd30-414b-aeaa-d0d517c0010d",
"Content-Type" : "application/json"
},
"json" : {
- "addedFeatureGroupsIds" : [ "457e9905f32544cca5351e86cc2e7958" ],
- "description" : "philip-aggrement",
+ "addedFeatureGroupsIds" : [ "880c355b9b374ec08db60906f86a7c15" ],
"licenseTerm" : {
"choice" : "Fixed_Term",
"other" : ""
},
- "name" : "philip-agreement"
+ "name" : "ocompvtpvendor Agreement"
}
},
"response" : {
"status" : 200,
"json" : {
- "value" : "ad7e38cbd8d94b0a8705b58a461e6b70"
+ "value" : "d53857e1d3df472cadd3ac72dfd83a6f"
}
}
} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-dublin-sample.yaml
index 4838044e..a3cdd17f 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-dublin-sample.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-dublin-sample.yaml
@@ -1,27 +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-aggreement-create
version: onap-dublin
samples:
sample1:
- name: -x
- input: philip-agreement -y 6b33c26b3a924b2789fa17fabd4a292d -e 2b683bedebeb4874a9c2a82939c77f0d -z philip-aggrement -g 457e9905f32544cca5351e86cc2e7958 -u cs0008 -p demo123456! -m http://10.43.107.110:8081
+ name: vlm-aggreement-create
+ input: --format json --vlm-id d572f583bf224b4c93b99105cd35b0a9 --vlm-feature-group-id 880c355b9b374ec08db60906f86a7c15 --name ocompvtpvendor Agreement --vlm-version 496cc167b6cf44c3b7818c95a1d9e036
moco: vlm-aggreement-create-schema-dublin-moco.json
output: |
- +----------+----------------------------------+
- |property |value |
- +----------+----------------------------------+
- |ID |ad7e38cbd8d94b0a8705b58a461e6b70 |
- +----------+----------------------------------+
+ {"id":"d53857e1d3df472cadd3ac72dfd83a6f"}
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-archive-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-archive-schema-dublin-moco.json
new file mode 100644
index 00000000..89d73567
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-archive-schema-dublin-moco.json
@@ -0,0 +1,21 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/onboarding-api/v1.0/items/d572f583bf224b4c93b99105cd35b0a9/actions",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-6dcbc225-6079-4003-849f-2a848005788f",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "action" : "ARCHIVE"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : { }
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-archive-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-archive-schema-dublin-sample.yaml
new file mode 100644
index 00000000..ea65f974
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-archive-schema-dublin-sample.yaml
@@ -0,0 +1,10 @@
+open_cli_sample_version: 1.0
+name: vlm-archive
+version: onap-dublin
+samples:
+ sample1:
+ name: vlm-archive
+ input: --format json --vlm-id d572f583bf224b4c93b99105cd35b0a9
+ moco: vlm-archive-schema-dublin-moco.json
+ output: |
+ [{}]
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-sample/vlm/vlm-entitlement-pool-create-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-dublin-moco.json
index 2509bea0..7eafd25d 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-dublin-moco.json
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-dublin-moco.json
@@ -1,30 +1,30 @@
[ {
"request" : {
"method" : "post",
- "uri" : "/onboarding-api/v1.0/vendor-license-models/6b33c26b3a924b2789fa17fabd4a292d/versions/2b683bedebeb4874a9c2a82939c77f0d/entitlement-pools",
+ "uri" : "/onboarding-api/v1.0/vendor-license-models/d572f583bf224b4c93b99105cd35b0a9/versions/496cc167b6cf44c3b7818c95a1d9e036/entitlement-pools",
"headers" : {
"Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
"X-FromAppId" : "ONAP CLI",
"Accept" : "application/json",
"USER_ID" : "cs0008",
- "X-TransactionId" : "req-47de9a0c-f2c9-4355-a8ed-0ce066cac513",
+ "X-TransactionId" : "req-5f019d90-52bb-402f-b742-f5de970b3f58",
"Content-Type" : "application/json"
},
"json" : {
- "name" : "philip-pool",
+ "name" : "ocompvtpvendor Entitlement Pool",
"time" : {
"choice" : "",
"other" : ""
},
- "startDate" : "03/15/2019",
- "expiryDate" : "12/31/2030",
- "manufacturerReferenceNumber" : "philip-vendor"
+ "startDate" : "08/29/2019",
+ "expiryDate" : "08/30/2019",
+ "manufacturerReferenceNumber" : "OCOMP"
}
},
"response" : {
"status" : 200,
"json" : {
- "value" : "8c70182a9c4641e79477708ef6ed6984"
+ "value" : "7f3150863aca4d82b837d2d1980ef064"
}
}
} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-dublin-sample.yaml
index 6decda2f..07c933ee 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-dublin-sample.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-dublin-sample.yaml
@@ -1,27 +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-entitlement-pool-create
version: onap-dublin
samples:
sample1:
- name: -x
- input: philip-pool -y 6b33c26b3a924b2789fa17fabd4a292d -e 2b683bedebeb4874a9c2a82939c77f0d -z philip-pool -k philip-vendor -g 12/31/2030 -l 03/15/2019 -u cs0008 -p demo123456! -m http://10.43.107.110:8081
+ name: vlm-entitlement-pool-create
+ input: --format json --vlm-id d572f583bf224b4c93b99105cd35b0a9 --name ocompvtpvendor Entitlement Pool --start-date 08/29/2019 --expiry-date 08/30/2019 --vlm-version 496cc167b6cf44c3b7818c95a1d9e036 --manufacture-reference-number OCOMP
moco: vlm-entitlement-pool-create-schema-dublin-moco.json
output: |
- +----------+----------------------------------+
- |property |value |
- +----------+----------------------------------+
- |ID |8c70182a9c4641e79477708ef6ed6984 |
- +----------+----------------------------------+
+ {"id":"7f3150863aca4d82b837d2d1980ef064"}
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-dublin-moco.json
index d4aebb0c..b3bb4e77 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-dublin-moco.json
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-dublin-moco.json
@@ -1,27 +1,26 @@
[ {
"request" : {
"method" : "post",
- "uri" : "/onboarding-api/v1.0/vendor-license-models/6b33c26b3a924b2789fa17fabd4a292d/versions/2b683bedebeb4874a9c2a82939c77f0d/feature-groups",
+ "uri" : "/onboarding-api/v1.0/vendor-license-models/d572f583bf224b4c93b99105cd35b0a9/versions/496cc167b6cf44c3b7818c95a1d9e036/feature-groups",
"headers" : {
"Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
"X-FromAppId" : "ONAP CLI",
"Accept" : "application/json",
"USER_ID" : "cs0008",
- "X-TransactionId" : "req-0033cd99-1c03-4f1b-acf1-e2262e0b7027",
+ "X-TransactionId" : "req-969b3e0d-a7a7-4947-bbfa-3925637e5842",
"Content-Type" : "application/json"
},
"json" : {
- "name" : "philip-feature-grp",
- "addedLicenseKeyGroupsIds" : [ "51466fa44cb346eda6881176440eee5d" ],
- "addedEntitlementPoolsIds" : [ "8c70182a9c4641e79477708ef6ed6984" ],
- "partNumber" : "itohan-part",
- "description" : "philip-feature-grp"
+ "name" : "ocompvtpvendor Feature group",
+ "addedLicenseKeyGroupsIds" : [ "0c36608f4bab42c298a17388d7ec6727" ],
+ "addedEntitlementPoolsIds" : [ "7f3150863aca4d82b837d2d1980ef064" ],
+ "partNumber" : "OCOMP"
}
},
"response" : {
"status" : 200,
"json" : {
- "value" : "457e9905f32544cca5351e86cc2e7958"
+ "value" : "880c355b9b374ec08db60906f86a7c15"
}
}
} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-dublin-sample.yaml
index 28e31f5b..09474d07 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-dublin-sample.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-dublin-sample.yaml
@@ -1,27 +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-feature-group-create
version: onap-dublin
samples:
sample1:
- name: -x
- input: philip-feature-grp -y 6b33c26b3a924b2789fa17fabd4a292d -e 2b683bedebeb4874a9c2a82939c77f0d -z philip-feature-grp -g 51466fa44cb346eda6881176440eee5d -b 8c70182a9c4641e79477708ef6ed6984 -c itohan-part -u cs0008 -p demo123456! -m http://10.43.107.110:8081
+ name: vlm-feature-group-create
+ input: --format json --vlm-id d572f583bf224b4c93b99105cd35b0a9 --name ocompvtpvendor Feature group --vlm-version 496cc167b6cf44c3b7818c95a1d9e036 --vlm-key-group-id 0c36608f4bab42c298a17388d7ec6727 --part-number OCOMP --vlm-entitle-pool-id 7f3150863aca4d82b837d2d1980ef064
moco: vlm-feature-group-create-schema-dublin-moco.json
output: |
- +----------+----------------------------------+
- |property |value |
- +----------+----------------------------------+
- |ID |457e9905f32544cca5351e86cc2e7958 |
- +----------+----------------------------------+
+ {"id":"880c355b9b374ec08db60906f86a7c15"}
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-dublin-moco.json
index f9654b9e..75da79f9 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-dublin-moco.json
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-dublin-moco.json
@@ -1,25 +1,24 @@
[ {
"request" : {
"method" : "post",
- "uri" : "/onboarding-api/v1.0/vendor-license-models/6b33c26b3a924b2789fa17fabd4a292d/versions/2b683bedebeb4874a9c2a82939c77f0d/license-key-groups",
+ "uri" : "/onboarding-api/v1.0/vendor-license-models/d572f583bf224b4c93b99105cd35b0a9/versions/496cc167b6cf44c3b7818c95a1d9e036/license-key-groups",
"headers" : {
"Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
"X-FromAppId" : "ONAP CLI",
"Accept" : "application/json",
"USER_ID" : "cs0008",
- "X-TransactionId" : "req-5b5c1feb-062f-42d2-876d-0d748f460015",
+ "X-TransactionId" : "req-f6c9d577-764c-4411-b0d6-1983d1312d0d",
"Content-Type" : "application/json"
},
"json" : {
- "description" : "",
- "name" : "philip-key-grp",
+ "name" : "ocompvtpvendor Key goroup",
"type" : "Universal"
}
},
"response" : {
"status" : 200,
"json" : {
- "value" : "51466fa44cb346eda6881176440eee5d"
+ "value" : "0c36608f4bab42c298a17388d7ec6727"
}
}
} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-dublin-sample.yaml
index 29c0cfda..25a2e39e 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-dublin-sample.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-dublin-sample.yaml
@@ -1,27 +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: -c
+name: vlm-key-group-create
version: onap-dublin
samples:
sample1:
- name: -c
- input: 6b33c26b3a924b2789fa17fabd4a292d -e 2b683bedebeb4874a9c2a82939c77f0d -x philip-key-grp -y Universal -u cs0008 -p demo123456! -m http://10.43.107.110:8081
+ name: vlm-key-group-create
+ input: --format json --vlm-id d572f583bf224b4c93b99105cd35b0a9 --type Universal --name ocompvtpvendor Key goroup --vlm-version 496cc167b6cf44c3b7818c95a1d9e036
moco: vlm-key-group-create-schema-dublin-moco.json
output: |
- +----------+----------------------------------+
- |property |value |
- +----------+----------------------------------+
- |ID |51466fa44cb346eda6881176440eee5d |
- +----------+----------------------------------+
+ {"id":"0c36608f4bab42c298a17388d7ec6727"}
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: |
+ [{}]