diff options
author | 2019-08-29 16:43:23 +0530 | |
---|---|---|
committer | 2019-08-29 16:43:23 +0530 | |
commit | 8228889ec406040e72dc0da791e41b5fc1de7fb8 (patch) | |
tree | 7f9a3be9796c241702e536fac94d9751144baeea /products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-accept-schema-dublin.yaml | |
parent | 37add4bc949f552dc0ca10c96cbd4cc6fb74e815 (diff) |
service-model-test-accept updates
Change-Id: I1c7aa7da214f6e541d9b69f4af91a403f5426b3b
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/service-model/service-model-test-accept-schema-dublin.yaml')
-rw-r--r-- | products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-accept-schema-dublin.yaml | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-accept-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-accept-schema-dublin.yaml index 85a31861..8522ea6a 100644 --- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-accept-schema-dublin.yaml +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-accept-schema-dublin.yaml @@ -18,24 +18,38 @@ description: Accepts the Service model test 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: false - - name: test-remark + - name: remarks description: Remarks when accepting test type: string - long_option: test-remark + long_option: remarks short_option: r is_optional: false - +results: + direction: portrait + attributes: + - name: id + description: NS checked out version unique ID + scope: short + type: string + - name: uuid + description: NS checked out version unique ID + scope: short + type: string + - name: version + description: VF version + scope: short + type: string http: service: name: sdc @@ -43,8 +57,12 @@ http: auth: basic mode: direct request: - uri: /sdc2/rest/v1/catalog/services/${service-model-id}/lifecycleState/certify + uri: /sdc2/rest/v1/catalog/services/${service-id}/lifecycleState/certify method: POST - body: '{"userRemarks": "${test-remark}"}' + body: '{"userRemarks": "${remarks}"}' success_codes: - 200 + result_map: + id: $b{$.uniqueId} + version: $b{$.version} + uuid: $b{$.unid}
\ No newline at end of file |