From facc47233a70e6d347ef503b2e927c4778a736ea Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Tue, 10 Apr 2018 16:33:04 +0530 Subject: Fix service model creation with correct host user Issue-ID: CLI-100 Change-Id: I717c8b822c93260ed2a1b06003e6e473333cc783 Signed-off-by: Kanagaraj Manickam k00365106 --- .../service-model/service-model-create-schema-beijing.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'products/onap-beijing/features') diff --git a/products/onap-beijing/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-create-schema-beijing.yaml b/products/onap-beijing/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-create-schema-beijing.yaml index 0705b04e..685fc390 100644 --- a/products/onap-beijing/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-create-schema-beijing.yaml +++ b/products/onap-beijing/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-create-schema-beijing.yaml @@ -79,7 +79,7 @@ http: request: uri: /sdc2/rest/v1/catalog/services method: POST - body: '{"componentType": "SERVICE", "properties": [], "requirements": {}, "toscaArtifacts": {}, "tags": ["CLI", "${name}"], "artifacts": {}, "description": "${description}", "serviceApiArtifacts": {}, "capabilities": {}, "name": "${name}", "componentInstancesProperties": {}, "componentInstancesAttributes": {}, "contactId": "${onap-username}", "groups": [], "projectCode": "${project-code}", "deploymentArtifacts": {}, "attributes": [], "componentInstances": [], "categories": [{"normalizedName": "${category}", "name": "${category-display-name}", "uniqueId": "serviceNewCategory.${category}", "icons": ["${icon-id}"]}], "icon": "${icon-id}"}' + body: '{"componentType": "SERVICE", "properties": [], "requirements": {}, "toscaArtifacts": {}, "tags": ["CLI", "${name}"], "artifacts": {}, "description": "${description}", "serviceApiArtifacts": {}, "capabilities": {}, "name": "${name}", "componentInstancesProperties": {}, "componentInstancesAttributes": {}, "contactId": "${host-username}", "groups": [], "projectCode": "${project-code}", "deploymentArtifacts": {}, "attributes": [], "componentInstances": [], "categories": [{"normalizedName": "${category}", "name": "${category-display-name}", "uniqueId": "serviceNewCategory.${category}", "icons": ["${icon-id}"]}], "icon": "${icon-id}"}' success_codes: - 200 - 201 -- cgit 1.2.3-korg