From 0b97a9bcd5c125a272a44dca91a0da2eb22fe449 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam Date: Thu, 29 Aug 2019 16:59:24 +0530 Subject: unify service-id samples Change-Id: I4aaa2f76092c1841ec047b88a3618ec5cf526f62 Issue-ID: CLI-166 Signed-off-by: Kanagaraj Manickam k00365106 --- .../open-cli-schema/service-model/get-resource-module-name.yaml | 2 +- .../service-model/service-model-test-reject-schema-dublin.yaml | 8 ++++---- .../service-model/service-model-undocheckout-schema-dublin.yaml | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/get-resource-module-name.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/get-resource-module-name.yaml index addce58d..bd67c6a1 100644 --- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/get-resource-module-name.yaml +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/get-resource-module-name.yaml @@ -18,7 +18,7 @@ description: Get resource module name info: product: onap-dublin - service: sdc + service: sdc.catalog author: ONAP HPA Team onap-discuss@lists.onap.org diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-reject-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-reject-schema-dublin.yaml index 7a1aad14..83aead84 100644 --- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-reject-schema-dublin.yaml +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-reject-schema-dublin.yaml @@ -18,15 +18,15 @@ description: Rejects the Service model test in SDC info: product: onap-dublin - service: sdc + service: sdc.catalog author: ONAP HPA 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 @@ -43,7 +43,7 @@ http: auth: basic mode: direct request: - uri: /sdc2/rest/v1/catalog/services/${service-model-id}/lifecycleState/failCertification + uri: /sdc2/rest/v1/catalog/services/${service-id}/lifecycleState/failCertification method: POST body: '{"userRemarks": "${test-remark}"}' success_codes: diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-undocheckout-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-undocheckout-schema-dublin.yaml index ae9e8356..50023907 100644 --- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-undocheckout-schema-dublin.yaml +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-undocheckout-schema-dublin.yaml @@ -18,15 +18,15 @@ description: Undo Checkout 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-uuid + - name: service-uuid description: Service model UUIID (check service-model-list) type: string - long_option: service-model-uuid + long_option: service-uuid short_option: b is_optional: true @@ -37,7 +37,7 @@ http: auth: basic mode: direct request: - uri: /sdc2/rest/v1/catalog/services/${service-model-uuid}/lifecycleState/UNDOCHECKOUT + uri: /sdc2/rest/v1/catalog/services/${service-uuid}/lifecycleState/UNDOCHECKOUT method: POST body: '{"userRemarks": null}' success_codes: -- cgit 1.2.3-korg