diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-10-30 14:14:00 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-10-30 14:14:00 +0530 |
commit | 13a77325bb60dd805de712638aafff5d0582d532 (patch) | |
tree | a40cf1af1ac6ae018d7587b3e77e636d5a3ce17f /plugins/sdc/src/main/resources | |
parent | f7fa9905cb923e5ada43ac78dc5a3e26dfbf9b8b (diff) |
Add vlm-list 1.1 with samples
CLI-57
Change-Id: I4ae1716d8f7fe05a4f23abc05ccd2cf454e79df6
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/sdc/src/main/resources')
-rw-r--r-- | plugins/sdc/src/main/resources/onap-cli-schema/vlm/vlm-list-schema-1.1.yaml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vlm/vlm-list-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vlm/vlm-list-schema-1.1.yaml new file mode 100644 index 00000000..e8944955 --- /dev/null +++ b/plugins/sdc/src/main/resources/onap-cli-schema/vlm/vlm-list-schema-1.1.yaml @@ -0,0 +1,45 @@ +open_cli_schema_version: 1.0 +name: vlm-list +description: List License Model +version: onap-1.1 +service: + name: sdc + version: v1.0 + auth: basic + mode: direct + +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: + 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 |