From 343affd4836a1e6a8e8336039e1eaab00f9e9502 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam Date: Thu, 29 Aug 2019 16:03:25 +0530 Subject: VLM Agreement creation updates Issue-ID: CLI-166 Change-Id: Ia1476c6189206e1b967d69e5598f9ebde39ce3a2 Signed-off-by: Kanagaraj Manickam k00365106 --- .../vlm-aggreement-create-schema-dublin-moco.json | 11 +++++----- ...vlm-aggreement-create-schema-dublin-sample.yaml | 25 ++++------------------ 2 files changed, 9 insertions(+), 27 deletions(-) (limited to 'products/onap-dublin/features/sdc/src/main/resources/open-cli-sample') 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"} -- cgit 1.2.3-korg