diff options
Diffstat (limited to 'products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model')
-rw-r--r-- | products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-request-schema-dublin.yaml | 14 |
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 |