diff options
author | 2018-05-09 06:21:05 +0000 | |
---|---|---|
committer | 2018-05-09 06:21:05 +0000 | |
commit | 6eabdeab92e93019c7d36573132c3f62a6d9a4f3 (patch) | |
tree | 2e56aba91a36f66de0f8769ff00eb5213a792180 /products/onap-beijing/features/so/src/main/resources/open-cli-sample/services | |
parent | ade24264e58b0f58cf954dc2956a2947fe443d0c (diff) | |
parent | d523db76fd3b890c6df8803008699e9f8d3731bf (diff) |
Merge changes I0e61bb7d,I4685ea88,I2a23d940
* changes:
Add moco json for service delete command
Fix service delete command for SO v4 version
Fix service delete sample for v4 SO apis
Diffstat (limited to 'products/onap-beijing/features/so/src/main/resources/open-cli-sample/services')
2 files changed, 45 insertions, 1 deletions
diff --git a/products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-delete-sample-beijing.yaml b/products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-delete-sample-beijing.yaml index a279fb08..9d244009 100644 --- a/products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-delete-sample-beijing.yaml +++ b/products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-delete-sample-beijing.yaml @@ -19,4 +19,4 @@ version: onap-beijing samples: sample1: name: delete a service instance - input: -h https://locahost:8080 -u InfraPortalClient -p password1$ -s 56AA445
\ No newline at end of file + input: --model-name sample-model --model-invariant-id 0561a325-a64b-47ab-86f4-000000000429 --cloud-region Region1 --service-instace-id 0561a325-a64b-47ab-86f4-000000000439 --model-uuid 0561a325-a64b-47ab-86f4-000000000449 --customer-name sample-customer --model-version 1.0 --tenant-id onap -r 0561a325-a64b-47ab-86f4-000000000459
\ No newline at end of file diff --git a/products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-delete-schema-beijing-moco.json b/products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-delete-schema-beijing-moco.json new file mode 100644 index 00000000..eda897ae --- /dev/null +++ b/products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-delete-schema-beijing-moco.json @@ -0,0 +1,44 @@ +[ { + "request" : { + "method" : "delete", + "uri" : "/ecomp/mso/infra/serviceInstances/v4/0561a325-a64b-47ab-86f4-000000000439", + "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": { + "modelInfo": { + "modelType": "service", + "modelInvariantId": "0561a325-a64b-47ab-86f4-000000000429", + "modelVersionId": "0561a325-a64b-47ab-86f4-000000000449", + "modelName": "sample-model", + "modelVersion": "1.0" + }, + "cloudConfiguration": { + "lcpCloudRegionId": "Region1", + "tenantId": "onap" + }, + "subscriberInfo": { + "globalSubscriberId": "sample-customer" + }, + "requestInfo": { + "requestorId": "0561a325-a64b-47ab-86f4-000000000459", + "source": "VID" + } + } + } + }, + "response" : { + "status" : 202, + "json" : { + "requestReferences" : { + "instanceId" : "957949b4-f857-497c-81b0-832ce7bb9434", + "requestId" : "d59fc98a-b0fa-4de9-b426-6ef40dfd0812" + } + } + } +} ]
\ No newline at end of file |