From 98419c1e93ce3c5a21048b613f854780dc0da760 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Tue, 10 Apr 2018 16:32:13 +0530 Subject: Fix vf model creation with correct host username Issue-ID: CLI-100 Change-Id: I2216d42b05d8f3fdf968c6ffd7b3cba4efb42637 Signed-off-by: Kanagaraj Manickam k00365106 --- .../resources/open-cli-schema/vf/vf-model-create-schema-beijing.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit 1.2.3-korg