diff options
author | 2019-03-21 20:27:00 +0000 | |
---|---|---|
committer | 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-undocheckout-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-undocheckout-schema-dublin-moco.json')
-rw-r--r-- | products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-undocheckout-schema-dublin-moco.json | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-undocheckout-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-undocheckout-schema-dublin-moco.json new file mode 100644 index 00000000..28966ad7 --- /dev/null +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-undocheckout-schema-dublin-moco.json @@ -0,0 +1,65 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/sdc2/rest/v1/catalog/services/5b40c623-702e-4f97-9210-126bcfe5e9c6/lifecycleState/UNDOCHECKOUT", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-94bb7485-6192-4a82-b11c-eddc8f841057", + "Content-Type" : "application/json" + }, + "json" : { + "userRemarks" : null + } + }, + "response" : { + "status" : 200, + "json" : { + "uniqueId" : "5b40c623-702e-4f97-9210-126bcfe5e9c6", + "name" : "cli-service-mod", + "version" : "1.3", + "isHighestVersion" : true, + "creationDate" : 1553197556870, + "lastUpdateDate" : 1553197556870, + "description" : "create service model with cli", + "lifecycleState" : "NOT_CERTIFIED_CHECKOUT", + "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", + "1.3" : "5b40c623-702e-4f97-9210-126bcfe5e9c6" + }, + "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 |