diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-04-10 16:33:04 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-04-23 10:50:19 +0530 |
commit | facc47233a70e6d347ef503b2e927c4778a736ea (patch) | |
tree | 20fa85d4cbfd0f4e4b4469ca4b34d929b9101b4b | |
parent | 98419c1e93ce3c5a21048b613f854780dc0da760 (diff) |
Fix service model creation with correct host user
Issue-ID: CLI-100
Change-Id: I717c8b822c93260ed2a1b06003e6e473333cc783
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r-- | products/onap-beijing/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-create-schema-beijing.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |