From 17d656ff8e763597fe251dac833a321843aa1c5e Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Tue, 8 May 2018 13:03:52 +0000 Subject: 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 --- .../services/service-delete-schema-beijing.yaml | 10 ++++++++-- 1 file 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 -- cgit 1.2.3-korg