From 5d6b9deb42b8b39ef953d39f1d4cbe1204e9d8e1 Mon Sep 17 00:00:00 2001 From: Itohan Ukponmwan Date: Thu, 21 Mar 2019 20:27:00 +0000 Subject: SDC service-model commands for onboarding Change-Id: I056f4e0dfd020f1a48995d825c23574eab1f596e Issue-ID: CLI-137 Signed-off-by: Itohan Ukponmwan --- ...ervice-model-test-start-schema-dublin-moco.json | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-start-schema-dublin-moco.json (limited to 'products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-start-schema-dublin-moco.json') diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-start-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-start-schema-dublin-moco.json new file mode 100644 index 00000000..02230e51 --- /dev/null +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-start-schema-dublin-moco.json @@ -0,0 +1,60 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/sdc2/rest/v1/catalog/services/fb8ffb35-a8e3-493f-9b9b-b31321b68dfa/lifecycleState/startCertification", + "headers" : { + "Authorization" : "Basic am0wMDA3OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "jm0007", + "X-TransactionId" : "req-4525f3b4-6bf0-4026-b383-53cfda035336", + "Content-Type" : "application/json" + }, + "json" : { } + }, + "response" : { + "status" : 200, + "json" : { + "uniqueId" : "fb8ffb35-a8e3-493f-9b9b-b31321b68dfa", + "name" : "cli-service", + "version" : "0.1", + "isHighestVersion" : true, + "creationDate" : 1553192910482, + "lastUpdateDate" : 1553194117643, + "description" : "create service model with cli", + "lifecycleState" : "CERTIFICATION_IN_PROGRESS", + "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" : "jm0007", + "lastUpdaterFullName" : "Joni Mitchell", + "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 -- cgit 1.2.3-korg