aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2019-08-29 16:43:27 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-08-29 16:43:27 +0530
commitbbd13a311754218081ce224c885b73e2ff1f09be (patch)
tree60788be9b90ae79da5206f32915a0e9beca0d215 /products/onap-dublin/features/sdc/src/main/resources/open-cli-schema
parent89b3744c192fc446d54483538b2b3ddc13aa5626 (diff)
service-model-test-request updates
Change-Id: I7c31d7b1faa3c2b209618f938d977cca137829eb Issue-ID: CLI-166 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-dublin/features/sdc/src/main/resources/open-cli-schema')
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-request-schema-dublin.yaml14
1 files changed, 7 insertions, 7 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-request-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-request-schema-dublin.yaml
index cf3f7c9d..c0bdcd59 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-request-schema-dublin.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-request-schema-dublin.yaml
@@ -18,21 +18,21 @@ description: Request the certification of Service model in SDC
info:
product: onap-dublin
- service: sdc
+ service: sdc.catalog
author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- - name: service-model-id
+ - name: service-id
description: Service model ID
type: string
- long_option: service-model-id
+ long_option: service-id
short_option: b
is_optional: true
- - name: remark
+ - name: remarks
description: Remarks when submitting for testing
type: string
- long_option: remark
+ long_option: remarks
short_option: r
http:
@@ -42,9 +42,9 @@ http:
auth: basic
mode: direct
request:
- uri: /sdc2/rest/v1/catalog/services/${service-model-id}/lifecycleState/certificationRequest
+ uri: /sdc2/rest/v1/catalog/services/${service-id}/lifecycleState/certificationRequest
method: POST
- body: '{"userRemarks": "Requesting certification via CLI"}'
+ body: '{"userRemarks": "${remarks}"}'
success_codes:
- 200