summaryrefslogtreecommitdiffstats
path: root/products/onap-beijing
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2018-05-03 10:47:34 +0000
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2018-05-03 11:22:24 +0000
commit6522ef80ec900da3243ee6265389925885ed7601 (patch)
tree485de59b1e5e037a092850e77e3976c25c10c4ba /products/onap-beijing
parent8f9d5406cec0731c397dcde6e7bf79bab7cff280 (diff)
Add required parameters for service-create
Add required parameters for service-create. Change-Id: I5dfc929d1ca7ea452f7ae228be90c934991a7ed5 Issue-ID: CLI-63 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'products/onap-beijing')
-rw-r--r--products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/service-create-schema-beijing.yaml14
1 files changed, 13 insertions, 1 deletions
diff --git a/products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/service-create-schema-beijing.yaml b/products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/service-create-schema-beijing.yaml
index 8909c7c6..4cc8b9e1 100644
--- a/products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/service-create-schema-beijing.yaml
+++ b/products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/service-create-schema-beijing.yaml
@@ -58,12 +58,24 @@ parameters:
short_option: j
long_option: model-version
is_optional: false
+ - name: model-version-id
+ description: model-version-id
+ type: string
+ short_option: n
+ long_option: model-version-id
+ is_optional: false
- name: customer
description: unique id for customer
type: string
short_option: c
long_option: customer
is_optional: false
+ - name: requestor-id
+ description: requestor ID
+ type: string
+ short_option: q
+ long_option: requestor-id
+ is_optional: false
- name: instance-name
description: service instance name
type: string
@@ -101,7 +113,7 @@ http:
request:
uri: /ecomp/mso/infra/serviceInstances/v4
method: POST
- body: '{"requestDetails": {"cloudConfiguration" : {"lcpCloudRegionId": "${cloud-region}","tenantId": "${tenant-id}"},"modelInfo": {"modelType": "service","modelInvariantId": "${model-invariant-id}","modelNameVersionId": "${model-uuid}","modelName": "${model-name}","modelVersion": "${model-version}"},"subscriberInfo": {"globalSubscriberId": "${customer}"},"requestInfo": {"instanceName": "${instance-name}","source": "VID","suppressRollback": "${supress-rollback}"},"requestParameters": {"subscriptionServiceType": "${service-type}"}}}'
+ body: '{"requestDetails": {"cloudConfiguration" : {"lcpCloudRegionId": "${cloud-region}","tenantId": "${tenant-id}"},"modelInfo": {"modelType": "service","modelInvariantId": "${model-invariant-id}","modelNameVersionId": "${model-uuid}","modelName": "${model-name}","modelVersion": "${model-version}", "modelVersionId": "${model-version-id}"},"subscriberInfo": {"globalSubscriberId": "${customer}"},"requestInfo": {"requestorId": "${requestor-id}","instanceName": "${instance-name}","source": "VID","suppressRollback": "${supress-rollback}"},"requestParameters": {"subscriptionServiceType": "${service-type}","aLaCarte":true}}}'
success_codes:
- 202