3 title: NCMP to CPS Proxy API
4 description: NCMP to CPS Proxy API
11 /v1/ch/{cm-handle}/data/ds/{datastore-name}:
15 summary: Get resource data for cm handle
16 description: Get resource data for given cm handle
17 operationId: getResourceDataForCmHandle
19 - name: datastore-name
21 description: The type of the requested data
25 example: ncmp-datastore:running
28 description: "The identifier for a network function, network element, subnetwork\
29 \ or any other cm object by managed Network CM Proxy"
34 - name: resourceIdentifier
36 description: The format of resource identifier depend on the associated DMI
37 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
38 it can really be anything.
46 resourceIdentifier: \shops\bookstore
49 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
52 resourceIdentifier: "parent=shops,child=bookstore"
55 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
56 \ in parenthesis'()'. The format of options parameter depend on the associated\
57 \ DMI Plugin implementation."
68 options: (fields=book)
71 options: "(depth=2,fields=book/authors)"
74 description: topic parameter in query.
83 - name: include-descendants
85 description: Determines if descendants are included in response
99 $ref: '#/components/examples/dataSampleResponse'
101 description: Bad Request
105 $ref: '#/components/schemas/ErrorMessage'
107 status: 400 BAD_REQUEST
108 message: Bad request error message
109 details: Bad request error details
111 description: Unauthorized
115 $ref: '#/components/schemas/ErrorMessage'
118 message: Unauthorized error message
119 details: Unauthorized error details
121 description: Forbidden
125 $ref: '#/components/schemas/ErrorMessage'
128 message: Forbidden error message
129 details: Forbidden error details
131 description: Internal Server Error
135 $ref: '#/components/schemas/ErrorMessage'
138 message: Internal Server Error
139 details: Internal Server Error occurred
141 description: Bad Gateway
145 $ref: '#/components/schemas/DmiErrorMessage'
147 message: Bad Gateway Error Message NCMP
154 summary: Update resource data from pass-through running for a cm handle
155 description: Update resource data from pass-through running for the given cm
157 operationId: updateResourceDataRunningForCmHandle
159 - name: datastore-name
161 description: The type of the requested data
165 example: ncmp-datastore:running
168 description: "The identifier for a network function, network element, subnetwork\
169 \ or any other cm object by managed Network CM Proxy"
173 example: my-cm-handle
174 - name: resourceIdentifier
176 description: The format of resource identifier depend on the associated DMI
177 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
178 it can really be anything.
186 resourceIdentifier: \shops\bookstore
189 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
192 resourceIdentifier: "parent=shops,child=bookstore"
195 description: "Content parameter for request, if content parameter is null,\
196 \ default value is application/json."
200 example: application/yang-data+json
201 default: application/json
209 $ref: '#/components/examples/dataSampleRequest'
210 application/yang-data+json:
215 $ref: '#/components/examples/dataSampleRequest'
225 description: Bad Request
229 $ref: '#/components/schemas/ErrorMessage'
231 status: 400 BAD_REQUEST
232 message: Bad request error message
233 details: Bad request error details
235 description: Unauthorized
239 $ref: '#/components/schemas/ErrorMessage'
242 message: Unauthorized error message
243 details: Unauthorized error details
245 description: Forbidden
249 $ref: '#/components/schemas/ErrorMessage'
252 message: Forbidden error message
253 details: Forbidden error details
255 description: Internal Server Error
259 $ref: '#/components/schemas/ErrorMessage'
262 message: Internal Server Error
263 details: Internal Server Error occurred
265 description: Bad Gateway
269 $ref: '#/components/schemas/DmiErrorMessage'
271 message: Bad Gateway Error Message NCMP
278 summary: create resource data from pass-through running for cm handle
279 description: create resource data from pass-through running for given cm handle
280 operationId: createResourceDataRunningForCmHandle
282 - name: datastore-name
284 description: The type of the requested data
288 example: ncmp-datastore:running
291 description: "The identifier for a network function, network element, subnetwork\
292 \ or any other cm object by managed Network CM Proxy"
296 example: my-cm-handle
297 - name: resourceIdentifier
299 description: The format of resource identifier depend on the associated DMI
300 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
301 it can really be anything.
309 resourceIdentifier: \shops\bookstore
312 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
315 resourceIdentifier: "parent=shops,child=bookstore"
318 description: "Content parameter for request, if content parameter is null,\
319 \ default value is application/json."
323 example: application/yang-data+json
324 default: application/json
332 $ref: '#/components/examples/dataSampleRequest'
333 application/yang-data+json:
338 $ref: '#/components/examples/dataSampleRequest'
345 description: Bad Request
349 $ref: '#/components/schemas/ErrorMessage'
351 status: 400 BAD_REQUEST
352 message: Bad request error message
353 details: Bad request error details
355 description: Unauthorized
359 $ref: '#/components/schemas/ErrorMessage'
362 message: Unauthorized error message
363 details: Unauthorized error details
365 description: Forbidden
369 $ref: '#/components/schemas/ErrorMessage'
372 message: Forbidden error message
373 details: Forbidden error details
375 description: Internal Server Error
379 $ref: '#/components/schemas/ErrorMessage'
382 message: Internal Server Error
383 details: Internal Server Error occurred
385 description: Bad Gateway
389 $ref: '#/components/schemas/DmiErrorMessage'
391 message: Bad Gateway Error Message NCMP
398 summary: Delete resource data
399 description: Delete resource data from pass-through running for a given cm handle
400 operationId: deleteResourceDataRunningForCmHandle
402 - name: datastore-name
404 description: The type of the requested data
408 example: ncmp-datastore:running
411 description: "The identifier for a network function, network element, subnetwork\
412 \ or any other cm object by managed Network CM Proxy"
416 example: my-cm-handle
417 - name: resourceIdentifier
419 description: The format of resource identifier depend on the associated DMI
420 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
421 it can really be anything.
429 resourceIdentifier: \shops\bookstore
432 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
435 resourceIdentifier: "parent=shops,child=bookstore"
438 description: "Content parameter for request, if content parameter is null,\
439 \ default value is application/json."
443 example: application/yang-data+json
444 default: application/json
447 description: No Content
450 description: Bad Request
454 $ref: '#/components/schemas/ErrorMessage'
456 status: 400 BAD_REQUEST
457 message: Bad request error message
458 details: Bad request error details
460 description: Unauthorized
464 $ref: '#/components/schemas/ErrorMessage'
467 message: Unauthorized error message
468 details: Unauthorized error details
470 description: Forbidden
474 $ref: '#/components/schemas/ErrorMessage'
477 message: Forbidden error message
478 details: Forbidden error details
480 description: The specified resource was not found
484 $ref: '#/components/schemas/ErrorMessage'
487 message: Not found error message
488 details: Not found error details
490 description: Internal Server Error
494 $ref: '#/components/schemas/ErrorMessage'
497 message: Internal Server Error
498 details: Internal Server Error occurred
500 description: Bad Gateway
504 $ref: '#/components/schemas/DmiErrorMessage'
506 message: Bad Gateway Error Message NCMP
513 summary: Patch resource data from pass-through running
514 description: Patch resource data from pass-through running for the given cm
516 operationId: patchResourceDataRunningForCmHandle
518 - name: datastore-name
520 description: The type of the requested data
524 example: ncmp-datastore:running
527 description: "The identifier for a network function, network element, subnetwork\
528 \ or any other cm object by managed Network CM Proxy"
532 example: my-cm-handle
533 - name: resourceIdentifier
535 description: The format of resource identifier depend on the associated DMI
536 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
537 it can really be anything.
545 resourceIdentifier: \shops\bookstore
548 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
551 resourceIdentifier: "parent=shops,child=bookstore"
554 description: "Content parameter for request, if content parameter is null,\
555 \ default value is application/json."
559 example: application/yang-data+json
560 default: application/json
568 $ref: '#/components/examples/dataSamplePatchRequest'
578 description: Bad Request
582 $ref: '#/components/schemas/ErrorMessage'
584 status: 400 BAD_REQUEST
585 message: Bad request error message
586 details: Bad request error details
588 description: Unauthorized
592 $ref: '#/components/schemas/ErrorMessage'
595 message: Unauthorized error message
596 details: Unauthorized error details
598 description: Forbidden
602 $ref: '#/components/schemas/ErrorMessage'
605 message: Forbidden error message
606 details: Forbidden error details
608 description: Internal Server Error
612 $ref: '#/components/schemas/ErrorMessage'
615 message: Internal Server Error
616 details: Internal Server Error occurred
618 description: Bad Gateway
622 $ref: '#/components/schemas/DmiErrorMessage'
624 message: Bad Gateway Error Message NCMP
632 summary: Get resource data for batch of cm handle ids
633 description: This request will be handled asynchronously using messaging to
634 the supplied topic. The rest response will be an acknowledge with a requestId
635 to identify the relevant messages.
636 operationId: getResourceDataForCmHandleBatch
640 description: mandatory topic parameter in query.
653 $ref: '#/components/schemas/ResourceDataBatchRequest'
663 description: Bad Request
667 $ref: '#/components/schemas/ErrorMessage'
669 status: 400 BAD_REQUEST
670 message: Bad request error message
671 details: Bad request error details
673 description: Unauthorized
677 $ref: '#/components/schemas/ErrorMessage'
680 message: Unauthorized error message
681 details: Unauthorized error details
683 description: Forbidden
687 $ref: '#/components/schemas/ErrorMessage'
690 message: Forbidden error message
691 details: Forbidden error details
693 description: Internal Server Error
697 $ref: '#/components/schemas/ErrorMessage'
700 message: Internal Server Error
701 details: Internal Server Error occurred
703 description: Bad Gateway
707 $ref: '#/components/schemas/DmiErrorMessage'
709 message: Bad Gateway Error Message NCMP
713 /v1/ch/{cm-handle}/data/ds/{datastore-name}/query:
717 summary: Query resource data for a given cm handle
718 description: Query resource data for a given cm handle
719 operationId: queryResourceDataForCmHandle
721 - name: datastore-name
723 description: The type of the requested data
727 example: ncmp-datastore:running
730 description: "The identifier for a network function, network element, subnetwork\
731 \ or any other cm object by managed Network CM Proxy"
735 example: my-cm-handle
738 description: "For more details on cps path, please refer https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html"
746 list attributes cps path:
747 value: "//categories[@code=1]"
750 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
751 \ in parenthesis'()'. The format of options parameter depend on the associated\
752 \ DMI Plugin implementation."
763 options: (fields=book)
766 options: "(depth=2,fields=book/authors)"
769 description: topic parameter in query.
778 - name: include-descendants
780 description: Determines if descendants are included in response
794 $ref: '#/components/examples/dataSampleResponse'
796 description: Bad Request
800 $ref: '#/components/schemas/ErrorMessage'
802 status: 400 BAD_REQUEST
803 message: Bad request error message
804 details: Bad request error details
806 description: Unauthorized
810 $ref: '#/components/schemas/ErrorMessage'
813 message: Unauthorized error message
814 details: Unauthorized error details
816 description: Forbidden
820 $ref: '#/components/schemas/ErrorMessage'
823 message: Forbidden error message
824 details: Forbidden error details
826 description: Internal Server Error
830 $ref: '#/components/schemas/ErrorMessage'
833 message: Internal Server Error
834 details: Internal Server Error occurred
836 description: Bad Gateway
840 $ref: '#/components/schemas/DmiErrorMessage'
842 message: Bad Gateway Error Message NCMP
846 /v1/ch/{cm-handle}/modules:
850 summary: Fetch all module references (name and revision) for a given cm handle
851 description: fetch all module references (name and revision) for a given cm
853 operationId: getModuleReferencesByCmHandle
857 description: "The identifier for a network function, network element, subnetwork\
858 \ or any other cm object by managed Network CM Proxy"
862 example: my-cm-handle
871 $ref: '#/components/schemas/RestModuleReference'
873 description: Bad Request
877 $ref: '#/components/schemas/ErrorMessage'
879 status: 400 BAD_REQUEST
880 message: Bad request error message
881 details: Bad request error details
883 description: Unauthorized
887 $ref: '#/components/schemas/ErrorMessage'
890 message: Unauthorized error message
891 details: Unauthorized error details
893 description: Forbidden
897 $ref: '#/components/schemas/ErrorMessage'
900 message: Forbidden error message
901 details: Forbidden error details
903 description: Internal Server Error
907 $ref: '#/components/schemas/ErrorMessage'
910 message: Internal Server Error
911 details: Internal Server Error occurred
912 /v1/ch/{cm-handle}/modules/definitions:
916 summary: "Fetch all module definitions (name, revision, yang resource) for a\
918 description: "Fetch all module definitions (name, revision, yang resource) for\
920 operationId: getModuleDefinitionsByCmHandleId
924 description: "The identifier for a network function, network element, subnetwork\
925 \ or any other cm object by managed Network CM Proxy"
929 example: my-cm-handle
938 $ref: '#/components/schemas/RestModuleDefinition'
940 description: Unauthorized
944 $ref: '#/components/schemas/ErrorMessage'
947 message: Unauthorized error message
948 details: Unauthorized error details
950 description: Forbidden
954 $ref: '#/components/schemas/ErrorMessage'
957 message: Forbidden error message
958 details: Forbidden error details
960 description: Internal Server Error
964 $ref: '#/components/schemas/ErrorMessage'
967 message: Internal Server Error
968 details: Internal Server Error occurred
973 summary: Execute cm handle search using the available conditions
974 description: Execute cm handle query search and return a list of cm handle details.
975 Any number of conditions can be applied. To be included in the result a cm-handle
976 must fulfill ALL the conditions. An empty collection will be returned in the
977 case that the cm handle does not match a condition. For more on cm handle
978 query search please refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/ncmp-cmhandle-querying.html">cm
979 handle query search Read the Docs</a>.<br/>By supplying a CPS Path it is possible
980 to query on any data related to the cm handle. For more on CPS Path please
981 refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html">CPS
982 Path Read the Docs</a>. The cm handle ancestor is automatically returned for
984 operationId: searchCmHandles
989 $ref: '#/components/schemas/CmHandleQueryParameters'
991 Cm handle properties query:
992 $ref: '#/components/examples/pubPropCmHandleQueryParameters'
993 Cm handle modules query:
994 $ref: '#/components/examples/modulesCmHandleQueryParameters'
995 All cm handle query parameters:
996 $ref: '#/components/examples/allCmHandleQueryParameters'
997 Cm handle with CPS path state query:
998 $ref: '#/components/examples/cpsPathCmHandleStateQueryParameters'
999 Cm handle with data sync flag query:
1000 $ref: '#/components/examples/cpsPathCmHandleDataSyncQueryParameters'
1010 $ref: '#/components/schemas/RestOutputCmHandle'
1012 description: Bad Request
1016 $ref: '#/components/schemas/ErrorMessage'
1018 status: 400 BAD_REQUEST
1019 message: Bad request error message
1020 details: Bad request error details
1022 description: Unauthorized
1026 $ref: '#/components/schemas/ErrorMessage'
1029 message: Unauthorized error message
1030 details: Unauthorized error details
1032 description: Forbidden
1036 $ref: '#/components/schemas/ErrorMessage'
1039 message: Forbidden error message
1040 details: Forbidden error details
1042 description: Internal Server Error
1046 $ref: '#/components/schemas/ErrorMessage'
1049 message: Internal Server Error
1050 details: Internal Server Error occurred
1055 summary: Retrieve CM handle details
1056 description: Retrieve CM handle details and properties by cm handle id
1057 operationId: retrieveCmHandleDetailsById
1061 description: "The identifier for a network function, network element, subnetwork\
1062 \ or any other cm object by managed Network CM Proxy"
1066 example: my-cm-handle
1073 $ref: '#/components/schemas/RestOutputCmHandle'
1075 description: Bad Request
1079 $ref: '#/components/schemas/ErrorMessage'
1081 status: 400 BAD_REQUEST
1082 message: Bad request error message
1083 details: Bad request error details
1085 description: Unauthorized
1089 $ref: '#/components/schemas/ErrorMessage'
1092 message: Unauthorized error message
1093 details: Unauthorized error details
1095 description: The specified resource was not found
1099 $ref: '#/components/schemas/ErrorMessage'
1102 message: Not found error message
1103 details: Not found error details
1105 description: Internal Server Error
1109 $ref: '#/components/schemas/ErrorMessage'
1112 message: Internal Server Error
1113 details: Internal Server Error occurred
1114 /v1/ch/{cm-handle}/properties:
1118 summary: Get CM handle properties
1119 description: Get CM handle properties by cm handle id
1120 operationId: getCmHandlePublicPropertiesByCmHandleId
1124 description: "The identifier for a network function, network element, subnetwork\
1125 \ or any other cm object by managed Network CM Proxy"
1129 example: my-cm-handle
1136 $ref: '#/components/schemas/RestOutputCmHandlePublicProperties'
1138 description: Bad Request
1142 $ref: '#/components/schemas/ErrorMessage'
1144 status: 400 BAD_REQUEST
1145 message: Bad request error message
1146 details: Bad request error details
1148 description: Unauthorized
1152 $ref: '#/components/schemas/ErrorMessage'
1155 message: Unauthorized error message
1156 details: Unauthorized error details
1158 description: The specified resource was not found
1162 $ref: '#/components/schemas/ErrorMessage'
1165 message: Not found error message
1166 details: Not found error details
1168 description: Internal Server Error
1172 $ref: '#/components/schemas/ErrorMessage'
1175 message: Internal Server Error
1176 details: Internal Server Error occurred
1181 summary: Execute cm handle query upon a given set of query parameters
1182 description: Execute cm handle query search and return a list of cm handle ids.
1183 Any number of conditions can be applied. To be included in the result a cm-handle
1184 must fulfill ALL the conditions. An empty collection will be returned in the
1185 case that the cm handle does not match a condition. For more on cm handle
1186 query search please refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/ncmp-cmhandle-querying.html">cm
1187 handle query search Read the Docs</a>.<br/>By supplying a CPS Path it is possible
1188 to query on any data related to the cm handle. For more on CPS Path please
1189 refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html">CPS
1190 Path Read the Docs</a>. The cm handle ancestor is automatically returned for
1192 operationId: searchCmHandleIds
1197 $ref: '#/components/schemas/CmHandleQueryParameters'
1199 Cm handle properties query:
1200 $ref: '#/components/examples/pubPropCmHandleQueryParameters'
1201 Cm handle modules query:
1202 $ref: '#/components/examples/modulesCmHandleQueryParameters'
1203 All cm handle query parameters:
1204 $ref: '#/components/examples/allCmHandleQueryParameters'
1205 Cm handle with CPS path state query:
1206 $ref: '#/components/examples/cpsPathCmHandleStateQueryParameters'
1207 Cm handle with data sync flag query:
1208 $ref: '#/components/examples/cpsPathCmHandleDataSyncQueryParameters'
1220 description: Bad Request
1224 $ref: '#/components/schemas/ErrorMessage'
1226 status: 400 BAD_REQUEST
1227 message: Bad request error message
1228 details: Bad request error details
1230 description: Unauthorized
1234 $ref: '#/components/schemas/ErrorMessage'
1237 message: Unauthorized error message
1238 details: Unauthorized error details
1240 description: Forbidden
1244 $ref: '#/components/schemas/ErrorMessage'
1247 message: Forbidden error message
1248 details: Forbidden error details
1250 description: The specified resource was not found
1254 $ref: '#/components/schemas/ErrorMessage'
1257 message: Not found error message
1258 details: Not found error details
1260 description: Internal Server Error
1264 $ref: '#/components/schemas/ErrorMessage'
1267 message: Internal Server Error
1268 details: Internal Server Error occurred
1269 /v1/ch/{cm-handle}/state:
1273 summary: Get CM handle state
1274 description: Get CM handle state by cm handle id
1275 operationId: getCmHandleStateByCmHandleId
1279 description: "The identifier for a network function, network element, subnetwork\
1280 \ or any other cm object by managed Network CM Proxy"
1284 example: my-cm-handle
1291 $ref: '#/components/schemas/RestOutputCmHandleCompositeState'
1293 description: Bad Request
1297 $ref: '#/components/schemas/ErrorMessage'
1299 status: 400 BAD_REQUEST
1300 message: Bad request error message
1301 details: Bad request error details
1303 description: Unauthorized
1307 $ref: '#/components/schemas/ErrorMessage'
1310 message: Unauthorized error message
1311 details: Unauthorized error details
1313 description: The specified resource was not found
1317 $ref: '#/components/schemas/ErrorMessage'
1320 message: Not found error message
1321 details: Not found error details
1323 description: Internal Server Error
1327 $ref: '#/components/schemas/ErrorMessage'
1330 message: Internal Server Error
1331 details: Internal Server Error occurred
1332 /v1/ch/{cm-handle}/data-sync:
1336 summary: Set the Data Sync Enabled Flag
1337 description: Set the data sync enabled flag to true or false for a specified
1338 Cm-Handle. This will in turn set the data sync state to UNSYNCHRONIZED and
1339 NONE_REQUESTED respectfully.
1340 operationId: setDataSyncEnabledFlagForCmHandle
1344 description: "The identifier for a network function, network element, subnetwork\
1345 \ or any other cm object by managed Network CM Proxy"
1349 example: my-cm-handle
1350 - name: dataSyncEnabled
1352 description: Is used to enable or disable the data synchronization flag
1365 description: Bad Request
1369 $ref: '#/components/schemas/ErrorMessage'
1371 status: 400 BAD_REQUEST
1372 message: Bad request error message
1373 details: Bad request error details
1375 description: Unauthorized
1379 $ref: '#/components/schemas/ErrorMessage'
1382 message: Unauthorized error message
1383 details: Unauthorized error details
1385 description: Forbidden
1389 $ref: '#/components/schemas/ErrorMessage'
1392 message: Forbidden error message
1393 details: Forbidden error details
1395 description: Internal Server Error
1399 $ref: '#/components/schemas/ErrorMessage'
1402 message: Internal Server Error
1403 details: Internal Server Error occurred
1405 description: Bad Gateway
1409 $ref: '#/components/schemas/DmiErrorMessage'
1411 message: Bad Gateway Error Message NCMP
1428 title: DMI Error Message
1433 example: Bad Gateway Error Message NCMP
1435 $ref: '#/components/schemas/DmiErrorMessage_dmiresponse'
1436 ResourceDataBatchRequest:
1437 title: get resource data for given array of operations
1442 description: contains batch request details
1444 $ref: '#/components/schemas/BatchOperationDefinition'
1445 BatchOperationDefinition:
1459 example: ncmp-datastore:passthrough-operational
1462 example: (fields=schemas/schema)
1465 example: parent/child
1469 - da310eecdb8d44c2acc0ddaae01174b1
1470 - c748c58f8e0b438f9fd1f28370b17d47
1473 RestModuleReference:
1474 title: Module reference details
1479 example: my-module-name
1482 example: my-module-revision
1483 RestModuleDefinition:
1484 title: Module definitions
1489 example: my-module-name
1498 namespace "org:onap:ccsdk:sample";
1500 revision "2020-09-15" {
1505 CmHandleQueryParameters:
1506 title: Cm Handle query parameters for executing cm handle search
1509 cmHandleQueryParameters:
1512 $ref: '#/components/schemas/ConditionProperties'
1515 description: "not necessary, it is just for backward compatibility"
1518 $ref: '#/components/schemas/OldConditionProperties'
1519 ConditionProperties:
1523 conditionParameters:
1527 additionalProperties:
1529 OldConditionProperties:
1533 conditionParameters:
1536 $ref: '#/components/schemas/ModuleNameAsJsonObject'
1538 ModuleNameAsJsonObject:
1544 title: CM handle Details
1549 example: my-cm-handle1
1550 publicCmHandleProperties:
1551 $ref: '#/components/schemas/CmHandlePublicProperties'
1553 $ref: '#/components/schemas/CmHandleCompositeState'
1554 CmHandlePublicProperties:
1558 additionalProperties:
1561 CmHandleCompositeState:
1568 $ref: '#/components/schemas/lock-reason'
1571 example: 2022-12-31T20:30:40.000+0000
1576 $ref: '#/components/schemas/dataStores'
1582 example: LOCKED_MISBEHAVING
1585 example: locked due to failure in module sync
1590 $ref: '#/components/schemas/sync-state'
1592 $ref: '#/components/schemas/sync-state'
1598 example: NONE_REQUESTED
1601 example: 2022-12-31T20:30:40.000+0000
1602 RestOutputCmHandlePublicProperties:
1605 publicCmHandleProperties:
1606 $ref: '#/components/schemas/CmHandlePublicProperties'
1607 RestOutputCmHandleCompositeState:
1611 $ref: '#/components/schemas/CmHandleCompositeState'
1612 DmiErrorMessage_dmiresponse:
1620 example: Bad Request
1623 description: Bad Request
1627 $ref: '#/components/schemas/ErrorMessage'
1629 status: 400 BAD_REQUEST
1630 message: Bad request error message
1631 details: Bad request error details
1633 description: Unauthorized
1637 $ref: '#/components/schemas/ErrorMessage'
1640 message: Unauthorized error message
1641 details: Unauthorized error details
1643 description: Forbidden
1647 $ref: '#/components/schemas/ErrorMessage'
1650 message: Forbidden error message
1651 details: Forbidden error details
1652 InternalServerError:
1653 description: Internal Server Error
1657 $ref: '#/components/schemas/ErrorMessage'
1660 message: Internal Server Error
1661 details: Internal Server Error occurred
1663 description: Bad Gateway
1667 $ref: '#/components/schemas/DmiErrorMessage'
1669 message: Bad Gateway Error Message NCMP
1680 description: Created
1683 description: No Content
1686 description: The specified resource was not found
1690 $ref: '#/components/schemas/ErrorMessage'
1693 message: Not found error message
1694 details: Not found error details
1697 name: datastore-name
1699 description: The type of the requested data
1703 example: ncmp-datastore:running
1707 description: "The identifier for a network function, network element, subnetwork\
1708 \ or any other cm object by managed Network CM Proxy"
1712 example: my-cm-handle
1713 resourceIdentifierInQuery:
1714 name: resourceIdentifier
1716 description: The format of resource identifier depend on the associated DMI
1717 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but it
1718 can really be anything.
1726 resourceIdentifier: \shops\bookstore
1729 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
1732 resourceIdentifier: "parent=shops,child=bookstore"
1733 optionsParamInQuery:
1736 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
1737 \ in parenthesis'()'. The format of options parameter depend on the associated\
1738 \ DMI Plugin implementation."
1749 options: (fields=book)
1752 options: "(depth=2,fields=book/authors)"
1756 description: topic parameter in query.
1764 topic: my-topic-name
1765 includeDescendantsOptionInQuery:
1766 name: include-descendants
1768 description: Determines if descendants are included in response
1773 contentParamInHeader:
1776 description: "Content parameter for request, if content parameter is null, default\
1777 \ value is application/json."
1781 example: application/yang-data+json
1782 default: application/json
1783 requiredTopicParamInQuery:
1786 description: mandatory topic parameter in query.
1794 topic: my-topic-name
1798 description: "For more details on cps path, please refer https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html"
1806 list attributes cps path:
1807 value: "//categories[@code=1]"
1809 name: dataSyncEnabled
1811 description: Is used to enable or disable the data synchronization flag
1818 summary: Sample response
1819 description: Sample response for selecting 'sample 1'.
1835 summary: Sample request
1836 description: Sample request body
1839 bookstore-name: Chapters
1852 dataSamplePatchRequest:
1853 summary: Sample patch request
1854 description: Sample patch request body
1856 ietf-restconf:yang-patch:
1864 bookstore-name: Chapters
1882 bookstore-name: Novels
1895 pubPropCmHandleQueryParameters:
1897 cmHandleQueryParameters:
1898 - conditionName: hasAllProperties
1899 conditionParameters:
1903 modulesCmHandleQueryParameters:
1905 cmHandleQueryParameters:
1906 - conditionName: hasAllModules
1907 conditionParameters:
1908 - moduleName: my-module-1
1909 - moduleName: my-module-2
1910 - moduleName: my-module-3
1911 allCmHandleQueryParameters:
1913 cmHandleQueryParameters:
1914 - conditionName: hasAllModules
1915 conditionParameters:
1916 - moduleName: my-module-1
1917 - moduleName: my-module-2
1918 - moduleName: my-module-3
1919 - conditionName: hasAllProperties
1920 conditionParameters:
1924 - conditionName: cmHandleWithCpsPath
1925 conditionParameters:
1926 - cpsPath: "//state[@cm-handle-state='ADVISED']"
1927 cpsPathCmHandleStateQueryParameters:
1929 cmHandleQueryParameters:
1930 - conditionName: cmHandleWithCpsPath
1931 conditionParameters:
1932 - cpsPath: "//state[@cm-handle-state='LOCKED']"
1933 cpsPathCmHandleDataSyncQueryParameters:
1935 cmHandleQueryParameters:
1936 - conditionName: cmHandleWithCpsPath
1937 conditionParameters:
1938 - cpsPath: "//state[@data-sync-enabled='true']"