From bc5cb763d06f656530c7661f747a874b36d81d62 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Tue, 31 Oct 2017 15:52:16 +0530 Subject: List VF from SDC 1.1 CLI-57 Change-Id: I0f210c7bc3ba766f4532bda16bc3c97bdbf4101c Signed-off-by: Kanagaraj Manickam k00365106 --- .../vf/vf-model-list-schema-1.1.yaml | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-list-schema-1.1.yaml (limited to 'plugins/sdc/src/main/resources') diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-list-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-list-schema-1.1.yaml new file mode 100644 index 00000000..e43ff9c8 --- /dev/null +++ b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-list-schema-1.1.yaml @@ -0,0 +1,52 @@ +open_cli_schema_version: 1.0 +name: vf-model-list +description: List the VF resource 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: description + description: description + type: string + scope: long + +http: + request: + uri: /sdc2/rest/v1/followed + method: GET + success_codes: + - 200 + result_map: + uuid: $b{resources.[*].uniqueId} + invariant-uuid: $b{resources.[*].invariantUUID} + version: $b{resources.[*].version} + name: $b{resources.[*].name} + status: $b{resources.[*].lifecycleState} + description: $b{resources.[*].description} + -- cgit 1.2.3-korg