blob: df9c3f173e3e4200cb24ae1edfe16a777196a106 [file] [log] [blame]
Renu Kumari3aea57e2021-10-12 13:41:01 -04001openapi: 3.0.1
2info:
Renu Kumari3aea57e2021-10-12 13:41:01 -04003 description: Adds Data Model Inventory Registry capability for ONAP
leventecsanyi8db6a302024-04-02 14:37:57 +02004 title: NCMP DMI Plugin
Renu Kumari3aea57e2021-10-12 13:41:01 -04005 version: 1.0.0
6servers:
mpriyank0e0e3522024-11-29 13:57:42 +00007- url: /dmi
Renu Kumari3aea57e2021-10-12 13:41:01 -04008tags:
mpriyank0e0e3522024-11-29 13:57:42 +00009- description: DMI plugin internal rest apis
10 name: dmi-plugin-internal
11- description: DMI plugin rest apis
12 name: dmi-plugin
Renu Kumari3aea57e2021-10-12 13:41:01 -040013paths:
14 /v1/ch/{cmHandle}/modules:
15 post:
Renu Kumari3aea57e2021-10-12 13:41:01 -040016 description: Get all modules for given cm handle
17 operationId: getModuleReferences
18 parameters:
mpriyank0e0e3522024-11-29 13:57:42 +000019 - description: "The CM handle or alternate identifier for a network function,\
seanbeirnecd485282024-11-27 12:31:42 +000020 \ network element, subnetwork, or any other CM object managed by Network\
21 \ CM Proxy"
mpriyank0e0e3522024-11-29 13:57:42 +000022 in: path
23 name: cmHandle
24 required: true
25 schema:
26 example: my-cm-handle
27 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -040028 requestBody:
Renu Kumari3aea57e2021-10-12 13:41:01 -040029 content:
30 application/json:
31 schema:
32 $ref: '#/components/schemas/ModuleReferencesRequest'
leventecsanyi8db6a302024-04-02 14:37:57 +020033 description: Operational body
Renu Kumari3aea57e2021-10-12 13:41:01 -040034 responses:
35 "200":
Renu Kumari3aea57e2021-10-12 13:41:01 -040036 content:
37 application/json:
38 schema:
39 $ref: '#/components/schemas/ModuleSet'
leventecsanyi8db6a302024-04-02 14:37:57 +020040 description: OK
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000041 "404":
Renu Kumari3aea57e2021-10-12 13:41:01 -040042 content:
43 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000044 example:
45 status: 404
46 message: Resource Not Found
47 details: The requested resource is not found
Renu Kumari3aea57e2021-10-12 13:41:01 -040048 schema:
49 $ref: '#/components/schemas/ErrorMessage'
leventecsanyi8db6a302024-04-02 14:37:57 +020050 description: The specified resource was not found
51 "500":
52 content:
53 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000054 example:
55 status: 500
56 message: Internal Server Error
57 details: Internal Server Error occured
leventecsanyi8db6a302024-04-02 14:37:57 +020058 schema:
59 $ref: '#/components/schemas/ErrorMessage'
60 description: Internal Server Error
61 summary: Get all modules for cm handle
62 tags:
mpriyank0e0e3522024-11-29 13:57:42 +000063 - dmi-plugin
Renu Kumari3aea57e2021-10-12 13:41:01 -040064 /v1/ch/{cmHandle}/moduleResources:
65 post:
Renu Kumari3aea57e2021-10-12 13:41:01 -040066 description: Retrieve module resources for one or more modules
67 operationId: retrieveModuleResources
68 parameters:
mpriyank0e0e3522024-11-29 13:57:42 +000069 - description: "The CM handle or alternate identifier for a network function,\
seanbeirnecd485282024-11-27 12:31:42 +000070 \ network element, subnetwork, or any other CM object managed by Network\
71 \ CM Proxy"
mpriyank0e0e3522024-11-29 13:57:42 +000072 in: path
73 name: cmHandle
74 required: true
75 schema:
76 example: my-cm-handle
77 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -040078 requestBody:
79 content:
80 application/json:
81 schema:
82 $ref: '#/components/schemas/ModuleResourcesReadRequest'
83 required: true
84 responses:
85 "200":
Renu Kumari3aea57e2021-10-12 13:41:01 -040086 content:
87 application/json:
88 schema:
89 $ref: '#/components/schemas/YangResources'
leventecsanyi8db6a302024-04-02 14:37:57 +020090 description: OK
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000091 "404":
Renu Kumari3aea57e2021-10-12 13:41:01 -040092 content:
93 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000094 example:
95 status: 404
96 message: Resource Not Found
97 details: The requested resource is not found
Renu Kumari3aea57e2021-10-12 13:41:01 -040098 schema:
99 $ref: '#/components/schemas/ErrorMessage'
leventecsanyi8db6a302024-04-02 14:37:57 +0200100 description: The specified resource was not found
101 "500":
102 content:
103 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000104 example:
105 status: 500
106 message: Internal Server Error
107 details: Internal Server Error occured
leventecsanyi8db6a302024-04-02 14:37:57 +0200108 schema:
109 $ref: '#/components/schemas/ErrorMessage'
110 description: Internal Server Error
111 summary: Retrieve module resources
112 tags:
mpriyank0e0e3522024-11-29 13:57:42 +0000113 - dmi-plugin
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000114 /v1/inventory/cmHandles:
115 post:
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000116 description: register given list of cm handles (internal use only)
117 operationId: registerCmHandles
118 requestBody:
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000119 content:
120 application/json:
121 schema:
122 $ref: '#/components/schemas/CmHandles'
leventecsanyi8db6a302024-04-02 14:37:57 +0200123 description: list of cm handles
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000124 required: true
125 responses:
126 "201":
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000127 content:
128 text/plain:
129 schema:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000130 example: cm-handle registered successfully
Renu Kumari3aea57e2021-10-12 13:41:01 -0400131 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200132 description: Created
Renu Kumari3aea57e2021-10-12 13:41:01 -0400133 "400":
Renu Kumari3aea57e2021-10-12 13:41:01 -0400134 content:
135 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000136 example:
137 status: 400
138 message: Bad Request
139 details: The provided request is not valid
Renu Kumari3aea57e2021-10-12 13:41:01 -0400140 schema:
141 $ref: '#/components/schemas/ErrorMessage'
leventecsanyi8db6a302024-04-02 14:37:57 +0200142 description: Bad Request
143 "500":
144 content:
145 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000146 example:
147 status: 500
148 message: Internal Server Error
149 details: Internal Server Error occured
leventecsanyi8db6a302024-04-02 14:37:57 +0200150 schema:
151 $ref: '#/components/schemas/ErrorMessage'
152 description: Internal Server Error
153 summary: register given list of cm handles (internal use only)
154 tags:
mpriyank0e0e3522024-11-29 13:57:42 +0000155 - dmi-plugin-internal
leventecsanyi8db6a302024-04-02 14:37:57 +0200156 x-api-audience: component-internal
157 /v1/ch/{cmHandle}/data/ds/{datastore-name}:
158 post:
159 description: Get resource data from passthrough operational or running for a
160 cm handle
161 operationId: dataAccessPassthrough
162 parameters:
mpriyank0e0e3522024-11-29 13:57:42 +0000163 - description: The type of the requested data
164 in: path
165 name: datastore-name
166 required: true
167 schema:
168 example: ncmp-datastore:passthrough-operational or ncmp-datastore:passthrough-running
169 type: string
170 - description: "The CM handle or alternate identifier for a network function,\
seanbeirnecd485282024-11-27 12:31:42 +0000171 \ network element, subnetwork, or any other CM object managed by Network\
172 \ CM Proxy"
mpriyank0e0e3522024-11-29 13:57:42 +0000173 in: path
174 name: cmHandle
175 required: true
176 schema:
177 example: my-cm-handle
178 type: string
179 - description: Resource identifier to get/set the resource data
180 in: query
181 name: resourceIdentifier
182 required: true
183 schema:
184 example: my-schema:my-node
185 type: string
186 - description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
leventecsanyi8db6a302024-04-02 14:37:57 +0200187 \ in parenthesis'()'."
mpriyank0e0e3522024-11-29 13:57:42 +0000188 examples:
189 sample1:
190 value:
191 options: "(key1=value1,key2=value2)"
192 sample2:
193 value:
194 options: "(key1=value1,key2=value1/value2)"
195 sample3:
196 value:
197 options: "(key1=10,key2=value2,key3=val31,val32)"
198 in: query
199 name: options
200 required: false
201 schema:
202 type: string
203 - description: topic name passed from client(NCMP).
204 examples:
205 sample1:
206 value: my-topic-name
207 in: query
208 name: topic
209 required: false
210 schema:
211 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200212 requestBody:
213 content:
214 application/json:
215 schema:
216 $ref: '#/components/schemas/DataAccessRequest'
217 description: Contains collection of cm handles with it's private properties
218 and requestId
219 responses:
220 "200":
221 content:
222 application/json:
223 schema:
224 example:
mpriyank0e0e3522024-11-29 13:57:42 +0000225 - yangSource: my-yang-source
226 moduleName: my-module-name
227 revision: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200228 type: object
229 description: OK
230 "400":
231 content:
232 application/json:
233 example:
234 status: 400
235 message: Bad Request
236 details: The provided request is not valid
237 schema:
238 $ref: '#/components/schemas/ErrorMessage'
239 description: Bad Request
240 "500":
241 content:
242 application/json:
243 example:
244 status: 500
245 message: Internal Server Error
246 details: Internal Server Error occured
247 schema:
248 $ref: '#/components/schemas/ErrorMessage'
249 description: Internal Server Error
250 summary: Get resource data from passthrough operational or running for a cm
251 handle
252 tags:
mpriyank0e0e3522024-11-29 13:57:42 +0000253 - dmi-plugin
leventecsanyi8db6a302024-04-02 14:37:57 +0200254 /v1/data:
255 post:
seanbeirnecd485282024-11-27 12:31:42 +0000256 description: Execute a data operation for group of CM handle (IDs or alternate
257 IDs) by supplied operation details
leventecsanyi8db6a302024-04-02 14:37:57 +0200258 operationId: getResourceDataForCmHandleDataOperation
259 parameters:
mpriyank0e0e3522024-11-29 13:57:42 +0000260 - description: mandatory topic name passed from client(NCMP).
261 examples:
262 sample1:
263 value:
264 topic: my-topic-name
265 in: query
266 name: topic
267 required: true
268 schema:
269 type: string
270 - description: request ID generated by NCMP and is sent here and sent as an
271 acknowledgement for the client request.
272 examples:
273 sample1:
274 value: 4753fc1f-7de2-449a-b306-a6204b5370b3
275 in: query
276 name: requestId
277 required: true
278 schema:
279 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200280 requestBody:
281 content:
282 application/json:
283 schema:
284 $ref: '#/components/schemas/ResourceDataOperationRequests'
285 description: list of operation details
286 responses:
287 "202":
288 description: Accepted
289 "400":
290 content:
291 application/json:
292 example:
293 status: 400
294 message: Bad Request
295 details: The provided request is not valid
296 schema:
297 $ref: '#/components/schemas/ErrorMessage'
298 description: Bad Request
299 "500":
300 content:
301 application/json:
302 example:
303 status: 500
304 message: Internal Server Error
305 details: Internal Server Error occured
306 schema:
307 $ref: '#/components/schemas/ErrorMessage'
308 description: Internal Server Error
309 "501":
310 content:
311 application/json:
312 example:
313 status: 501
314 message: Not Implemented
315 details: Method Not Implemented
316 schema:
317 $ref: '#/components/schemas/ErrorMessage'
318 description: Not Implemented
seanbeirnecd485282024-11-27 12:31:42 +0000319 summary: Execute a data operation for group of CM handle references.
leventecsanyi8db6a302024-04-02 14:37:57 +0200320 tags:
mpriyank0e0e3522024-11-29 13:57:42 +0000321 - dmi-plugin
Renu Kumari3aea57e2021-10-12 13:41:01 -0400322components:
leventecsanyi8db6a302024-04-02 14:37:57 +0200323 parameters:
324 cmHandleInPath:
seanbeirnecd485282024-11-27 12:31:42 +0000325 description: "The CM handle or alternate identifier for a network function,\
326 \ network element, subnetwork, or any other CM object managed by Network CM\
327 \ Proxy"
leventecsanyi8db6a302024-04-02 14:37:57 +0200328 in: path
329 name: cmHandle
330 required: true
331 schema:
332 example: my-cm-handle
333 type: string
334 datastoreName:
335 description: The type of the requested data
336 in: path
337 name: datastore-name
338 required: true
339 schema:
340 example: ncmp-datastore:passthrough-operational or ncmp-datastore:passthrough-running
341 type: string
342 resourceIdentifierInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200343 description: Resource identifier to get/set the resource data
344 in: query
345 name: resourceIdentifier
346 required: true
347 schema:
348 example: my-schema:my-node
349 type: string
350 optionsParamInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200351 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
352 \ in parenthesis'()'."
353 examples:
354 sample1:
355 value:
356 options: "(key1=value1,key2=value2)"
357 sample2:
358 value:
359 options: "(key1=value1,key2=value1/value2)"
360 sample3:
361 value:
362 options: "(key1=10,key2=value2,key3=val31,val32)"
363 in: query
364 name: options
365 required: false
366 schema:
367 type: string
368 topicParamInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200369 description: topic name passed from client(NCMP).
370 examples:
371 sample1:
372 value: my-topic-name
373 in: query
374 name: topic
375 required: false
376 schema:
377 type: string
378 requiredTopicParamInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200379 description: mandatory topic name passed from client(NCMP).
380 examples:
381 sample1:
382 value:
383 topic: my-topic-name
384 in: query
385 name: topic
386 required: true
387 schema:
388 type: string
389 requiredRequestIdParamInQuery:
seanbeirnecd485282024-11-27 12:31:42 +0000390 description: request ID generated by NCMP and is sent here and sent as an acknowledgement
391 for the client request.
leventecsanyi8db6a302024-04-02 14:37:57 +0200392 examples:
393 sample1:
394 value: 4753fc1f-7de2-449a-b306-a6204b5370b3
395 in: query
396 name: requestId
397 required: true
398 schema:
399 type: string
400 responses:
401 NotFound:
402 content:
403 application/json:
404 example:
405 status: 404
406 message: Resource Not Found
407 details: The requested resource is not found
408 schema:
409 $ref: '#/components/schemas/ErrorMessage'
410 description: The specified resource was not found
411 ServerError:
412 content:
413 application/json:
414 example:
415 status: 500
416 message: Internal Server Error
417 details: Internal Server Error occured
418 schema:
419 $ref: '#/components/schemas/ErrorMessage'
420 description: Internal Server Error
421 BadRequest:
422 content:
423 application/json:
424 example:
425 status: 400
426 message: Bad Request
427 details: The provided request is not valid
428 schema:
429 $ref: '#/components/schemas/ErrorMessage'
430 description: Bad Request
431 NotImplemented:
432 content:
433 application/json:
434 example:
435 status: 501
436 message: Not Implemented
437 details: Method Not Implemented
438 schema:
439 $ref: '#/components/schemas/ErrorMessage'
440 description: Not Implemented
Renu Kumari3aea57e2021-10-12 13:41:01 -0400441 schemas:
442 ModuleReferencesRequest:
leventecsanyi8db6a302024-04-02 14:37:57 +0200443 example:
444 moduleSetTag: moduleSetTag
Renu Kumari3aea57e2021-10-12 13:41:01 -0400445 cmHandleProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200446 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
447 properties:
448 moduleSetTag:
449 type: string
450 cmHandleProperties:
451 additionalProperties:
452 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
453 type: string
454 nullable: true
455 type: object
456 type: object
Renu Kumari3aea57e2021-10-12 13:41:01 -0400457 cmHandleProperties:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400458 additionalProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200459 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
Renu Kumari3aea57e2021-10-12 13:41:01 -0400460 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200461 nullable: true
Renu Kumari3aea57e2021-10-12 13:41:01 -0400462 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200463 ModuleSet:
464 example:
465 schemas:
mpriyank0e0e3522024-11-29 13:57:42 +0000466 - moduleName: my-module-name
467 namespace: my-namespace
468 revision: my-revision
469 - moduleName: my-module-name
470 namespace: my-namespace
471 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400472 properties:
473 schemas:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400474 items:
leventecsanyi8db6a302024-04-02 14:37:57 +0200475 $ref: '#/components/schemas/ModuleSet_schemas_inner'
476 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400477 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200478 ErrorMessage:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400479 properties:
480 status:
481 type: string
482 message:
483 type: string
484 details:
485 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200486 title: Error
Renu Kumari3aea57e2021-10-12 13:41:01 -0400487 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200488 ModuleResourcesReadRequest:
489 example:
490 data:
491 modules:
mpriyank0e0e3522024-11-29 13:57:42 +0000492 - name: my-name
493 revision: my-revision
494 - name: my-name
495 revision: my-revision
ToineSiebelink190c30c2024-05-22 11:54:23 +0100496 moduleSetTag: Module-set-tag-1
leventecsanyi8db6a302024-04-02 14:37:57 +0200497 cmHandleProperties:
498 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
Renu Kumari3aea57e2021-10-12 13:41:01 -0400499 properties:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100500 moduleSetTag:
501 description: Module set tag of the given cm handle
502 example: Module-set-tag-1
503 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400504 data:
505 $ref: '#/components/schemas/ModuleResourcesReadRequest_data'
506 cmHandleProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200507 additionalProperties:
508 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
509 type: string
510 nullable: true
511 type: object
512 type: object
Renu Kumari3aea57e2021-10-12 13:41:01 -0400513 YangResources:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400514 items:
515 $ref: '#/components/schemas/YangResource'
leventecsanyi8db6a302024-04-02 14:37:57 +0200516 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400517 YangResource:
leventecsanyi8db6a302024-04-02 14:37:57 +0200518 example:
519 yangSource: my-yang-source
520 moduleName: my-module-name
521 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400522 properties:
523 yangSource:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000524 example: my-yang-source
leventecsanyi8db6a302024-04-02 14:37:57 +0200525 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400526 moduleName:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000527 example: my-module-name
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000528 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200529 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000530 example: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200531 type: string
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000532 CmHandles:
leventecsanyi8db6a302024-04-02 14:37:57 +0200533 example:
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000534 cmHandles:
mpriyank0e0e3522024-11-29 13:57:42 +0000535 - cmHandleId1
536 - cmHandleId2
537 - cmHandleId3
seanbeirnecd485282024-11-27 12:31:42 +0000538 properties:
539 cmHandles:
540 example:
mpriyank0e0e3522024-11-29 13:57:42 +0000541 - cmHandleId1
542 - cmHandleId2
543 - cmHandleId3
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000544 items:
545 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200546 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400547 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200548 DataAccessRequest:
549 example:
550 data: my-data
551 requestId: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
552 dataType: my-data-type
553 cmHandleProperties:
554 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
david.mcweeneyefe96fa2024-05-28 10:45:02 +0100555 moduleSetTag: module-set-tag1
leventecsanyi8db6a302024-04-02 14:37:57 +0200556 operation: read
Renu Kumari3aea57e2021-10-12 13:41:01 -0400557 properties:
558 operation:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400559 enum:
mpriyank0e0e3522024-11-29 13:57:42 +0000560 - read
561 - create
562 - update
563 - patch
564 - delete
leventecsanyi8db6a302024-04-02 14:37:57 +0200565 example: read
566 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400567 dataType:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000568 example: my-data-type
leventecsanyi8db6a302024-04-02 14:37:57 +0200569 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400570 data:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000571 example: my-data
mpriyank78e1d062022-04-08 15:12:22 +0530572 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200573 cmHandleProperties:
574 additionalProperties:
575 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
576 type: string
577 nullable: true
578 type: object
579 requestId:
JosephKeenan2cd8b982022-05-23 15:43:05 +0100580 example: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
leventecsanyi8db6a302024-04-02 14:37:57 +0200581 type: string
david.mcweeneyefe96fa2024-05-28 10:45:02 +0100582 moduleSetTag:
583 example: module-set-tag1
584 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400585 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200586 ResourceDataOperationRequests:
587 items:
588 $ref: '#/components/schemas/DataOperationRequest'
589 type: array
ToineSiebelink190c30c2024-05-22 11:54:23 +0100590 dmiOperationCmHandle:
leventecsanyi8db6a302024-04-02 14:37:57 +0200591 example:
592 id: cmHandle123
593 cmHandleProperties:
594 myProp: some value
595 otherProp: other value
ToineSiebelink190c30c2024-05-22 11:54:23 +0100596 moduleSetTag: module-set-tag1
leventecsanyi8db6a302024-04-02 14:37:57 +0200597 properties:
598 id:
599 type: string
600 cmHandleProperties:
601 additionalProperties:
602 type: string
603 type: object
ToineSiebelink190c30c2024-05-22 11:54:23 +0100604 moduleSetTag:
605 example: module-set-tag1
606 type: string
607 title: CmHandle with properties for DMI
leventecsanyi8db6a302024-04-02 14:37:57 +0200608 type: object
609 ModuleSet_schemas_inner:
610 example:
611 moduleName: my-module-name
612 namespace: my-namespace
613 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400614 properties:
615 moduleName:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000616 example: my-module-name
leventecsanyi8db6a302024-04-02 14:37:57 +0200617 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400618 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000619 example: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400620 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200621 namespace:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000622 example: my-namespace
leventecsanyi8db6a302024-04-02 14:37:57 +0200623 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400624 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200625 ModuleResourcesReadRequest_data_modules_inner:
626 example:
627 name: my-name
628 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400629 properties:
630 name:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000631 example: my-name
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000632 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200633 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000634 example: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200635 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400636 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200637 ModuleResourcesReadRequest_data:
638 example:
639 modules:
mpriyank0e0e3522024-11-29 13:57:42 +0000640 - name: my-name
641 revision: my-revision
642 - name: my-name
643 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400644 properties:
645 modules:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400646 items:
leventecsanyi8db6a302024-04-02 14:37:57 +0200647 $ref: '#/components/schemas/ModuleResourcesReadRequest_data_modules_inner'
648 type: array
649 type: object
650 DataOperationRequest:
651 example:
652 resourceIdentifier: some resource identifier
653 datastore: ncmp-datastore:passthrough-operational
654 options: some option
655 operationId: "12"
656 cmHandles:
mpriyank0e0e3522024-11-29 13:57:42 +0000657 - id: cmHandle123
658 cmHandleProperties:
659 myProp: some value
660 otherProp: other value
661 moduleSetTag: module-set-tag1
662 - id: cmHandle123
663 cmHandleProperties:
664 myProp: some value
665 otherProp: other value
666 moduleSetTag: module-set-tag1
leventecsanyi8db6a302024-04-02 14:37:57 +0200667 operation: read
668 properties:
669 operation:
670 example: read
671 type: string
672 operationId:
673 description: it is recommended that the operationId is unique within the
674 scope of the request
675 example: "12"
676 type: string
677 datastore:
678 example: ncmp-datastore:passthrough-operational
679 type: string
680 options:
681 example: some option
682 type: string
683 resourceIdentifier:
684 example: some resource identifier
685 type: string
686 cmHandles:
687 items:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100688 $ref: '#/components/schemas/dmiOperationCmHandle'
leventecsanyi8db6a302024-04-02 14:37:57 +0200689 type: array
690 required:
mpriyank0e0e3522024-11-29 13:57:42 +0000691 - cmHandles
692 - datastore
693 - operation
694 - operationId
leventecsanyi8db6a302024-04-02 14:37:57 +0200695 title: DataOperationRequest
696 type: object