diff options
author | Itohan Ukponmwan <itohan.ukponmwan@intel.com> | 2019-03-21 20:27:00 +0000 |
---|---|---|
committer | Itohan Ukponmwan <itohan.ukponmwan@intel.com> | 2019-03-21 20:27:00 +0000 |
commit | 5d6b9deb42b8b39ef953d39f1d4cbe1204e9d8e1 (patch) | |
tree | f985998a49bb4452a71931cb829b50b00a3c16a1 /products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-request-schema-dublin-moco.json | |
parent | 618482352bbfdfb225bdee0ba377a4ab71ce5135 (diff) |
SDC service-model commands for onboarding
Change-Id: I056f4e0dfd020f1a48995d825c23574eab1f596e
Issue-ID: CLI-137
Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Diffstat (limited to 'products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-request-schema-dublin-moco.json')
-rw-r--r-- | products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-request-schema-dublin-moco.json | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-request-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-request-schema-dublin-moco.json new file mode 100644 index 00000000..f3f1d839 --- /dev/null +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-request-schema-dublin-moco.json @@ -0,0 +1,62 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/sdc2/rest/v1/catalog/services/fb8ffb35-a8e3-493f-9b9b-b31321b68dfa/lifecycleState/certificationRequest", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-d49e86c7-c5fb-43ba-8bc4-5069c37f4635", + "Content-Type" : "application/json" + }, + "json" : { + "userRemarks" : "Requesting certification via CLI" + } + }, + "response" : { + "status" : 200, + "json" : { + "uniqueId" : "fb8ffb35-a8e3-493f-9b9b-b31321b68dfa", + "name" : "cli-service", + "version" : "0.1", + "isHighestVersion" : true, + "creationDate" : 1553192910482, + "lastUpdateDate" : 1553193141863, + "description" : "create service model with cli", + "lifecycleState" : "READY_FOR_CERTIFICATION", + "tags" : [ "cli-service" ], + "icon" : "defaulticon", + "normalizedName" : "cliservice", + "systemName" : "CliService", + "contactId" : "cs0008", + "allVersions" : { + "0.1" : "fb8ffb35-a8e3-493f-9b9b-b31321b68dfa" + }, + "projectCode" : "000000", + "invariantUUID" : "4dd682d8-4c3c-4f6c-96b1-9e19eed5987c", + "componentType" : "SERVICE", + "categories" : [ { + "name" : "Network L1-3", + "normalizedName" : "network l1-3", + "uniqueId" : "serviceNewCategory.network l1-3", + "empty" : false + } ], + "creatorUserId" : "cs0008", + "creatorFullName" : "Carlos Santana", + "lastUpdaterUserId" : "cs0008", + "lastUpdaterFullName" : "Carlos Santana", + "archiveTime" : 0, + "distributionStatus" : "DISTRIBUTION_NOT_APPROVED", + "ecompGeneratedNaming" : true, + "namingPolicy" : "", + "serviceType" : "", + "serviceRole" : "", + "environmentContext" : "General_Revenue-Bearing", + "instantiationType" : "A-la-carte", + "vspArchived" : false, + "archived" : false, + "uuid" : "788289e1-161a-42b8-89ed-14adde63c600" + } + } +} ]
\ No newline at end of file |