diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2018-05-08 13:03:52 +0000 |
---|---|---|
committer | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2018-05-08 13:03:52 +0000 |
commit | 17d656ff8e763597fe251dac833a321843aa1c5e (patch) | |
tree | 877006a74e008904ba281ce2a31efd2d07151627 | |
parent | afee52bf41656a4f639ec4c140015e58193ba222 (diff) |
Fix service delete command for SO v4 version
Fix service delete command for SO v4 version.
Change-Id: I4685ea882bb70468df14d1c77de1455dda6443be
Issue-ID: CLI-63
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
-rw-r--r-- | products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/service-delete-schema-beijing.yaml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/service-delete-schema-beijing.yaml b/products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/service-delete-schema-beijing.yaml index 7cb2604d..d8c04dbb 100644 --- a/products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/service-delete-schema-beijing.yaml +++ b/products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/service-delete-schema-beijing.yaml @@ -71,6 +71,12 @@ parameters: short_option: k long_option: tenant-id is_optional: false + - name: requestor-id + description: requestor ID + type: string + short_option: r + long_option: requestor-id + is_optional: false http: service: @@ -81,7 +87,7 @@ http: request: uri: /ecomp/mso/infra/serviceInstances/v4/${service-id} method: DELETE - body: '{"requestDetails": {"modelInfo": {"modelType": "service","modelInvariantId": "${model-invariant-id}","modelVersionId": "${model-uuid}","modelName": "${model-name}","modelVersion": "${model-version}"},"cloudConfiguration" : {"lcpCloudRegionId": "${cloud-region}","tenantId": "${tenant-id}"},"subscriberInfo": {"globalSubscriberId": "${customer-name}"},"requestInfo": {"source": "VID"}}}' + body: '{"requestDetails": {"modelInfo": {"modelType": "service","modelInvariantId": "${model-invariant-id}","modelVersionId": "${model-uuid}","modelName": "${model-name}","modelVersion": "${model-version}"},"cloudConfiguration" : {"lcpCloudRegionId": "${cloud-region}","tenantId": "${tenant-id}"},"subscriberInfo": {"globalSubscriberId": "${customer-name}"},"requestInfo": {"requestorId": "${requestor-id}","source": "VID"}}}' success_codes: - - 202
\ No newline at end of file + - 202 |