diff options
Diffstat (limited to 'plugins/sdc/src/main/resources/onap-cli-schema')
-rw-r--r-- | plugins/sdc/src/main/resources/onap-cli-schema/service-model/service-model-list-schema-1.1.yaml | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/service-model/service-model-list-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/service-model/service-model-list-schema-1.1.yaml new file mode 100644 index 00000000..315f800f --- /dev/null +++ b/plugins/sdc/src/main/resources/onap-cli-schema/service-model/service-model-list-schema-1.1.yaml @@ -0,0 +1,57 @@ +open_cli_schema_version: 1.0 +name: service-model-list +description: List the service model in SDC +version: onap-1.1 +service: + name: sdc + version: v1.0 + auth: basic + mode: direct + +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: + 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} + |