aboutsummaryrefslogtreecommitdiffstats
path: root/products
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-04-10 16:32:13 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-04-23 10:50:19 +0530
commit98419c1e93ce3c5a21048b613f854780dc0da760 (patch)
treebfd617a12fc3e655c4bee4bb3c324cde29540ea3 /products
parent7bc7c04cbd930358ab498a319c60f40bd9f9a2a0 (diff)
Fix vf model creation with correct host username
Issue-ID: CLI-100 Change-Id: I2216d42b05d8f3fdf968c6ffd7b3cba4efb42637 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products')
-rw-r--r--products/onap-beijing/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-beijing.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/products/onap-beijing/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-beijing.yaml b/products/onap-beijing/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-beijing.yaml
index 858dee8e..782bb5a0 100644
--- a/products/onap-beijing/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-beijing.yaml
+++ b/products/onap-beijing/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-beijing.yaml
@@ -69,7 +69,7 @@ http:
request:
uri: /sdc2/rest/v1/catalog/resources
method: POST
- body: '{"contactId": "${onap-username}", "vendorRelease": "1.0", "requirements": {}, "artifacts": {}, "capabilities": {}, "componentInstancesProperties": {}, "deploymentArtifacts": {}, "icon": "defaulticon", "vendorName": "${vendor-name}", "description": "${description}", "tags": ["CLI", "${name}"], "groups": [], "properties": [], "categories": [{"subcategories": [{"normalizedName": "abstract", "name": "Abstract", "uniqueId": "resourceNewCategory.generic.abstract", "icons": ["database"]}], "normalizedName": "generic", "name": "Generic", "uniqueId": "resourceNewCategory.generic"}], "name": "${name}", "toscaArtifacts": {}, "csarUUID": "${vsp-id}", "resourceType": "VF", "csarVersion": "${vsp-version}", "componentType": "RESOURCE", "componentInstancesAttributes": {}, "attributes": [], "componentInstances": []}'
+ body: '{"contactId": "${host-username}", "vendorRelease": "1.0", "requirements": {}, "artifacts": {}, "capabilities": {}, "componentInstancesProperties": {}, "deploymentArtifacts": {}, "icon": "defaulticon", "vendorName": "${vendor-name}", "description": "${description}", "tags": ["CLI", "${name}"], "groups": [], "properties": [], "categories": [{"subcategories": [{"normalizedName": "abstract", "name": "Abstract", "uniqueId": "resourceNewCategory.generic.abstract", "icons": ["database"]}], "normalizedName": "generic", "name": "Generic", "uniqueId": "resourceNewCategory.generic"}], "name": "${name}", "toscaArtifacts": {}, "csarUUID": "${vsp-id}", "resourceType": "VF", "csarVersion": "${vsp-version}", "componentType": "RESOURCE", "componentInstancesAttributes": {}, "attributes": [], "componentInstances": []}'
success_codes:
- 201
result_map: