diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-10-27 06:32:46 +0000 |
---|---|---|
committer | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-10-31 10:43:55 +0000 |
commit | d6ded0411900b3fcaee6f00b055915ffc8375535 (patch) | |
tree | 296b1ceb8982f7f27a2ccdb8411c4b1a148aad24 /plugins/so/src/test/resources/onap-cli-sample/services/service-create-schema-1.1-moco.json | |
parent | bb854b4b1ee71c9a3bbe20a587e3031c31a44730 (diff) |
Fix service-create command
Fix service-create command arguments for SO.
Issue-ID: CLI-15
Change-Id: I9b36d092cfbaab1cf5de55a431613536c79fff5c
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'plugins/so/src/test/resources/onap-cli-sample/services/service-create-schema-1.1-moco.json')
-rw-r--r-- | plugins/so/src/test/resources/onap-cli-sample/services/service-create-schema-1.1-moco.json | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/plugins/so/src/test/resources/onap-cli-sample/services/service-create-schema-1.1-moco.json b/plugins/so/src/test/resources/onap-cli-sample/services/service-create-schema-1.1-moco.json new file mode 100644 index 00000000..28321085 --- /dev/null +++ b/plugins/so/src/test/resources/onap-cli-sample/services/service-create-schema-1.1-moco.json @@ -0,0 +1,48 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/ecomp/mso/infra/serviceInstances/v3", + "headers" : { + "Authorization" : "Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==", + "X-FromAppId" : "onap-cli", + "Accept" : "application/json", + "X-TransactionId" : "req-0dc01d80-f629-4ea9-b49f-0bc45b79bfaf", + "Content-Type" : "application/json" + }, + "json" : { + "requestDetails" : { + "cloudConfiguration" : { + "lcpCloudRegionId" : "RegionOne", + "tenantId" : "onap" + }, + "modelInfo" : { + "modelType" : "service", + "modelInvariantId" : "1de901ed-17af-4b03-bc1f-41659cfa27cb", + "modelNameVersionId" : "ace39141-09ec-4068-b06d-ac6b23bdc6e0", + "modelName" : "demoVLB", + "modelVersion" : "1.0" + }, + "subscriberInfo" : { + "globalSubscriberId" : "Demonstration" + }, + "requestInfo" : { + "instanceName" : "sample-service-onap-cli-13", + "source" : "VID", + "suppressRollback" : "false" + }, + "requestParameters" : { + "subscriptionServiceType" : "vLB" + } + } + } + }, + "response" : { + "status" : 202, + "json" : { + "requestReferences" : { + "instanceId" : "957949b4-f857-497c-81b0-832ce7bb9434", + "requestId" : "d59fc98a-b0fa-4de9-b426-6ef40dfd0812" + } + } + } +} ]
\ No newline at end of file |