unify service-id samples 73/94573/1
authorKanagaraj Manickam <mkr1481@gmail.com>
Thu, 29 Aug 2019 11:29:24 +0000 (16:59 +0530)
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Thu, 29 Aug 2019 11:29:24 +0000 (16:59 +0530)
Change-Id: I4aaa2f76092c1841ec047b88a3618ec5cf526f62
Issue-ID: CLI-166
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/get-resource-module-name.yaml
products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-test-reject-schema-dublin.yaml
products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-undocheckout-schema-dublin.yaml

index 7a1aad1..83aead8 100644 (file)
@@ -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:
index ae9e835..5002390 100644 (file)
@@ -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: