From d9a02d3c870e72755ad14bb717daa9ec236480ba Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Thu, 2 Nov 2017 14:17:18 +0530 Subject: Test VF model in SDC and cerify it CLI-57 Change-Id: I71903c7d5cf5a6eb6ad531b7151d33b49b009b36 Signed-off-by: Kanagaraj Manickam k00365106 --- .../vf/vf-model-certify-start-schema-1.1.yaml | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-start-schema-1.1.yaml (limited to 'plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-start-schema-1.1.yaml') diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-start-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-start-schema-1.1.yaml new file mode 100644 index 00000000..f37a1af0 --- /dev/null +++ b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-start-schema-1.1.yaml @@ -0,0 +1,26 @@ +open_cli_schema_version: 1.0 +name: vf-model-certify-start +description: Start certifying Virtual function +version: onap-1.1 +service: + name: sdc + version: v1.0 + auth: basic + mode: direct + +parameters: + - name: vf-id + description: VF ID + type: string + long_option: vf-id + short_option: b + is_optional: true + +http: + request: + uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/startCertification + method: POST + body: '{}' + success_codes: + - 200 + -- cgit 1.2.3-korg