diff options
author | 2020-04-23 19:03:20 +0800 | |
---|---|---|
committer | 2020-04-23 19:03:49 +0800 | |
commit | 070a79ca528ce774a8ace8abef7f83897e32efbf (patch) | |
tree | 10eacd429d303d551846c54ee0a7d9412ea52620 /products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog | |
parent | 5d5c63058d95c4044a9d73d1edb1648f75de839f (diff) |
Update vfc cli
Issue-ID: CLI-268
Change-Id: Ib66d4cd23b811aee91630608d85a5df797f7d06e
Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
Diffstat (limited to 'products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog')
-rw-r--r-- | products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog/vfc-catalog-get-ns-descriptors-schema.yaml | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog/vfc-catalog-get-ns-descriptors-schema.yaml b/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog/vfc-catalog-get-ns-descriptors-schema.yaml index e0036a8f..dbb14e4f 100644 --- a/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog/vfc-catalog-get-ns-descriptors-schema.yaml +++ b/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog/vfc-catalog-get-ns-descriptors-schema.yaml @@ -32,6 +32,10 @@ parameters: results: direction: landscape attributes: + - name: id + description: ns package id + scope: short + type: string - name: nsd-info-id description: nsd-info-id scope: short @@ -40,25 +44,25 @@ results: description: nsd-name scope: short type: string - - name: nsd-description - description: nsd-description + - name: nsd-onboarding-state + description: nsd-onboarding-state scope: short type: string - - name: ns-package-id - description: ns-package-id + - name: vnf-package-ids + description: vnf-package-ids scope: short - type: string - - name: sdc-csar-id - description: sdc-csar-id + type: array + - name: pnf-package-ids + description: pnf-package-ids scope: short - type: string + type: array http: service: auth: none mode: direct request: - uri: api/nsd/v1/ns_descriptors/${nsd-info-id} + uri: /api/nsd/v1/ns_descriptors/${nsd-info-id} method: GET context: remove_empty_node: true @@ -69,8 +73,9 @@ http: success_codes: - 200 result_map: + id: $b{$.id} nsd-info-id: $b{$.nsdId} nsd-name: $b{$.nsdName} - nsd-description: $b{$.nsdDescription} - ns-package-id: $b{$.nsPackageId} - sdc-csar-id: $b{$.sdcCsarId } + nsd-onboarding-state: $b{$.nsdOnboardingState} + vnf-package-ids: $b{$.vnfPkgIds} + pnf-package-ids: $b{$.pnfdInfoIds} |