diff options
Diffstat (limited to 'products/onap-dublin/features/sdc/src/main/resources/open-cli-sample')
2 files changed, 11 insertions, 28 deletions
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"} |