blob: 14c721a3336c0da383535293f267b18d50e71cf8 [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:
ToineSiebelink190c30c2024-05-22 11:54:23 +01007- url: /dmi
Renu Kumari3aea57e2021-10-12 13:41:01 -04008tags:
ToineSiebelink190c30c2024-05-22 11:54:23 +01009- 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:
ToineSiebelink190c30c2024-05-22 11:54:23 +010019 - description: "The identifier for a network function, network element, subnetwork,\
leventecsanyi8db6a302024-04-02 14:37:57 +020020 \ or any other cm object by managed Network CM Proxy"
ToineSiebelink190c30c2024-05-22 11:54:23 +010021 in: path
22 name: cmHandle
23 required: true
24 schema:
25 example: my-cm-handle
26 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -040027 requestBody:
Renu Kumari3aea57e2021-10-12 13:41:01 -040028 content:
29 application/json:
30 schema:
31 $ref: '#/components/schemas/ModuleReferencesRequest'
leventecsanyi8db6a302024-04-02 14:37:57 +020032 description: Operational body
Renu Kumari3aea57e2021-10-12 13:41:01 -040033 responses:
34 "200":
Renu Kumari3aea57e2021-10-12 13:41:01 -040035 content:
36 application/json:
37 schema:
38 $ref: '#/components/schemas/ModuleSet'
leventecsanyi8db6a302024-04-02 14:37:57 +020039 description: OK
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000040 "404":
Renu Kumari3aea57e2021-10-12 13:41:01 -040041 content:
42 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000043 example:
44 status: 404
45 message: Resource Not Found
46 details: The requested resource is not found
Renu Kumari3aea57e2021-10-12 13:41:01 -040047 schema:
48 $ref: '#/components/schemas/ErrorMessage'
leventecsanyi8db6a302024-04-02 14:37:57 +020049 description: The specified resource was not found
50 "500":
51 content:
52 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000053 example:
54 status: 500
55 message: Internal Server Error
56 details: Internal Server Error occured
leventecsanyi8db6a302024-04-02 14:37:57 +020057 schema:
58 $ref: '#/components/schemas/ErrorMessage'
59 description: Internal Server Error
60 summary: Get all modules for cm handle
61 tags:
ToineSiebelink190c30c2024-05-22 11:54:23 +010062 - dmi-plugin
Renu Kumari3aea57e2021-10-12 13:41:01 -040063 /v1/ch/{cmHandle}/moduleResources:
64 post:
Renu Kumari3aea57e2021-10-12 13:41:01 -040065 description: Retrieve module resources for one or more modules
66 operationId: retrieveModuleResources
67 parameters:
ToineSiebelink190c30c2024-05-22 11:54:23 +010068 - description: "The identifier for a network function, network element, subnetwork,\
leventecsanyi8db6a302024-04-02 14:37:57 +020069 \ or any other cm object by managed Network CM Proxy"
ToineSiebelink190c30c2024-05-22 11:54:23 +010070 in: path
71 name: cmHandle
72 required: true
73 schema:
74 example: my-cm-handle
75 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -040076 requestBody:
77 content:
78 application/json:
79 schema:
80 $ref: '#/components/schemas/ModuleResourcesReadRequest'
81 required: true
82 responses:
83 "200":
Renu Kumari3aea57e2021-10-12 13:41:01 -040084 content:
85 application/json:
86 schema:
87 $ref: '#/components/schemas/YangResources'
leventecsanyi8db6a302024-04-02 14:37:57 +020088 description: OK
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000089 "404":
Renu Kumari3aea57e2021-10-12 13:41:01 -040090 content:
91 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000092 example:
93 status: 404
94 message: Resource Not Found
95 details: The requested resource is not found
Renu Kumari3aea57e2021-10-12 13:41:01 -040096 schema:
97 $ref: '#/components/schemas/ErrorMessage'
leventecsanyi8db6a302024-04-02 14:37:57 +020098 description: The specified resource was not found
99 "500":
100 content:
101 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000102 example:
103 status: 500
104 message: Internal Server Error
105 details: Internal Server Error occured
leventecsanyi8db6a302024-04-02 14:37:57 +0200106 schema:
107 $ref: '#/components/schemas/ErrorMessage'
108 description: Internal Server Error
109 summary: Retrieve module resources
110 tags:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100111 - dmi-plugin
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000112 /v1/inventory/cmHandles:
113 post:
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000114 description: register given list of cm handles (internal use only)
115 operationId: registerCmHandles
116 requestBody:
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000117 content:
118 application/json:
119 schema:
120 $ref: '#/components/schemas/CmHandles'
leventecsanyi8db6a302024-04-02 14:37:57 +0200121 description: list of cm handles
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000122 required: true
123 responses:
124 "201":
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000125 content:
126 text/plain:
127 schema:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000128 example: cm-handle registered successfully
Renu Kumari3aea57e2021-10-12 13:41:01 -0400129 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200130 description: Created
Renu Kumari3aea57e2021-10-12 13:41:01 -0400131 "400":
Renu Kumari3aea57e2021-10-12 13:41:01 -0400132 content:
133 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000134 example:
135 status: 400
136 message: Bad Request
137 details: The provided request is not valid
Renu Kumari3aea57e2021-10-12 13:41:01 -0400138 schema:
139 $ref: '#/components/schemas/ErrorMessage'
leventecsanyi8db6a302024-04-02 14:37:57 +0200140 description: Bad Request
141 "500":
142 content:
143 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000144 example:
145 status: 500
146 message: Internal Server Error
147 details: Internal Server Error occured
leventecsanyi8db6a302024-04-02 14:37:57 +0200148 schema:
149 $ref: '#/components/schemas/ErrorMessage'
150 description: Internal Server Error
151 summary: register given list of cm handles (internal use only)
152 tags:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100153 - dmi-plugin-internal
leventecsanyi8db6a302024-04-02 14:37:57 +0200154 x-api-audience: component-internal
155 /v1/ch/{cmHandle}/data/ds/{datastore-name}:
156 post:
157 description: Get resource data from passthrough operational or running for a
158 cm handle
159 operationId: dataAccessPassthrough
160 parameters:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100161 - description: The type of the requested data
162 in: path
163 name: datastore-name
164 required: true
165 schema:
166 example: ncmp-datastore:passthrough-operational or ncmp-datastore:passthrough-running
167 type: string
168 - description: "The identifier for a network function, network element, subnetwork,\
leventecsanyi8db6a302024-04-02 14:37:57 +0200169 \ or any other cm object by managed Network CM Proxy"
ToineSiebelink190c30c2024-05-22 11:54:23 +0100170 in: path
171 name: cmHandle
172 required: true
173 schema:
174 example: my-cm-handle
175 type: string
176 - description: Resource identifier to get/set the resource data
177 in: query
178 name: resourceIdentifier
179 required: true
180 schema:
181 example: my-schema:my-node
182 type: string
183 - description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
leventecsanyi8db6a302024-04-02 14:37:57 +0200184 \ in parenthesis'()'."
ToineSiebelink190c30c2024-05-22 11:54:23 +0100185 examples:
186 sample1:
187 value:
188 options: "(key1=value1,key2=value2)"
189 sample2:
190 value:
191 options: "(key1=value1,key2=value1/value2)"
192 sample3:
193 value:
194 options: "(key1=10,key2=value2,key3=val31,val32)"
195 in: query
196 name: options
197 required: false
198 schema:
199 type: string
200 - description: topic name passed from client(NCMP).
201 examples:
202 sample1:
203 value: my-topic-name
204 in: query
205 name: topic
206 required: false
207 schema:
208 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200209 requestBody:
210 content:
211 application/json:
212 schema:
213 $ref: '#/components/schemas/DataAccessRequest'
214 description: Contains collection of cm handles with it's private properties
215 and requestId
216 responses:
217 "200":
218 content:
219 application/json:
220 schema:
221 example:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100222 - yangSource: my-yang-source
223 moduleName: my-module-name
224 revision: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200225 type: object
226 description: OK
227 "400":
228 content:
229 application/json:
230 example:
231 status: 400
232 message: Bad Request
233 details: The provided request is not valid
234 schema:
235 $ref: '#/components/schemas/ErrorMessage'
236 description: Bad Request
237 "500":
238 content:
239 application/json:
240 example:
241 status: 500
242 message: Internal Server Error
243 details: Internal Server Error occured
244 schema:
245 $ref: '#/components/schemas/ErrorMessage'
246 description: Internal Server Error
247 summary: Get resource data from passthrough operational or running for a cm
248 handle
249 tags:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100250 - dmi-plugin
leventecsanyi8db6a302024-04-02 14:37:57 +0200251 /v1/data:
252 post:
253 description: Execute a data operation for group of cm handle ids by supplied
254 operation details
255 operationId: getResourceDataForCmHandleDataOperation
256 parameters:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100257 - description: mandatory topic name passed from client(NCMP).
258 examples:
259 sample1:
260 value:
261 topic: my-topic-name
262 in: query
263 name: topic
264 required: true
265 schema:
266 type: string
267 - description: request Id generated by NCMP and sent as an acknowledgement for
268 the client request the same including here.
269 examples:
270 sample1:
271 value: 4753fc1f-7de2-449a-b306-a6204b5370b3
272 in: query
273 name: requestId
274 required: true
275 schema:
276 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200277 requestBody:
278 content:
279 application/json:
280 schema:
281 $ref: '#/components/schemas/ResourceDataOperationRequests'
282 description: list of operation details
283 responses:
284 "202":
285 description: Accepted
286 "400":
287 content:
288 application/json:
289 example:
290 status: 400
291 message: Bad Request
292 details: The provided request is not valid
293 schema:
294 $ref: '#/components/schemas/ErrorMessage'
295 description: Bad Request
296 "500":
297 content:
298 application/json:
299 example:
300 status: 500
301 message: Internal Server Error
302 details: Internal Server Error occured
303 schema:
304 $ref: '#/components/schemas/ErrorMessage'
305 description: Internal Server Error
306 "501":
307 content:
308 application/json:
309 example:
310 status: 501
311 message: Not Implemented
312 details: Method Not Implemented
313 schema:
314 $ref: '#/components/schemas/ErrorMessage'
315 description: Not Implemented
316 summary: Execute a data operation for group of cm handle ids.
317 tags:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100318 - dmi-plugin
Renu Kumari3aea57e2021-10-12 13:41:01 -0400319components:
leventecsanyi8db6a302024-04-02 14:37:57 +0200320 parameters:
321 cmHandleInPath:
322 description: "The identifier for a network function, network element, subnetwork,\
323 \ or any other cm object by managed Network CM Proxy"
324 in: path
325 name: cmHandle
326 required: true
327 schema:
328 example: my-cm-handle
329 type: string
330 datastoreName:
331 description: The type of the requested data
332 in: path
333 name: datastore-name
334 required: true
335 schema:
336 example: ncmp-datastore:passthrough-operational or ncmp-datastore:passthrough-running
337 type: string
338 resourceIdentifierInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200339 description: Resource identifier to get/set the resource data
340 in: query
341 name: resourceIdentifier
342 required: true
343 schema:
344 example: my-schema:my-node
345 type: string
346 optionsParamInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200347 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
348 \ in parenthesis'()'."
349 examples:
350 sample1:
351 value:
352 options: "(key1=value1,key2=value2)"
353 sample2:
354 value:
355 options: "(key1=value1,key2=value1/value2)"
356 sample3:
357 value:
358 options: "(key1=10,key2=value2,key3=val31,val32)"
359 in: query
360 name: options
361 required: false
362 schema:
363 type: string
364 topicParamInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200365 description: topic name passed from client(NCMP).
366 examples:
367 sample1:
368 value: my-topic-name
369 in: query
370 name: topic
371 required: false
372 schema:
373 type: string
374 requiredTopicParamInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200375 description: mandatory topic name passed from client(NCMP).
376 examples:
377 sample1:
378 value:
379 topic: my-topic-name
380 in: query
381 name: topic
382 required: true
383 schema:
384 type: string
385 requiredRequestIdParamInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200386 description: request Id generated by NCMP and sent as an acknowledgement for
387 the client request the same including here.
388 examples:
389 sample1:
390 value: 4753fc1f-7de2-449a-b306-a6204b5370b3
391 in: query
392 name: requestId
393 required: true
394 schema:
395 type: string
396 responses:
397 NotFound:
398 content:
399 application/json:
400 example:
401 status: 404
402 message: Resource Not Found
403 details: The requested resource is not found
404 schema:
405 $ref: '#/components/schemas/ErrorMessage'
406 description: The specified resource was not found
407 ServerError:
408 content:
409 application/json:
410 example:
411 status: 500
412 message: Internal Server Error
413 details: Internal Server Error occured
414 schema:
415 $ref: '#/components/schemas/ErrorMessage'
416 description: Internal Server Error
417 BadRequest:
418 content:
419 application/json:
420 example:
421 status: 400
422 message: Bad Request
423 details: The provided request is not valid
424 schema:
425 $ref: '#/components/schemas/ErrorMessage'
426 description: Bad Request
427 NotImplemented:
428 content:
429 application/json:
430 example:
431 status: 501
432 message: Not Implemented
433 details: Method Not Implemented
434 schema:
435 $ref: '#/components/schemas/ErrorMessage'
436 description: Not Implemented
Renu Kumari3aea57e2021-10-12 13:41:01 -0400437 schemas:
438 ModuleReferencesRequest:
leventecsanyi8db6a302024-04-02 14:37:57 +0200439 example:
440 moduleSetTag: moduleSetTag
Renu Kumari3aea57e2021-10-12 13:41:01 -0400441 cmHandleProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200442 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
443 properties:
444 moduleSetTag:
445 type: string
446 cmHandleProperties:
447 additionalProperties:
448 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
449 type: string
450 nullable: true
451 type: object
452 type: object
Renu Kumari3aea57e2021-10-12 13:41:01 -0400453 cmHandleProperties:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400454 additionalProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200455 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
Renu Kumari3aea57e2021-10-12 13:41:01 -0400456 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200457 nullable: true
Renu Kumari3aea57e2021-10-12 13:41:01 -0400458 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200459 ModuleSet:
460 example:
461 schemas:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100462 - moduleName: my-module-name
463 namespace: my-namespace
464 revision: my-revision
465 - moduleName: my-module-name
466 namespace: my-namespace
467 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400468 properties:
469 schemas:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400470 items:
leventecsanyi8db6a302024-04-02 14:37:57 +0200471 $ref: '#/components/schemas/ModuleSet_schemas_inner'
472 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400473 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200474 ErrorMessage:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400475 properties:
476 status:
477 type: string
478 message:
479 type: string
480 details:
481 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200482 title: Error
Renu Kumari3aea57e2021-10-12 13:41:01 -0400483 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200484 ModuleResourcesReadRequest:
485 example:
486 data:
487 modules:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100488 - name: my-name
489 revision: my-revision
490 - name: my-name
491 revision: my-revision
492 moduleSetTag: Module-set-tag-1
leventecsanyi8db6a302024-04-02 14:37:57 +0200493 cmHandleProperties:
494 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
Renu Kumari3aea57e2021-10-12 13:41:01 -0400495 properties:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100496 moduleSetTag:
497 description: Module set tag of the given cm handle
498 example: Module-set-tag-1
499 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400500 data:
501 $ref: '#/components/schemas/ModuleResourcesReadRequest_data'
502 cmHandleProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200503 additionalProperties:
504 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
505 type: string
506 nullable: true
507 type: object
508 type: object
Renu Kumari3aea57e2021-10-12 13:41:01 -0400509 YangResources:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400510 items:
511 $ref: '#/components/schemas/YangResource'
leventecsanyi8db6a302024-04-02 14:37:57 +0200512 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400513 YangResource:
leventecsanyi8db6a302024-04-02 14:37:57 +0200514 example:
515 yangSource: my-yang-source
516 moduleName: my-module-name
517 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400518 properties:
519 yangSource:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000520 example: my-yang-source
leventecsanyi8db6a302024-04-02 14:37:57 +0200521 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400522 moduleName:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000523 example: my-module-name
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000524 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200525 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000526 example: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200527 type: string
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000528 CmHandles:
leventecsanyi8db6a302024-04-02 14:37:57 +0200529 example:
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000530 cmHandles:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100531 - cmHandleId1
532 - cmHandleId2
533 - cmHandleId3
leventecsanyi8db6a302024-04-02 14:37:57 +0200534 properties:
535 cmHandles:
536 example:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100537 - cmHandleId1
538 - cmHandleId2
539 - cmHandleId3
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000540 items:
541 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200542 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400543 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200544 DataAccessRequest:
545 example:
546 data: my-data
547 requestId: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
548 dataType: my-data-type
549 cmHandleProperties:
550 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
david.mcweeneyefe96fa2024-05-28 10:45:02 +0100551 moduleSetTag: module-set-tag1
leventecsanyi8db6a302024-04-02 14:37:57 +0200552 operation: read
Renu Kumari3aea57e2021-10-12 13:41:01 -0400553 properties:
554 operation:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400555 enum:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100556 - read
557 - create
558 - update
559 - patch
560 - delete
leventecsanyi8db6a302024-04-02 14:37:57 +0200561 example: read
562 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400563 dataType:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000564 example: my-data-type
leventecsanyi8db6a302024-04-02 14:37:57 +0200565 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400566 data:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000567 example: my-data
mpriyank78e1d062022-04-08 15:12:22 +0530568 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200569 cmHandleProperties:
570 additionalProperties:
571 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
572 type: string
573 nullable: true
574 type: object
575 requestId:
JosephKeenan2cd8b982022-05-23 15:43:05 +0100576 example: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
leventecsanyi8db6a302024-04-02 14:37:57 +0200577 type: string
david.mcweeneyefe96fa2024-05-28 10:45:02 +0100578 moduleSetTag:
579 example: module-set-tag1
580 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400581 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200582 ResourceDataOperationRequests:
583 items:
584 $ref: '#/components/schemas/DataOperationRequest'
585 type: array
ToineSiebelink190c30c2024-05-22 11:54:23 +0100586 dmiOperationCmHandle:
leventecsanyi8db6a302024-04-02 14:37:57 +0200587 example:
588 id: cmHandle123
589 cmHandleProperties:
590 myProp: some value
591 otherProp: other value
ToineSiebelink190c30c2024-05-22 11:54:23 +0100592 moduleSetTag: module-set-tag1
leventecsanyi8db6a302024-04-02 14:37:57 +0200593 properties:
594 id:
595 type: string
596 cmHandleProperties:
597 additionalProperties:
598 type: string
599 type: object
ToineSiebelink190c30c2024-05-22 11:54:23 +0100600 moduleSetTag:
601 example: module-set-tag1
602 type: string
603 title: CmHandle with properties for DMI
leventecsanyi8db6a302024-04-02 14:37:57 +0200604 type: object
605 ModuleSet_schemas_inner:
606 example:
607 moduleName: my-module-name
608 namespace: my-namespace
609 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400610 properties:
611 moduleName:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000612 example: my-module-name
leventecsanyi8db6a302024-04-02 14:37:57 +0200613 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400614 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000615 example: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400616 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200617 namespace:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000618 example: my-namespace
leventecsanyi8db6a302024-04-02 14:37:57 +0200619 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400620 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200621 ModuleResourcesReadRequest_data_modules_inner:
622 example:
623 name: my-name
624 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400625 properties:
626 name:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000627 example: my-name
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000628 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200629 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000630 example: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200631 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400632 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200633 ModuleResourcesReadRequest_data:
634 example:
635 modules:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100636 - name: my-name
637 revision: my-revision
638 - name: my-name
639 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400640 properties:
641 modules:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400642 items:
leventecsanyi8db6a302024-04-02 14:37:57 +0200643 $ref: '#/components/schemas/ModuleResourcesReadRequest_data_modules_inner'
644 type: array
645 type: object
646 DataOperationRequest:
647 example:
648 resourceIdentifier: some resource identifier
649 datastore: ncmp-datastore:passthrough-operational
650 options: some option
651 operationId: "12"
652 cmHandles:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100653 - id: cmHandle123
654 cmHandleProperties:
655 myProp: some value
656 otherProp: other value
657 moduleSetTag: module-set-tag1
658 - id: cmHandle123
659 cmHandleProperties:
660 myProp: some value
661 otherProp: other value
662 moduleSetTag: module-set-tag1
leventecsanyi8db6a302024-04-02 14:37:57 +0200663 operation: read
664 properties:
665 operation:
666 example: read
667 type: string
668 operationId:
669 description: it is recommended that the operationId is unique within the
670 scope of the request
671 example: "12"
672 type: string
673 datastore:
674 example: ncmp-datastore:passthrough-operational
675 type: string
676 options:
677 example: some option
678 type: string
679 resourceIdentifier:
680 example: some resource identifier
681 type: string
682 cmHandles:
683 items:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100684 $ref: '#/components/schemas/dmiOperationCmHandle'
leventecsanyi8db6a302024-04-02 14:37:57 +0200685 type: array
686 required:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100687 - cmHandles
688 - datastore
689 - operation
690 - operationId
leventecsanyi8db6a302024-04-02 14:37:57 +0200691 title: DataOperationRequest
692 type: object