From: Kanagaraj Manickam Date: Thu, 29 Aug 2019 11:13:29 +0000 (+0530) Subject: service2vf-model-list updates X-Git-Tag: 4.0.0~58 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e6ec42a898a45d328256d7e79cf9c489ba0f3695;p=cli.git service2vf-model-list updates Change-Id: I20e0816f3372b18a1c162bed92804901db8f70b7 Issue-ID: CLI-166 Signed-off-by: Kanagaraj Manickam k00365106 --- diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service2vf-model-list-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service2vf-model-list-schema-dublin.yaml index 2241e05c..f2c67371 100644 --- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service2vf-model-list-schema-dublin.yaml +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service2vf-model-list-schema-dublin.yaml @@ -18,16 +18,16 @@ description: List the VF in a given service model in SDC info: product: onap-dublin - service: sdc + service: sdc.catalog author: ONAP CLI Team onap-discuss@lists.onap.org parameters: - - name: service-model-id + - name: service-id description: Service model uuid type: string short_option: z - long_option: service-model-id + long_option: service-id is_optional: false results: @@ -49,7 +49,7 @@ results: description: version type: string scope: short - - name: vf-unique-uuid + - name: vf-id description: customization UUID type: string scope: short @@ -61,12 +61,12 @@ http: auth: basic mode: direct request: - uri: /sdc2/rest/v1/catalog/services/${service-model-id} + uri: /sdc2/rest/v1/catalog/services/${service-id} method: GET success_codes: - 200 result_map: - vf-unique-uuid: $b{componentInstances.[*].uniqueId} + vf-id: $b{componentInstances.[*].uniqueId} vf-uuid: $b{componentInstances.[*].componentUid} vf-name: $b{componentInstances.[*].componentName} vf-version: $b{componentInstances.[*].componentVersion}