From ff542a73e55ee65c89ef653557996e9b5c04d4e9 Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Thu, 3 May 2018 11:30:26 +0000 Subject: Update moco schema for service-create Update moco schema for service-create Change-Id: I1bdafb59cefb75e17b2f173162cb665e6007e9ed Issue-ID: CLI-63 Signed-off-by: subhash kumar singh --- .../service-create-schema-beijing-moco.json | 41 ++++++++++++---------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-create-schema-beijing-moco.json b/products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-create-schema-beijing-moco.json index 28321085..fc6eb197 100644 --- a/products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-create-schema-beijing-moco.json +++ b/products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-create-schema-beijing-moco.json @@ -1,7 +1,7 @@ [ { "request" : { "method" : "post", - "uri" : "/ecomp/mso/infra/serviceInstances/v3", + "uri" : "/ecomp/mso/infra/serviceInstances/v4", "headers" : { "Authorization" : "Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==", "X-FromAppId" : "onap-cli", @@ -10,28 +10,31 @@ "Content-Type" : "application/json" }, "json" : { - "requestDetails" : { - "cloudConfiguration" : { - "lcpCloudRegionId" : "RegionOne", - "tenantId" : "onap" + "requestDetails": { + "cloudConfiguration": { + "lcpCloudRegionId": "RegionOne", + "tenantId": "60817ff9baa547d5857a6b7ff0dc567b" }, - "modelInfo" : { - "modelType" : "service", - "modelInvariantId" : "1de901ed-17af-4b03-bc1f-41659cfa27cb", - "modelNameVersionId" : "ace39141-09ec-4068-b06d-ac6b23bdc6e0", - "modelName" : "demoVLB", - "modelVersion" : "1.0" + "modelInfo": { + "modelType": "service", + "modelInvariantId": "f812e618-3abf-4c7a-901e-f2820a73eb2e", + "modelNameVersionId": "84ad850a-3d0b-451d-b97b-083bbf39890d", + "modelName": "demoVLB", + "modelVersion": "1.0", + "modelVersionId": "7b-083bbf39890" }, - "subscriberInfo" : { - "globalSubscriberId" : "Demonstration" + "subscriberInfo": { + "globalSubscriberId": "Demonstration" }, - "requestInfo" : { - "instanceName" : "sample-service-onap-cli-13", - "source" : "VID", - "suppressRollback" : "false" + "requestInfo": { + "requestorId": "234624", + "instanceName": "service-vlb-instance-1", + "source": "VID", + "suppressRollback": "false" }, - "requestParameters" : { - "subscriptionServiceType" : "vLB" + "requestParameters": { + "subscriptionServiceType": "vlb", + "aLaCarte": true } } } -- cgit 1.2.3-korg