aboutsummaryrefslogtreecommitdiffstats
path: root/products
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2019-08-29 16:43:29 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-08-29 16:43:29 +0530
commite6ec42a898a45d328256d7e79cf9c489ba0f3695 (patch)
tree7c209e29bf666ff69af3762eefb9a72f9a8a5661 /products
parentbbd13a311754218081ce224c885b73e2ff1f09be (diff)
service2vf-model-list updates
Change-Id: I20e0816f3372b18a1c162bed92804901db8f70b7 Issue-ID: CLI-166 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products')
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service2vf-model-list-schema-dublin.yaml12
1 files changed, 6 insertions, 6 deletions
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}