aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/get-resource-module-name-moco.json
blob: 9efdd734206ca75a4a7ab46a0d0088d3f93e5dd7 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
[ {
  "request" : {
    "method" : "get",
    "uri" : "/sdc2/rest/v1/followed",
    "headers" : {
      "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
      "X-FromAppId" : "ONAP CLI",
      "Accept" : "application/json",
      "USER_ID" : "cs0008",
      "X-TransactionId" : "req-0ff67b63-5fcb-4f84-b8e0-3e103aa239b3",
      "Content-Type" : "application/json"
    },
    "json" : null
  },
  "response" : {
    "status" : 200,
    "json" : {
      "resources" : [ {
        "artifacts" : { },
        "deploymentArtifacts" : { },
        "toscaArtifacts" : { },
        "categories" : [ {
          "name" : "Generic",
          "normalizedName" : "generic",
          "uniqueId" : "resourceNewCategory.generic",
          "subcategories" : [ {
            "name" : "Abstract",
            "normalizedName" : "abstract",
            "uniqueId" : "resourceNewCategory.generic.abstract",
            "icons" : [ "objectStorage", "compute" ],
            "empty" : false
          } ],
          "empty" : false
        } ],
        "componentInstancesRelations" : [ ],
        "capabilities" : { },
        "derivedFromGenericType" : "org.openecomp.resource.abstract.nodes.VF",
        "derivedFromGenericVersion" : "1.0",
        "toscaType" : "topology_template",
        "interfaces" : { },
        "vendorName" : "ffc7ea3e-5407-44f6-9dcb",
        "vendorRelease" : "1.0",
        "resourceVendorModelNumber" : "",
        "toscaResourceName" : "org.openecomp.resource.vf.B6e67bfdA2164168A16e",
        "abstract" : false,
        "resourceType" : "VF",
        "version" : "1.0",
        "tags" : [ "b6e67bfd-a216-4168-a16e" ],
        "description" : "vendor software product",
        "creationDate" : 1554244581380,
        "csarVersion" : "1.0",
        "archived" : false,
        "archiveTime" : 0,
        "highestVersion" : true,
        "uniqueId" : "512dd581-fe42-4e82-b08e-13f5ed5ec071",
        "contactId" : "cs0008",
        "lastUpdaterFullName" : "Carlos Santana",
        "normalizedName" : "b6e67bfda2164168a16e",
        "vspArchived" : false,
        "actualComponentType" : "VF",
        "topologyTemplate" : true,
        "allArtifacts" : { },
        "icon" : "defaulticon",
        "invariantUUID" : "7037ee95-babf-4324-a942-e6cf4a99473b",
        "uuid" : "de0e7941-a28b-4b07-8ba5-b5eb2a39b476",
        "creatorUserId" : "cs0008",
        "creatorFullName" : "Carlos Santana",
        "componentType" : "RESOURCE",
        "lifecycleState" : "CERTIFIED",
        "systemName" : "B6e67bfdA2164168A16e",
        "lastUpdateDate" : 1554244588651,
        "lastUpdaterUserId" : "cs0008",
        "csarUUID" : "b5b395e79a3b49e7888c53c9c782db6a",
        "name" : "b6e67bfd-a216-4168-a16e"
      }, {
        "artifacts" : { },
        "deploymentArtifacts" : { },
        "toscaArtifacts" : { },
        "categories" : [ {
          "name" : "Application L4+",
          "normalizedName" : "application l4+",
          "uniqueId" : "resourceNewCategory.application l4+",
          "subcategories" : [ {
            "name" : "Firewall",
            "normalizedName" : "firewall",
            "uniqueId" : "resourceNewCategory.application l4+.firewall",
            "icons" : [ "firewall" ],
            "empty" : false
          } ],
          "empty" : false
        } ],
        "componentInstancesRelations" : [ ],
        "capabilities" : { },
        "derivedFromGenericType" : "org.openecomp.resource.abstract.nodes.VF",
        "derivedFromGenericVersion" : "1.0",
        "toscaType" : "topology_template",
        "interfaces" : { },
        "vendorName" : "vfw-hpa-demo",
        "vendorRelease" : "1.0",
        "resourceVendorModelNumber" : "",
        "toscaResourceName" : "org.openecomp.resource.vf.VfwHpaSriovV2",
        "abstract" : false,
        "resourceType" : "VF",
        "version" : "1.0",
        "tags" : [ "vfw-hpa-sriov_v2" ],
        "description" : "vfw hpa",
        "creationDate" : 1554412673495,
        "csarVersion" : "1.0",
        "archived" : false,
        "archiveTime" : 0,
        "highestVersion" : true,
        "uniqueId" : "143748d8-a6e4-4be9-94c2-6138a9444490",
        "contactId" : "cs0008",
        "lastUpdaterFullName" : "Carlos Santana",
        "normalizedName" : "vfwhpasriovv2",
        "vspArchived" : false,
        "actualComponentType" : "VF",
        "topologyTemplate" : true,
        "allArtifacts" : { },
        "icon" : "defaulticon",
        "invariantUUID" : "b7d993a3-3870-4096-a16c-90110d402349",
        "uuid" : "04ffd583-5625-4471-b20b-38394b513efd",
        "creatorUserId" : "cs0008",
        "creatorFullName" : "Carlos Santana",
        "componentType" : "RESOURCE",
        "lifecycleState" : "CERTIFIED",
        "systemName" : "VfwHpaSriovV2",
        "lastUpdateDate" : 1554412686835,
        "lastUpdaterUserId" : "cs0008",
        "csarUUID" : "13a62878030c464095d2727381299565",
        "name" : "vfw-hpa-sriov_v2"
      } ],
      "services" : [ {
        "artifacts" : { },
        "deploymentArtifacts" : { },
        "toscaArtifacts" : { },
        "categories" : [ {
          "name" : "Network L1-3",
          "normalizedName" : "network l1-3",
          "uniqueId" : "serviceNewCategory.network l1-3",
          "empty" : false
        } ],
        "componentInstancesRelations" : [ ],
        "capabilities" : { },
        "derivedFromGenericType" : "org.openecomp.resource.abstract.nodes.service",
        "derivedFromGenericVersion" : "1.0",
        "toscaType" : "topology_template",
        "interfaces" : { },
        "serviceApiArtifacts" : { },
        "forwardingPaths" : { },
        "projectCode" : "000000",
        "environmentContext" : "General_Revenue-Bearing",
        "serviceType" : "",
        "serviceRole" : "",
        "ecompGeneratedNaming" : true,
        "namingPolicy" : "",
        "instantiationType" : "A-la-carte",
        "distributionStatus" : "DISTRIBUTED",
        "version" : "1.0",
        "tags" : [ "vfw-demo-service" ],
        "description" : "vfw demo service",
        "creationDate" : 1554412767728,
        "archived" : false,
        "archiveTime" : 0,
        "highestVersion" : true,
        "uniqueId" : "7929bce5-5f06-4514-82b2-f33c03e8b2ab",
        "contactId" : "cs0008",
        "conformanceLevel" : "9.0",
        "lastUpdaterFullName" : "Joni Mitchell",
        "normalizedName" : "vfwdemoservice",
        "vspArchived" : false,
        "actualComponentType" : "Service",
        "topologyTemplate" : true,
        "allArtifacts" : { },
        "icon" : "defaulticon",
        "invariantUUID" : "41d0ebba-4b89-4437-9b22-4d83d2183aaa",
        "uuid" : "545bca3c-8cc0-4dac-b464-1720894e0213",
        "creatorUserId" : "jm0007",
        "creatorFullName" : "Joni Mitchell",
        "componentType" : "SERVICE",
        "lifecycleState" : "CERTIFIED",
        "systemName" : "VfwDemoService",
        "lastUpdateDate" : 1554414709904,
        "lastUpdaterUserId" : "jm0007",
        "name" : "vfw-demo-service"
      }, {
        "artifacts" : { },
        "deploymentArtifacts" : { },
        "toscaArtifacts" : { },
        "categories" : [ {
          "name" : "Network L1-3",
          "normalizedName" : "network l1-3",
          "uniqueId" : "serviceNewCategory.network l1-3",
          "empty" : false
        } ],
        "componentInstancesRelations" : [ ],
        "capabilities" : { },
        "derivedFromGenericType" : "org.openecomp.resource.abstract.nodes.service",
        "derivedFromGenericVersion" : "1.0",
        "toscaType" : "topology_template",
        "interfaces" : { },
        "serviceApiArtifacts" : { },
        "forwardingPaths" : { },
        "projectCode" : "123456",
        "environmentContext" : "General_Revenue-Bearing",
        "serviceType" : "",
        "serviceRole" : "",
        "ecompGeneratedNaming" : true,
        "namingPolicy" : "",
        "instantiationType" : "A-la-carte",
        "distributionStatus" : "DISTRIBUTED",
        "version" : "1.0",
        "tags" : [ "robot-ete", "vFW 2019-04-02 22:36:04" ],
        "description" : "catalog service description",
        "creationDate" : 1554244565488,
        "archived" : false,
        "archiveTime" : 0,
        "highestVersion" : true,
        "uniqueId" : "7545af33-5b19-44b9-925f-b7f897e95a9e",
        "contactId" : "cs0008",
        "conformanceLevel" : "9.0",
        "lastUpdaterFullName" : "Joni Mitchell",
        "normalizedName" : "vfw2019040222:36:04",
        "vspArchived" : false,
        "actualComponentType" : "Service",
        "topologyTemplate" : true,
        "allArtifacts" : { },
        "icon" : "network_l_1-3",
        "invariantUUID" : "00d2740e-705b-4f90-a1d0-6f61c131d4fc",
        "uuid" : "e5d812e6-6c6e-45f0-a3a5-e231d2a328be",
        "creatorUserId" : "jm0007",
        "creatorFullName" : "Joni Mitchell",
        "componentType" : "SERVICE",
        "lifecycleState" : "CERTIFIED",
        "systemName" : "Vfw2019040222:36:04",
        "lastUpdateDate" : 1554244609192,
        "lastUpdaterUserId" : "jm0007",
        "name" : "vFW 2019-04-02 22:36:04"
      } ]
    }
  }
} ]