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 --- ...rvice-model-test-reject-schema-dublin-moco.json | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-reject-schema-dublin-moco.json (limited to 'products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-reject-schema-dublin-moco.json') diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-reject-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-reject-schema-dublin-moco.json new file mode 100644 index 00000000..0b1f7c6b --- /dev/null +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-reject-schema-dublin-moco.json @@ -0,0 +1,64 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/sdc2/rest/v1/catalog/services/2d488818-2e62-46fd-a627-df8677ac4d74/lifecycleState/failCertification", + "headers" : { + "Authorization" : "Basic am0wMDA3OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "jm0007", + "X-TransactionId" : "req-025cae1b-4ca9-4b7f-a856-b97323614015", + "Content-Type" : "application/json" + }, + "json" : { + "userRemarks" : "cli-reject" + } + }, + "response" : { + "status" : 200, + "json" : { + "uniqueId" : "2d488818-2e62-46fd-a627-df8677ac4d74", + "name" : "cli-service-mod", + "version" : "1.2", + "isHighestVersion" : true, + "creationDate" : 1553196125569, + "lastUpdateDate" : 1553198632792, + "description" : "create service model with cli", + "lifecycleState" : "NOT_CERTIFIED_CHECKIN", + "tags" : [ "cli-service-mod" ], + "icon" : "defaulticon", + "normalizedName" : "cliservicemod", + "systemName" : "CliServiceMod", + "contactId" : "cs0008", + "allVersions" : { + "1.0" : "054425a1-5580-4758-ac33-ce817c8c7903", + "1.1" : "116edb11-9707-45d2-af5d-a7de858e1938", + "1.2" : "2d488818-2e62-46fd-a627-df8677ac4d74" + }, + "projectCode" : "000000", + "invariantUUID" : "36a18432-57d2-4d67-b67a-19b219cc0113", + "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" : "32110371-0b6e-4146-813d-2505008a82d4" + } + } +} ] \ No newline at end of file -- cgit 1.2.3-korg