aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/main/resources
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2017-10-13 09:15:30 +0000
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2017-10-16 05:38:58 +0000
commitf94566f788525068ff2c0ed2040dc658d1fcfd7a (patch)
tree443dc5362b8c3f20a2a9b32c0d97bd94feb42905 /plugins/sdc/src/main/resources
parent0e89c1fbeb6618a1a4218c7c78506dff6f71dd6d (diff)
Impement CMD yaml for fetching license
Implement CMD yaml for fetching license yaml from SDC. Change-Id: I3cecf6b6a1069b2d8d0c42ec141114d9649101fa Issue-ID: CLI-53 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'plugins/sdc/src/main/resources')
-rw-r--r--plugins/sdc/src/main/resources/onap-cli-schema/license-models/license-model-show-schema-1.1.yaml45
1 files changed, 45 insertions, 0 deletions
diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/license-models/license-model-show-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/license-models/license-model-show-schema-1.1.yaml
new file mode 100644
index 00000000..8e4c27b5
--- /dev/null
+++ b/plugins/sdc/src/main/resources/onap-cli-schema/license-models/license-model-show-schema-1.1.yaml
@@ -0,0 +1,45 @@
+open_cli_schema_version: 1.0
+name: license-model-show
+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: icon-ref
+ description: icon ref
+ 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}
+ icon-ref: $b{$.results.[*].iconRef}
+ status: $b{$.results.[*].status}
+ description: $b{$.results.[*].description} \ No newline at end of file