diff options
Diffstat (limited to 'products/onap-beijing')
3 files changed, 813 insertions, 0 deletions
diff --git a/products/onap-beijing/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-list-schema-beijing-moco.json b/products/onap-beijing/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-list-schema-beijing-moco.json new file mode 100644 index 00000000..8634d109 --- /dev/null +++ b/products/onap-beijing/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-list-schema-beijing-moco.json @@ -0,0 +1,655 @@ +[ { + "request" : { + "method" : "get", + "uri" : "/onboarding-api/v1.0/vendor-license-models", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "onap-cli", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-2c363ccc-f8be-4fcf-8844-ccd2e44f1651", + "Content-Type" : "application/json" + }, + "json" : null + }, + "response" : { + "status" : 200, + "json" : { + "listCount" : 34, + "results" : [ { + "vendorName" : "ciLicensef008e06a", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "b5ea95a60e3b483da03d0911968cd778", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense5c11752c", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "84352b5d014c4d5382ce856d7597aebf", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicenseaf880546", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "8e13a8b2e1f34374ad578edc9c912f11", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicensecce293bb", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "9f7053ae1aa04b8c9fa3d991f944a49b", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense7d28e221", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "3f47950121bf4e31a058b4870020bc2f", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense02ddba7e", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "6fc132eca87d4e49b56357b9d83843a5", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense9acc959f", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "0094601590ec4e709e560e928c44232a", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicensee5394ee2", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "8f82813eb6304957911955e077d9be6f", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense3eed3665", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "b620898b5e5e4231a30a2ccecd39927e", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense372060ea", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "12cce4998b874d5e8096070f9c5d7395", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense36e962a4", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "78fd596a39534d51953e867adaef78f6", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicensef9a1b52b", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "651180d666c54887880b673884e03481", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense76f62092", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "dd10e18e3af54234a20897ad65bfa311", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "kanag-cli", + "description" : "First License created from CLI", + "iconRef" : "icon", + "id" : "cf2d907d998e44698ce3b4cded5f66a7", + "version" : { + "id" : "2.0", + "label" : "2.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + }, { + "id" : "2.0", + "label" : "2.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + }, { + "id" : "2.0", + "label" : "2.0" + } ] + }, { + "vendorName" : "Test", + "description" : "test", + "iconRef" : "icon", + "id" : "144497a1b7924e0fa73004573730e1b8", + "version" : { + "id" : "0.1", + "label" : "0.1" + }, + "status" : "Locked", + "lockingUser" : "cs0008", + "viewableVersions" : [ { + "id" : "0.1", + "label" : "0.1" + } ] + }, { + "vendorName" : "4718de22-00d3-4607-b666", + "description" : "vendor license model", + "iconRef" : "icon", + "id" : "9af398f516da4e63b4ec8d344866533b", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "Kanag", + "description" : "Kanagaraj M @ HTIPL", + "iconRef" : "icon", + "id" : "1173c7be5fea4db799b1a5ef9512e57e", + "version" : { + "id" : "4.0", + "label" : "4.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + }, { + "id" : "2.0", + "label" : "2.0" + }, { + "id" : "3.0", + "label" : "3.0" + }, { + "id" : "4.0", + "label" : "4.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + }, { + "id" : "2.0", + "label" : "2.0" + }, { + "id" : "3.0", + "label" : "3.0" + }, { + "id" : "4.0", + "label" : "4.0" + } ] + }, { + "vendorName" : "test-vendor", + "description" : "test ", + "iconRef" : "icon", + "id" : "fc0fdcc825a54ca3b08e40f473b72d05", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "0138a2e2-52bf-4f0b-81cd", + "description" : "vendor license model", + "iconRef" : "icon", + "id" : "b66c5e1b4af3432ca2f6cd05adf72340", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "48fa02ef-e79b-4707-895e", + "description" : "vendor license model", + "iconRef" : "icon", + "id" : "34c2c72e992742e3b7ceb78bfcd21ebb", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "1e5d1422-1f5f-42fe-a98e", + "description" : "vendor license model", + "iconRef" : "icon", + "id" : "4bbd11c581ce4bb187a0a37131e5bb60", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "3029be5e-9135-4083-bd2e", + "description" : "vendor license model", + "iconRef" : "icon", + "id" : "1329476d73014587839fd3ede08c3103", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "c6ba2ef6-fe82-4f32-ad50", + "description" : "vendor license model", + "iconRef" : "icon", + "id" : "2ca684a9805b40f9993239e77b82fb52", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "01eb54a1-f1ff-41a2-aafc", + "description" : "vendor license model", + "iconRef" : "icon", + "id" : "1a49df7b78654777a71f64f2c6c2468f", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "a920b10d-c516-4380-835a", + "description" : "vendor license model", + "iconRef" : "icon", + "id" : "5e571e8a25c8404da04f2a0ec179f576", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense7d8bbcab", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "4b1e1efd8bb944bdbc0c3e74a9402967", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense09c55d35", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "816c04fd4ee849f2b80435e0944189fa", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense6bfd9421", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "9408208f5b6d4eb997dff1b901f1fb95", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense81acf730", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "eda4e9d1cae14cad95befc1728629574", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicensef3f5a4fa", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "022140c2dc4e40bbae096aa1fb5cfbe9", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense9fddd8db", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "19f92b345cae423ab4ea6c5527d55ef6", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicense9a46fd22", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "492d9259fc3e493d8fa6afd488054508", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicensed955b6d7", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "a5da3e50ed72483fbfb134bac84b31f6", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + }, { + "vendorName" : "ciLicensef21d8db3", + "description" : "new vendor license model", + "iconRef" : "icon", + "id" : "9ff65b0b943141a7b99481bbcaedc294", + "version" : { + "id" : "1.0", + "label" : "1.0" + }, + "status" : "Final", + "viewableVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ], + "finalVersions" : [ { + "id" : "1.0", + "label" : "1.0" + } ] + } ] + } + } +} ]
\ No newline at end of file diff --git a/products/onap-beijing/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-list-schema-beijing-sample.yaml b/products/onap-beijing/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-list-schema-beijing-sample.yaml new file mode 100644 index 00000000..0e7682ec --- /dev/null +++ b/products/onap-beijing/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-list-schema-beijing-sample.yaml @@ -0,0 +1,94 @@ +# Copyright 2018 Huawei Technologies Co., Ltd. +# +# 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: vlm-list +version: onap-beijing +samples: + sample1: + name: vlm-list + input: --long + moco: vlm-list-schema-1.1-moco.json + output: | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |id |vendor-name |vlm-version |status |description | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |b5ea95a60e3b483da03d0911968cd778 |ciLicensef008e06a |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |84352b5d014c4d5382ce856d7597aebf |ciLicense5c11752c |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |8e13a8b2e1f34374ad578edc9c912f11 |ciLicenseaf880546 |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |9f7053ae1aa04b8c9fa3d991f944a49b |ciLicensecce293bb |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |3f47950121bf4e31a058b4870020bc2f |ciLicense7d28e221 |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |6fc132eca87d4e49b56357b9d83843a5 |ciLicense02ddba7e |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |0094601590ec4e709e560e928c44232a |ciLicense9acc959f |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |8f82813eb6304957911955e077d9be6f |ciLicensee5394ee2 |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |b620898b5e5e4231a30a2ccecd39927e |ciLicense3eed3665 |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |12cce4998b874d5e8096070f9c5d7395 |ciLicense372060ea |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |78fd596a39534d51953e867adaef78f6 |ciLicense36e962a4 |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |651180d666c54887880b673884e03481 |ciLicensef9a1b52b |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |dd10e18e3af54234a20897ad65bfa311 |ciLicense76f62092 |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |cf2d907d998e44698ce3b4cded5f66a7 |kanag-cli |2.0 |Final |First License created from CLI | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |144497a1b7924e0fa73004573730e1b8 |Test |0.1 |Locked |test | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |9af398f516da4e63b4ec8d344866533b |4718de22-00d3-4607-b666 |1.0 |Final |vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |1173c7be5fea4db799b1a5ef9512e57e |Kanag |4.0 |Final |Kanagaraj M @ HTIPL | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |fc0fdcc825a54ca3b08e40f473b72d05 |test-vendor |1.0 |Final |test | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |b66c5e1b4af3432ca2f6cd05adf72340 |0138a2e2-52bf-4f0b-81cd |1.0 |Final |vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |34c2c72e992742e3b7ceb78bfcd21ebb |48fa02ef-e79b-4707-895e |1.0 |Final |vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |4bbd11c581ce4bb187a0a37131e5bb60 |1e5d1422-1f5f-42fe-a98e |1.0 |Final |vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |1329476d73014587839fd3ede08c3103 |3029be5e-9135-4083-bd2e |1.0 |Final |vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |2ca684a9805b40f9993239e77b82fb52 |c6ba2ef6-fe82-4f32-ad50 |1.0 |Final |vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |1a49df7b78654777a71f64f2c6c2468f |01eb54a1-f1ff-41a2-aafc |1.0 |Final |vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |5e571e8a25c8404da04f2a0ec179f576 |a920b10d-c516-4380-835a |1.0 |Final |vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |4b1e1efd8bb944bdbc0c3e74a9402967 |ciLicense7d8bbcab |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |816c04fd4ee849f2b80435e0944189fa |ciLicense09c55d35 |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |9408208f5b6d4eb997dff1b901f1fb95 |ciLicense6bfd9421 |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |eda4e9d1cae14cad95befc1728629574 |ciLicense81acf730 |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |022140c2dc4e40bbae096aa1fb5cfbe9 |ciLicensef3f5a4fa |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |19f92b345cae423ab4ea6c5527d55ef6 |ciLicense9fddd8db |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |492d9259fc3e493d8fa6afd488054508 |ciLicense9a46fd22 |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |a5da3e50ed72483fbfb134bac84b31f6 |ciLicensed955b6d7 |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ + |9ff65b0b943141a7b99481bbcaedc294 |ciLicensef21d8db3 |1.0 |Final |new vendor license model | + +----------------------------------+--------------------------+--------------+--------+--------------------------------+ diff --git a/products/onap-beijing/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-list-schema-beijing.yaml b/products/onap-beijing/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-list-schema-beijing.yaml new file mode 100644 index 00000000..4f4b141f --- /dev/null +++ b/products/onap-beijing/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-list-schema-beijing.yaml @@ -0,0 +1,64 @@ +# Copyright 2018 Huawei Technologies Co., Ltd. +# +# 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_schema_version: 1.0 +name: vlm-list +description: List License Model + +info: + product: onap-beijing + service: sdc + author: ONAP CLI Team onap-discuss@lists.onap.org + + +results: + direction: landscape + attributes: + - name: id + description: License ID + scope: short + type: uuid + - name: vendor-name + description: Vendor Name + scope: short + type: string + - name: vlm-version + description: VLM version + scope: long + type: string + - name: status + description: status + scope: short + type: string + - name: description + description: License description + scope: long + type: string +http: + service: + name: sdc + version: v1.0 + auth: basic + mode: direct + request: + uri: /onboarding-api/v1.0/vendor-license-models + method: GET + success_codes: + - 200 + result_map: + id: $b{$.results.[*].id} + vendor-name: $b{$.results.[*].vendorName} + vlm-version: $b{$.results.[*].version.id} + status: $b{$.results.[*].status} + description: $b{$.results.[*].description}
\ No newline at end of file |