SDC service-model commands for onboarding
[cli.git] / products / onap-dublin / features / sdc / src / main / resources / open-cli-sample / service-model / service-model-undocheckout-schema-dublin-moco.json
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 (file)
index 0000000..28966ad
--- /dev/null
@@ -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