aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog/vfc-catalog-get-vnf-schema.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog/vfc-catalog-get-vnf-schema.yaml')
-rw-r--r--products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog/vfc-catalog-get-vnf-schema.yaml41
1 files changed, 4 insertions, 37 deletions
diff --git a/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog/vfc-catalog-get-vnf-schema.yaml b/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog/vfc-catalog-get-vnf-schema.yaml
index 2727b52f..8f2c05f1 100644
--- a/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog/vfc-catalog-get-vnf-schema.yaml
+++ b/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/catalog/vfc-catalog-get-vnf-schema.yaml
@@ -21,39 +21,11 @@ info:
service: vfc
author: ONAP HPA Integration Team (haibin.huang@intel.com)
-parameters:
- - name: vnf-csar-uuid
- description: vnf's uuid of csar file
- type: string
- short_option: c
- long_option: vnf-csar-uuid
- is_optional: false
-
results:
direction: landscape
attributes:
- - name: vnfd-id
- description: vnfd-id
- scope: short
- type: string
- - name: vnf-package-id
- description: vnf-package-id
- scope: short
- type: string
- - name: vnfd-provider
- description: vnfd-provider
- scope: short
- type: string
- - name: vnfd-version
- description: vnfd-version
- scope: short
- type: string
- - name: vnf-version
- description: vnf-version
- scope: short
- type: string
- - name: csar-name
- description: csar-name
+ - name: csar-id
+ description: csar-id
scope: short
type: string
@@ -62,7 +34,7 @@ http:
auth: none
mode: direct
request:
- uri: /api/catalog/v1/vnfpackages/${vnf-csar-uuid}
+ uri: /api/catalog/v1/vnfpackages
method: GET
context:
remove_empty_node: true
@@ -73,9 +45,4 @@ http:
success_codes:
- 200
result_map:
- vnfd-id: $b{$.packageInfo.vnfdId}
- vnf-package-id: $b{$.packageInfo.vnfPackageId}
- vnfd-provider: $b{$.packageInfo.vnfdProvider}
- vnfd-version: $b{$.packageInfo.vnfdVersion}
- vnf-version: $b{$.packageInfo.vnfVersion}
- csar-name: $b{$.packageInfo.csarName}
+ csar-id: $b{$.[*].csarId}