aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-request-schema-dublin-moco.json
blob: f3f1d83989f55facb3d8b9be82b8de41c7bda0da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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"
    }
  }
} ]