summaryrefslogtreecommitdiffstats
path: root/products/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-list-schema-1.1.yaml
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-12-11 20:34:44 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-12-12 15:48:55 +0530
commit0d97a835fa2052ded5a31e8921baf641c8e9bb57 (patch)
tree800584529f77c8ff26f05a73abd3fa71205a69a7 /products/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-list-schema-1.1.yaml
parent03c54a40daf75644ec0bcbc73636e3eb427c1604 (diff)
Make Http as separate plugin
Issue-ID: CLI-66 Change-Id: I8ad78f417f6dbb00e29effdd3ed8ec1939aee81d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-list-schema-1.1.yaml')
-rw-r--r--products/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-list-schema-1.1.yaml62
1 files changed, 62 insertions, 0 deletions
diff --git a/products/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-list-schema-1.1.yaml b/products/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-list-schema-1.1.yaml
new file mode 100644
index 00000000..2e1bccea
--- /dev/null
+++ b/products/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-list-schema-1.1.yaml
@@ -0,0 +1,62 @@
+open_cli_schema_version: 1.0
+name: service-model-list
+description: List the service model in SDC
+
+info:
+ product: onap-amsterdam
+ service: sdc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+
+results:
+ direction: landscape
+ attributes:
+ - name: uuid
+ description: UUID
+ type: string
+ scope: short
+ - name: invariant-uuid
+ description: Invariant UUID
+ type: string
+ scope: short
+ - name: name
+ description: Name
+ type: string
+ scope: short
+ - name: version
+ description: version
+ type: string
+ scope: short
+ - name: status
+ description: status
+ type: string
+ scope: short
+ - name: distribution-status
+ description: status
+ type: string
+ scope: short
+ - name: description
+ description: description
+ type: string
+ scope: long
+
+http:
+ service:
+ name: sdc
+ version: v1.0
+ auth: basic
+ mode: direct
+ request:
+ uri: /sdc2/rest/v1/followed
+ method: GET
+ success_codes:
+ - 200
+ result_map:
+ uuid: $b{services.[*].uniqueId}
+ invariant-uuid: $b{services.[*].invariantUUID}
+ version: $b{services.[*].version}
+ name: $b{services.[*].name}
+ status: $b{services.[*].lifecycleState}
+ description: $b{services.[*].description}
+ distribution-status: $b{services.[*].distributionStatus}
+