blob: ceb6191376ff5518de7006020562b0f79d8488ef [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
209 - description: Module set tag of the given cm handle.
210 examples:
211 sample1:
212 value: tag1
213 in: query
214 name: moduleSetTag
215 required: false
216 schema:
217 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200218 requestBody:
219 content:
220 application/json:
221 schema:
222 $ref: '#/components/schemas/DataAccessRequest'
223 description: Contains collection of cm handles with it's private properties
224 and requestId
225 responses:
226 "200":
227 content:
228 application/json:
229 schema:
230 example:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100231 - yangSource: my-yang-source
232 moduleName: my-module-name
233 revision: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200234 type: object
235 description: OK
236 "400":
237 content:
238 application/json:
239 example:
240 status: 400
241 message: Bad Request
242 details: The provided request is not valid
243 schema:
244 $ref: '#/components/schemas/ErrorMessage'
245 description: Bad Request
246 "500":
247 content:
248 application/json:
249 example:
250 status: 500
251 message: Internal Server Error
252 details: Internal Server Error occured
253 schema:
254 $ref: '#/components/schemas/ErrorMessage'
255 description: Internal Server Error
256 summary: Get resource data from passthrough operational or running for a cm
257 handle
258 tags:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100259 - dmi-plugin
leventecsanyi8db6a302024-04-02 14:37:57 +0200260 /v1/data:
261 post:
262 description: Execute a data operation for group of cm handle ids by supplied
263 operation details
264 operationId: getResourceDataForCmHandleDataOperation
265 parameters:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100266 - description: mandatory topic name passed from client(NCMP).
267 examples:
268 sample1:
269 value:
270 topic: my-topic-name
271 in: query
272 name: topic
273 required: true
274 schema:
275 type: string
276 - description: request Id generated by NCMP and sent as an acknowledgement for
277 the client request the same including here.
278 examples:
279 sample1:
280 value: 4753fc1f-7de2-449a-b306-a6204b5370b3
281 in: query
282 name: requestId
283 required: true
284 schema:
285 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200286 requestBody:
287 content:
288 application/json:
289 schema:
290 $ref: '#/components/schemas/ResourceDataOperationRequests'
291 description: list of operation details
292 responses:
293 "202":
294 description: Accepted
295 "400":
296 content:
297 application/json:
298 example:
299 status: 400
300 message: Bad Request
301 details: The provided request is not valid
302 schema:
303 $ref: '#/components/schemas/ErrorMessage'
304 description: Bad Request
305 "500":
306 content:
307 application/json:
308 example:
309 status: 500
310 message: Internal Server Error
311 details: Internal Server Error occured
312 schema:
313 $ref: '#/components/schemas/ErrorMessage'
314 description: Internal Server Error
315 "501":
316 content:
317 application/json:
318 example:
319 status: 501
320 message: Not Implemented
321 details: Method Not Implemented
322 schema:
323 $ref: '#/components/schemas/ErrorMessage'
324 description: Not Implemented
325 summary: Execute a data operation for group of cm handle ids.
326 tags:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100327 - dmi-plugin
Renu Kumari3aea57e2021-10-12 13:41:01 -0400328components:
leventecsanyi8db6a302024-04-02 14:37:57 +0200329 parameters:
330 cmHandleInPath:
331 description: "The identifier for a network function, network element, subnetwork,\
332 \ or any other cm object by managed Network CM Proxy"
333 in: path
334 name: cmHandle
335 required: true
336 schema:
337 example: my-cm-handle
338 type: string
339 datastoreName:
340 description: The type of the requested data
341 in: path
342 name: datastore-name
343 required: true
344 schema:
345 example: ncmp-datastore:passthrough-operational or ncmp-datastore:passthrough-running
346 type: string
347 resourceIdentifierInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200348 description: Resource identifier to get/set the resource data
349 in: query
350 name: resourceIdentifier
351 required: true
352 schema:
353 example: my-schema:my-node
354 type: string
355 optionsParamInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200356 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
357 \ in parenthesis'()'."
358 examples:
359 sample1:
360 value:
361 options: "(key1=value1,key2=value2)"
362 sample2:
363 value:
364 options: "(key1=value1,key2=value1/value2)"
365 sample3:
366 value:
367 options: "(key1=10,key2=value2,key3=val31,val32)"
368 in: query
369 name: options
370 required: false
371 schema:
372 type: string
373 topicParamInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200374 description: topic name passed from client(NCMP).
375 examples:
376 sample1:
377 value: my-topic-name
378 in: query
379 name: topic
380 required: false
381 schema:
382 type: string
david.mcweeney184b6812024-05-02 15:14:52 +0100383 moduleSetTagParamInQuery:
david.mcweeney184b6812024-05-02 15:14:52 +0100384 description: Module set tag of the given cm handle.
ToineSiebelink190c30c2024-05-22 11:54:23 +0100385 examples:
386 sample1:
387 value: tag1
388 in: query
389 name: moduleSetTag
david.mcweeney184b6812024-05-02 15:14:52 +0100390 required: false
391 schema:
392 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200393 requiredTopicParamInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200394 description: mandatory topic name passed from client(NCMP).
395 examples:
396 sample1:
397 value:
398 topic: my-topic-name
399 in: query
400 name: topic
401 required: true
402 schema:
403 type: string
404 requiredRequestIdParamInQuery:
leventecsanyi8db6a302024-04-02 14:37:57 +0200405 description: request Id generated by NCMP and sent as an acknowledgement for
406 the client request the same including here.
407 examples:
408 sample1:
409 value: 4753fc1f-7de2-449a-b306-a6204b5370b3
410 in: query
411 name: requestId
412 required: true
413 schema:
414 type: string
415 responses:
416 NotFound:
417 content:
418 application/json:
419 example:
420 status: 404
421 message: Resource Not Found
422 details: The requested resource is not found
423 schema:
424 $ref: '#/components/schemas/ErrorMessage'
425 description: The specified resource was not found
426 ServerError:
427 content:
428 application/json:
429 example:
430 status: 500
431 message: Internal Server Error
432 details: Internal Server Error occured
433 schema:
434 $ref: '#/components/schemas/ErrorMessage'
435 description: Internal Server Error
436 BadRequest:
437 content:
438 application/json:
439 example:
440 status: 400
441 message: Bad Request
442 details: The provided request is not valid
443 schema:
444 $ref: '#/components/schemas/ErrorMessage'
445 description: Bad Request
446 NotImplemented:
447 content:
448 application/json:
449 example:
450 status: 501
451 message: Not Implemented
452 details: Method Not Implemented
453 schema:
454 $ref: '#/components/schemas/ErrorMessage'
455 description: Not Implemented
Renu Kumari3aea57e2021-10-12 13:41:01 -0400456 schemas:
457 ModuleReferencesRequest:
leventecsanyi8db6a302024-04-02 14:37:57 +0200458 example:
459 moduleSetTag: moduleSetTag
Renu Kumari3aea57e2021-10-12 13:41:01 -0400460 cmHandleProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200461 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
462 properties:
463 moduleSetTag:
464 type: string
465 cmHandleProperties:
466 additionalProperties:
467 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
468 type: string
469 nullable: true
470 type: object
471 type: object
Renu Kumari3aea57e2021-10-12 13:41:01 -0400472 cmHandleProperties:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400473 additionalProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200474 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
Renu Kumari3aea57e2021-10-12 13:41:01 -0400475 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200476 nullable: true
Renu Kumari3aea57e2021-10-12 13:41:01 -0400477 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200478 ModuleSet:
479 example:
480 schemas:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100481 - moduleName: my-module-name
482 namespace: my-namespace
483 revision: my-revision
484 - moduleName: my-module-name
485 namespace: my-namespace
486 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400487 properties:
488 schemas:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400489 items:
leventecsanyi8db6a302024-04-02 14:37:57 +0200490 $ref: '#/components/schemas/ModuleSet_schemas_inner'
491 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400492 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200493 ErrorMessage:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400494 properties:
495 status:
496 type: string
497 message:
498 type: string
499 details:
500 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200501 title: Error
Renu Kumari3aea57e2021-10-12 13:41:01 -0400502 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200503 ModuleResourcesReadRequest:
504 example:
505 data:
506 modules:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100507 - name: my-name
508 revision: my-revision
509 - name: my-name
510 revision: my-revision
511 moduleSetTag: Module-set-tag-1
leventecsanyi8db6a302024-04-02 14:37:57 +0200512 cmHandleProperties:
513 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
Renu Kumari3aea57e2021-10-12 13:41:01 -0400514 properties:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100515 moduleSetTag:
516 description: Module set tag of the given cm handle
517 example: Module-set-tag-1
518 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400519 data:
520 $ref: '#/components/schemas/ModuleResourcesReadRequest_data'
521 cmHandleProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200522 additionalProperties:
523 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
524 type: string
525 nullable: true
526 type: object
527 type: object
Renu Kumari3aea57e2021-10-12 13:41:01 -0400528 YangResources:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400529 items:
530 $ref: '#/components/schemas/YangResource'
leventecsanyi8db6a302024-04-02 14:37:57 +0200531 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400532 YangResource:
leventecsanyi8db6a302024-04-02 14:37:57 +0200533 example:
534 yangSource: my-yang-source
535 moduleName: my-module-name
536 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400537 properties:
538 yangSource:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000539 example: my-yang-source
leventecsanyi8db6a302024-04-02 14:37:57 +0200540 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400541 moduleName:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000542 example: my-module-name
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000543 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200544 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000545 example: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200546 type: string
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000547 CmHandles:
leventecsanyi8db6a302024-04-02 14:37:57 +0200548 example:
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000549 cmHandles:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100550 - cmHandleId1
551 - cmHandleId2
552 - cmHandleId3
leventecsanyi8db6a302024-04-02 14:37:57 +0200553 properties:
554 cmHandles:
555 example:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100556 - cmHandleId1
557 - cmHandleId2
558 - cmHandleId3
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000559 items:
560 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200561 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400562 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200563 DataAccessRequest:
564 example:
565 data: my-data
566 requestId: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
567 dataType: my-data-type
568 cmHandleProperties:
569 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
570 operation: read
Renu Kumari3aea57e2021-10-12 13:41:01 -0400571 properties:
572 operation:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400573 enum:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100574 - read
575 - create
576 - update
577 - patch
578 - delete
leventecsanyi8db6a302024-04-02 14:37:57 +0200579 example: read
580 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400581 dataType:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000582 example: my-data-type
leventecsanyi8db6a302024-04-02 14:37:57 +0200583 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400584 data:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000585 example: my-data
mpriyank78e1d062022-04-08 15:12:22 +0530586 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200587 cmHandleProperties:
588 additionalProperties:
589 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
590 type: string
591 nullable: true
592 type: object
593 requestId:
JosephKeenan2cd8b982022-05-23 15:43:05 +0100594 example: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
leventecsanyi8db6a302024-04-02 14:37:57 +0200595 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400596 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200597 ResourceDataOperationRequests:
598 items:
599 $ref: '#/components/schemas/DataOperationRequest'
600 type: array
ToineSiebelink190c30c2024-05-22 11:54:23 +0100601 dmiOperationCmHandle:
leventecsanyi8db6a302024-04-02 14:37:57 +0200602 example:
603 id: cmHandle123
604 cmHandleProperties:
605 myProp: some value
606 otherProp: other value
ToineSiebelink190c30c2024-05-22 11:54:23 +0100607 moduleSetTag: module-set-tag1
leventecsanyi8db6a302024-04-02 14:37:57 +0200608 properties:
609 id:
610 type: string
611 cmHandleProperties:
612 additionalProperties:
613 type: string
614 type: object
ToineSiebelink190c30c2024-05-22 11:54:23 +0100615 moduleSetTag:
616 example: module-set-tag1
617 type: string
618 title: CmHandle with properties for DMI
leventecsanyi8db6a302024-04-02 14:37:57 +0200619 type: object
620 ModuleSet_schemas_inner:
621 example:
622 moduleName: my-module-name
623 namespace: my-namespace
624 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400625 properties:
626 moduleName:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000627 example: my-module-name
leventecsanyi8db6a302024-04-02 14:37:57 +0200628 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400629 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000630 example: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400631 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200632 namespace:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000633 example: my-namespace
leventecsanyi8db6a302024-04-02 14:37:57 +0200634 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400635 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200636 ModuleResourcesReadRequest_data_modules_inner:
637 example:
638 name: my-name
639 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400640 properties:
641 name:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000642 example: my-name
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000643 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200644 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000645 example: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200646 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400647 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200648 ModuleResourcesReadRequest_data:
649 example:
650 modules:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100651 - name: my-name
652 revision: my-revision
653 - name: my-name
654 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400655 properties:
656 modules:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400657 items:
leventecsanyi8db6a302024-04-02 14:37:57 +0200658 $ref: '#/components/schemas/ModuleResourcesReadRequest_data_modules_inner'
659 type: array
660 type: object
661 DataOperationRequest:
662 example:
663 resourceIdentifier: some resource identifier
664 datastore: ncmp-datastore:passthrough-operational
665 options: some option
666 operationId: "12"
667 cmHandles:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100668 - id: cmHandle123
669 cmHandleProperties:
670 myProp: some value
671 otherProp: other value
672 moduleSetTag: module-set-tag1
673 - id: cmHandle123
674 cmHandleProperties:
675 myProp: some value
676 otherProp: other value
677 moduleSetTag: module-set-tag1
leventecsanyi8db6a302024-04-02 14:37:57 +0200678 operation: read
679 properties:
680 operation:
681 example: read
682 type: string
683 operationId:
684 description: it is recommended that the operationId is unique within the
685 scope of the request
686 example: "12"
687 type: string
688 datastore:
689 example: ncmp-datastore:passthrough-operational
690 type: string
691 options:
692 example: some option
693 type: string
694 resourceIdentifier:
695 example: some resource identifier
696 type: string
697 cmHandles:
698 items:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100699 $ref: '#/components/schemas/dmiOperationCmHandle'
leventecsanyi8db6a302024-04-02 14:37:57 +0200700 type: array
701 required:
ToineSiebelink190c30c2024-05-22 11:54:23 +0100702 - cmHandles
703 - datastore
704 - operation
705 - operationId
leventecsanyi8db6a302024-04-02 14:37:57 +0200706 title: DataOperationRequest
707 type: object