diff options
author | 2017-10-31 11:47:28 +0000 | |
---|---|---|
committer | 2017-10-31 11:47:28 +0000 | |
commit | 4a43f8d59d02ddc7adce651b6bbc36d6bac59e7f (patch) | |
tree | cbde800bde29e5d15674542588089c9f452ff08a /plugins/so/src/main/resources/onap-cli-schema/services/service-delete-schema-1.1.yaml | |
parent | cb950867e0fa7da66a44295720efa2bfa030f1ac (diff) | |
parent | 2bd37da0feb25c2fc5373c49059474ee4f3d2007 (diff) |
Merge changes Ie6370110,I7e59c934,I9b36d092
* changes:
Implement vnf-create command
Fix yaml for service-delete
Fix service-create command
Diffstat (limited to 'plugins/so/src/main/resources/onap-cli-schema/services/service-delete-schema-1.1.yaml')
-rw-r--r-- | plugins/so/src/main/resources/onap-cli-schema/services/service-delete-schema-1.1.yaml | 51 |
1 files changed, 44 insertions, 7 deletions
diff --git a/plugins/so/src/main/resources/onap-cli-schema/services/service-delete-schema-1.1.yaml b/plugins/so/src/main/resources/onap-cli-schema/services/service-delete-schema-1.1.yaml index e7791d56..4c6e4a92 100644 --- a/plugins/so/src/main/resources/onap-cli-schema/services/service-delete-schema-1.1.yaml +++ b/plugins/so/src/main/resources/onap-cli-schema/services/service-delete-schema-1.1.yaml @@ -1,25 +1,62 @@ open_cli_schema_version: 1.0 name: service-delete -description: Delete a service instance +description: Delete service instance version: onap-1.1 service: - name: so - version: v2 + name: mso + version: v3 auth: basic mode: direct parameters: - - name: service-instance-id + - name: service-id description: unique id for service instance type: string short_option: x long_option: service-instace-id is_optional: false + - name: model-invariant-id + description: model invariant id for service in SDC catalog + type: string + long_option: model-invariant-id + is_optional: false + - name: model-uuid + description: model uuid for service in SDC catalog + type: string + long_option: model-uuid + is_optional: false + - name: model-name + description: model name available in SDC catalog + type: string + long_option: model-name + is_optional: false + - name: model-version + description: model version of service (eg. 1.0) + type: string + long_option: model-version + is_optional: false + - name: customer-name + description: unique id for customer + type: string + short_option: c + long_option: customer-name + is_optional: false + - name: cloud-region + description: cloud region id + type: string + long_option: cloud-region + is_optional: false + - name: tenant-id + description: tenant id + type: string + long_option: tenant-id + is_optional: false http: request: - uri: /ecomp/mso/infra/serviceInstances/v2/${service-instance-id} + uri: /ecomp/mso/infra/serviceInstances/v3/${service-id} method: DELETE - body: '{"requestDetails": {"modelInfo": {"modelType": "service", "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", "modelName": "Test","modelVersion": "1.0"}, "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": {"source": "VID"}}}' + success_codes: - - 204
\ No newline at end of file + - 202
\ No newline at end of file |