3 description: NCMP to CPS Proxy API
4 title: NCMP to CPS Proxy API
11 /v1/ch/{cm-handle}/data/ds/{datastore-name}:
13 description: Delete resource data from pass-through running for a given cm handle
14 operationId: deleteResourceDataRunningForCmHandle
16 - description: The type of the requested data
21 example: ncmp-datastore:running
23 - description: "The identifier for a network function, network element, subnetwork\
24 \ or any other cm object by managed Network CM Proxy"
32 description: The format of resource identifier depend on the associated DMI
33 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
34 it can really be anything.
38 resourceIdentifier: \shops\bookstore
41 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
44 resourceIdentifier: "parent=shops,child=bookstore"
46 name: resourceIdentifier
50 - description: "Content parameter for request, if content parameter is null,\
51 \ default value is application/json."
56 default: application/json
57 example: application/yang-data+json
59 - description: Authorization parameter for request.
68 description: No Content
74 message: Bad request error message
75 details: Bad request error details
77 $ref: '#/components/schemas/ErrorMessage'
78 description: Bad Request
84 message: Forbidden error message
85 details: Forbidden error details
87 $ref: '#/components/schemas/ErrorMessage'
88 description: Forbidden
94 message: Not found error message
95 details: Not found error details
97 $ref: '#/components/schemas/ErrorMessage'
98 description: The specified resource was not found
104 message: Internal Server Error
105 details: Internal Server Error occurred
107 $ref: '#/components/schemas/ErrorMessage'
108 description: Internal Server Error
113 message: Bad Gateway Error Message NCMP
118 $ref: '#/components/schemas/DmiErrorMessage'
119 description: Bad Gateway
120 summary: Delete resource data
124 description: Get resource data for given cm handle
125 operationId: getResourceDataForCmHandle
127 - description: The type of the requested data
132 example: ncmp-datastore:running
134 - description: "The identifier for a network function, network element, subnetwork\
135 \ or any other cm object by managed Network CM Proxy"
140 example: my-cm-handle
142 - allowReserved: true
143 description: The format of resource identifier depend on the associated DMI
144 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
145 it can really be anything.
149 resourceIdentifier: \shops\bookstore
152 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
155 resourceIdentifier: "parent=shops,child=bookstore"
157 name: resourceIdentifier
161 - allowReserved: true
162 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
163 \ in parenthesis'()'. The format of options parameter depend on the associated\
164 \ DMI Plugin implementation."
171 options: (fields=book)
174 options: "(depth=2,fields=book/authors)"
180 - allowReserved: true
181 description: topic parameter in query.
191 - description: Determines if descendants are included in response
193 name: include-descendants
198 - description: Authorization parameter for request.
210 $ref: '#/components/examples/dataSampleResponse'
220 message: Bad request error message
221 details: Bad request error details
223 $ref: '#/components/schemas/ErrorMessage'
224 description: Bad Request
230 message: Forbidden error message
231 details: Forbidden error details
233 $ref: '#/components/schemas/ErrorMessage'
234 description: Forbidden
240 message: Internal Server Error
241 details: Internal Server Error occurred
243 $ref: '#/components/schemas/ErrorMessage'
244 description: Internal Server Error
249 message: Bad Gateway Error Message NCMP
254 $ref: '#/components/schemas/DmiErrorMessage'
255 description: Bad Gateway
256 summary: Get resource data for cm handle
260 description: Patch resource data from pass-through running for the given cm
262 operationId: patchResourceDataRunningForCmHandle
264 - description: The type of the requested data
269 example: ncmp-datastore:running
271 - description: "The identifier for a network function, network element, subnetwork\
272 \ or any other cm object by managed Network CM Proxy"
277 example: my-cm-handle
279 - allowReserved: true
280 description: The format of resource identifier depend on the associated DMI
281 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
282 it can really be anything.
286 resourceIdentifier: \shops\bookstore
289 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
292 resourceIdentifier: "parent=shops,child=bookstore"
294 name: resourceIdentifier
298 - description: "Content parameter for request, if content parameter is null,\
299 \ default value is application/json."
304 default: application/json
305 example: application/yang-data+json
307 - description: Authorization parameter for request.
318 $ref: '#/components/examples/dataSamplePatchRequest'
335 message: Bad request error message
336 details: Bad request error details
338 $ref: '#/components/schemas/ErrorMessage'
339 description: Bad Request
345 message: Forbidden error message
346 details: Forbidden error details
348 $ref: '#/components/schemas/ErrorMessage'
349 description: Forbidden
355 message: Internal Server Error
356 details: Internal Server Error occurred
358 $ref: '#/components/schemas/ErrorMessage'
359 description: Internal Server Error
364 message: Bad Gateway Error Message NCMP
369 $ref: '#/components/schemas/DmiErrorMessage'
370 description: Bad Gateway
371 summary: Patch resource data from pass-through running
375 description: create resource data from pass-through running for given cm handle
376 operationId: createResourceDataRunningForCmHandle
378 - description: The type of the requested data
383 example: ncmp-datastore:running
385 - description: "The identifier for a network function, network element, subnetwork\
386 \ or any other cm object by managed Network CM Proxy"
391 example: my-cm-handle
393 - allowReserved: true
394 description: The format of resource identifier depend on the associated DMI
395 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
396 it can really be anything.
400 resourceIdentifier: \shops\bookstore
403 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
406 resourceIdentifier: "parent=shops,child=bookstore"
408 name: resourceIdentifier
412 - description: "Content parameter for request, if content parameter is null,\
413 \ default value is application/json."
418 default: application/json
419 example: application/yang-data+json
421 - description: Authorization parameter for request.
432 $ref: '#/components/examples/dataSampleRequest'
436 application/yang-data+json:
439 $ref: '#/components/examples/dataSampleRequest'
453 message: Bad request error message
454 details: Bad request error details
456 $ref: '#/components/schemas/ErrorMessage'
457 description: Bad Request
463 message: Forbidden error message
464 details: Forbidden error details
466 $ref: '#/components/schemas/ErrorMessage'
467 description: Forbidden
473 message: Internal Server Error
474 details: Internal Server Error occurred
476 $ref: '#/components/schemas/ErrorMessage'
477 description: Internal Server Error
482 message: Bad Gateway Error Message NCMP
487 $ref: '#/components/schemas/DmiErrorMessage'
488 description: Bad Gateway
489 summary: create resource data from pass-through running for cm handle
493 description: Update resource data from pass-through running for the given cm
495 operationId: updateResourceDataRunningForCmHandle
497 - description: The type of the requested data
502 example: ncmp-datastore:running
504 - description: "The identifier for a network function, network element, subnetwork\
505 \ or any other cm object by managed Network CM Proxy"
510 example: my-cm-handle
512 - allowReserved: true
513 description: The format of resource identifier depend on the associated DMI
514 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
515 it can really be anything.
519 resourceIdentifier: \shops\bookstore
522 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
525 resourceIdentifier: "parent=shops,child=bookstore"
527 name: resourceIdentifier
531 - description: "Content parameter for request, if content parameter is null,\
532 \ default value is application/json."
537 default: application/json
538 example: application/yang-data+json
540 - description: Authorization parameter for request.
551 $ref: '#/components/examples/dataSampleRequest'
555 application/yang-data+json:
558 $ref: '#/components/examples/dataSampleRequest'
575 message: Bad request error message
576 details: Bad request error details
578 $ref: '#/components/schemas/ErrorMessage'
579 description: Bad Request
585 message: Forbidden error message
586 details: Forbidden error details
588 $ref: '#/components/schemas/ErrorMessage'
589 description: Forbidden
595 message: Internal Server Error
596 details: Internal Server Error occurred
598 $ref: '#/components/schemas/ErrorMessage'
599 description: Internal Server Error
604 message: Bad Gateway Error Message NCMP
609 $ref: '#/components/schemas/DmiErrorMessage'
610 description: Bad Gateway
611 summary: Update resource data from pass-through running for a cm handle
616 description: This request will be handled asynchronously using messaging to
617 the supplied topic. The rest response will be an acknowledge with a requestId
618 to identify the relevant messages. A maximum of 50 cm handles per operation
620 operationId: executeDataOperationForCmHandles
622 - allowReserved: true
623 description: mandatory topic parameter in query.
633 - description: Authorization parameter for request.
643 $ref: '#/components/schemas/DataOperationRequest'
657 message: Bad request error message
658 details: Bad request error details
660 $ref: '#/components/schemas/ErrorMessage'
661 description: Bad Request
667 message: Forbidden error message
668 details: Forbidden error details
670 $ref: '#/components/schemas/ErrorMessage'
671 description: Forbidden
677 message: Payload Too Large error message
678 details: Payload Too Large error details
680 $ref: '#/components/schemas/ErrorMessage'
681 description: The request is larger than the server is willing or able to
688 message: Internal Server Error
689 details: Internal Server Error occurred
691 $ref: '#/components/schemas/ErrorMessage'
692 description: Internal Server Error
697 message: Bad Gateway Error Message NCMP
702 $ref: '#/components/schemas/DmiErrorMessage'
703 description: Bad Gateway
704 summary: Execute a data operation for group of cm handle ids
707 /v1/ch/{cm-handle}/data/ds/{datastore-name}/query:
709 description: Query resource data for a given cm handle
710 operationId: queryResourceDataForCmHandle
712 - description: The type of the requested data
717 example: ncmp-datastore:running
719 - description: "The identifier for a network function, network element, subnetwork\
720 \ or any other cm object by managed Network CM Proxy"
725 example: my-cm-handle
727 - description: "For more details on cps path, please refer https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html"
731 list attributes cps path:
732 value: "//categories[@code=1]"
739 - allowReserved: true
740 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
741 \ in parenthesis'()'. The format of options parameter depend on the associated\
742 \ DMI Plugin implementation."
749 options: (fields=book)
752 options: "(depth=2,fields=book/authors)"
758 - allowReserved: true
759 description: topic parameter in query.
769 - description: Determines if descendants are included in response
771 name: include-descendants
782 $ref: '#/components/examples/dataSampleResponse'
792 message: Bad request error message
793 details: Bad request error details
795 $ref: '#/components/schemas/ErrorMessage'
796 description: Bad Request
802 message: Forbidden error message
803 details: Forbidden error details
805 $ref: '#/components/schemas/ErrorMessage'
806 description: Forbidden
812 message: Internal Server Error
813 details: Internal Server Error occurred
815 $ref: '#/components/schemas/ErrorMessage'
816 description: Internal Server Error
821 message: Bad Gateway Error Message NCMP
826 $ref: '#/components/schemas/DmiErrorMessage'
827 description: Bad Gateway
828 summary: Query resource data for a given cm handle
831 /v1/ch/{cm-handle}/modules:
833 description: fetch all module references (name and revision) for a given cm
835 operationId: getModuleReferencesByCmHandle
837 - description: "The identifier for a network function, network element, subnetwork\
838 \ or any other cm object by managed Network CM Proxy"
843 example: my-cm-handle
851 $ref: '#/components/schemas/RestModuleReference'
859 message: Bad request error message
860 details: Bad request error details
862 $ref: '#/components/schemas/ErrorMessage'
863 description: Bad Request
869 message: Forbidden error message
870 details: Forbidden error details
872 $ref: '#/components/schemas/ErrorMessage'
873 description: Forbidden
879 message: Internal Server Error
880 details: Internal Server Error occurred
882 $ref: '#/components/schemas/ErrorMessage'
883 description: Internal Server Error
884 summary: Fetch all module references (name and revision) for a given cm handle
887 /v1/ch/{cm-handle}/modules/definitions:
889 description: "Get module definitions (module name, revision, yang resource)\
890 \ with options to filter on module name and revision"
891 operationId: getModuleDefinitions
893 - description: "The identifier for a network function, network element, subnetwork\
894 \ or any other cm object by managed Network CM Proxy"
899 example: my-cm-handle
901 - description: Filter for a module name.This is an optional parameter
908 - description: Filter for a module revision.This is an optional parameter and
909 ignored when no module name is supplied
922 $ref: '#/components/schemas/RestModuleDefinition'
930 message: Forbidden error message
931 details: Forbidden error details
933 $ref: '#/components/schemas/ErrorMessage'
934 description: Forbidden
940 message: Internal Server Error
941 details: Internal Server Error occurred
943 $ref: '#/components/schemas/ErrorMessage'
944 description: Internal Server Error
945 summary: Get module definitions
950 description: Execute cm handle query search and return a list of cm handle details.
951 Any number of conditions can be applied. To be included in the result a cm-handle
952 must fulfill ALL the conditions. An empty collection will be returned in the
953 case that the cm handle does not match a condition. For more on cm handle
954 query search please refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/ncmp-cmhandle-querying.html">cm
955 handle query search Read the Docs</a>.<br/>By supplying a CPS Path it is possible
956 to query on any data related to the cm handle. For more on CPS Path please
957 refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html">CPS
958 Path Read the Docs</a>. The cm handle ancestor is automatically returned for
960 operationId: searchCmHandles
965 Cm handle properties query:
966 $ref: '#/components/examples/pubPropCmHandleQueryParameters'
968 Cm handle modules query:
969 $ref: '#/components/examples/modulesCmHandleQueryParameters'
971 All cm handle query parameters:
972 $ref: '#/components/examples/allCmHandleQueryParameters'
974 Cm handle with CPS path state query:
975 $ref: '#/components/examples/cpsPathCmHandleStateQueryParameters'
977 Cm handle with data sync flag query:
978 $ref: '#/components/examples/cpsPathCmHandleDataSyncQueryParameters'
981 $ref: '#/components/schemas/CmHandleQueryParameters'
989 $ref: '#/components/schemas/RestOutputCmHandle'
997 message: Bad request error message
998 details: Bad request error details
1000 $ref: '#/components/schemas/ErrorMessage'
1001 description: Bad Request
1007 message: Forbidden error message
1008 details: Forbidden error details
1010 $ref: '#/components/schemas/ErrorMessage'
1011 description: Forbidden
1017 message: Internal Server Error
1018 details: Internal Server Error occurred
1020 $ref: '#/components/schemas/ErrorMessage'
1021 description: Internal Server Error
1022 summary: Execute cm handle search using the available conditions
1027 description: Retrieve CM handle details and properties by cm handle id
1028 operationId: retrieveCmHandleDetailsById
1030 - description: "The identifier for a network function, network element, subnetwork\
1031 \ or any other cm object by managed Network CM Proxy"
1036 example: my-cm-handle
1043 $ref: '#/components/schemas/RestOutputCmHandle'
1050 message: Bad request error message
1051 details: Bad request error details
1053 $ref: '#/components/schemas/ErrorMessage'
1054 description: Bad Request
1060 message: Not found error message
1061 details: Not found error details
1063 $ref: '#/components/schemas/ErrorMessage'
1064 description: The specified resource was not found
1070 message: Internal Server Error
1071 details: Internal Server Error occurred
1073 $ref: '#/components/schemas/ErrorMessage'
1074 description: Internal Server Error
1075 summary: Retrieve CM handle details
1078 /v1/ch/{cm-handle}/properties:
1080 description: Get CM handle properties by cm handle id
1081 operationId: getCmHandlePublicPropertiesByCmHandleId
1083 - description: "The identifier for a network function, network element, subnetwork\
1084 \ or any other cm object by managed Network CM Proxy"
1089 example: my-cm-handle
1096 $ref: '#/components/schemas/RestOutputCmHandlePublicProperties'
1103 message: Bad request error message
1104 details: Bad request error details
1106 $ref: '#/components/schemas/ErrorMessage'
1107 description: Bad Request
1113 message: Not found error message
1114 details: Not found error details
1116 $ref: '#/components/schemas/ErrorMessage'
1117 description: The specified resource was not found
1123 message: Internal Server Error
1124 details: Internal Server Error occurred
1126 $ref: '#/components/schemas/ErrorMessage'
1127 description: Internal Server Error
1128 summary: Get CM handle properties
1133 description: Execute cm handle query search and return a list of cm handle ids.
1134 Any number of conditions can be applied. To be included in the result a cm-handle
1135 must fulfill ALL the conditions. An empty collection will be returned in the
1136 case that the cm handle does not match a condition. For more on cm handle
1137 query search please refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/ncmp-cmhandle-querying.html">cm
1138 handle query search Read the Docs</a>.<br/>By supplying a CPS Path it is possible
1139 to query on any data related to the cm handle. For more on CPS Path please
1140 refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html">CPS
1141 Path Read the Docs</a>. The cm handle ancestor is automatically returned for
1143 operationId: searchCmHandleIds
1148 Cm handle properties query:
1149 $ref: '#/components/examples/pubPropCmHandleQueryParameters'
1151 Cm handle modules query:
1152 $ref: '#/components/examples/modulesCmHandleQueryParameters'
1154 All cm handle query parameters:
1155 $ref: '#/components/examples/allCmHandleQueryParameters'
1157 Cm handle with CPS path state query:
1158 $ref: '#/components/examples/cpsPathCmHandleStateQueryParameters'
1160 Cm handle with data sync flag query:
1161 $ref: '#/components/examples/cpsPathCmHandleDataSyncQueryParameters'
1164 $ref: '#/components/schemas/CmHandleQueryParameters'
1180 message: Bad request error message
1181 details: Bad request error details
1183 $ref: '#/components/schemas/ErrorMessage'
1184 description: Bad Request
1190 message: Forbidden error message
1191 details: Forbidden error details
1193 $ref: '#/components/schemas/ErrorMessage'
1194 description: Forbidden
1200 message: Not found error message
1201 details: Not found error details
1203 $ref: '#/components/schemas/ErrorMessage'
1204 description: The specified resource was not found
1210 message: Internal Server Error
1211 details: Internal Server Error occurred
1213 $ref: '#/components/schemas/ErrorMessage'
1214 description: Internal Server Error
1215 summary: Execute cm handle query upon a given set of query parameters
1218 /v1/ch/{cm-handle}/state:
1220 description: Get CM handle state by cm handle id
1221 operationId: getCmHandleStateByCmHandleId
1223 - description: "The identifier for a network function, network element, subnetwork\
1224 \ or any other cm object by managed Network CM Proxy"
1229 example: my-cm-handle
1236 $ref: '#/components/schemas/RestOutputCmHandleCompositeState'
1243 message: Bad request error message
1244 details: Bad request error details
1246 $ref: '#/components/schemas/ErrorMessage'
1247 description: Bad Request
1253 message: Not found error message
1254 details: Not found error details
1256 $ref: '#/components/schemas/ErrorMessage'
1257 description: The specified resource was not found
1263 message: Internal Server Error
1264 details: Internal Server Error occurred
1266 $ref: '#/components/schemas/ErrorMessage'
1267 description: Internal Server Error
1268 summary: Get CM handle state
1271 /v1/ch/{cm-handle}/data-sync:
1273 description: Set the data sync enabled flag to true or false for a specified
1274 Cm-Handle. This will in turn set the data sync state to UNSYNCHRONIZED and
1275 NONE_REQUESTED respectfully.
1276 operationId: setDataSyncEnabledFlagForCmHandle
1278 - description: "The identifier for a network function, network element, subnetwork\
1279 \ or any other cm object by managed Network CM Proxy"
1284 example: my-cm-handle
1286 - description: Is used to enable or disable the data synchronization flag
1288 name: dataSyncEnabled
1305 message: Bad request error message
1306 details: Bad request error details
1308 $ref: '#/components/schemas/ErrorMessage'
1309 description: Bad Request
1315 message: Forbidden error message
1316 details: Forbidden error details
1318 $ref: '#/components/schemas/ErrorMessage'
1319 description: Forbidden
1325 message: Internal Server Error
1326 details: Internal Server Error occurred
1328 $ref: '#/components/schemas/ErrorMessage'
1329 description: Internal Server Error
1334 message: Bad Gateway Error Message NCMP
1339 $ref: '#/components/schemas/DmiErrorMessage'
1340 description: Bad Gateway
1341 summary: Set the Data Sync Enabled Flag
1347 description: Sample response for selecting 'sample 1'.
1348 summary: Sample response
1364 description: Sample request body
1365 summary: Sample request
1368 bookstore-name: Chapters
1381 dataSamplePatchRequest:
1382 description: Sample patch request body
1383 summary: Sample patch request
1385 ietf-restconf:yang-patch:
1393 bookstore-name: Chapters
1411 bookstore-name: Novels
1424 pubPropCmHandleQueryParameters:
1426 cmHandleQueryParameters:
1427 - conditionName: hasAllProperties
1428 conditionParameters:
1432 modulesCmHandleQueryParameters:
1434 cmHandleQueryParameters:
1435 - conditionName: hasAllModules
1436 conditionParameters:
1437 - moduleName: my-module-1
1438 - moduleName: my-module-2
1439 - moduleName: my-module-3
1440 allCmHandleQueryParameters:
1442 cmHandleQueryParameters:
1443 - conditionName: hasAllModules
1444 conditionParameters:
1445 - moduleName: my-module-1
1446 - moduleName: my-module-2
1447 - moduleName: my-module-3
1448 - conditionName: hasAllProperties
1449 conditionParameters:
1453 - conditionName: cmHandleWithCpsPath
1454 conditionParameters:
1455 - cpsPath: "//state[@cm-handle-state='ADVISED']"
1456 cpsPathCmHandleStateQueryParameters:
1458 cmHandleQueryParameters:
1459 - conditionName: cmHandleWithCpsPath
1460 conditionParameters:
1461 - cpsPath: "//state[@cm-handle-state='LOCKED']"
1462 cpsPathCmHandleDataSyncQueryParameters:
1464 cmHandleQueryParameters:
1465 - conditionName: cmHandleWithCpsPath
1466 conditionParameters:
1467 - cpsPath: "//state[@data-sync-enabled='true']"
1470 description: The type of the requested data
1472 name: datastore-name
1475 example: ncmp-datastore:running
1478 description: "The identifier for a network function, network element, subnetwork\
1479 \ or any other cm object by managed Network CM Proxy"
1484 example: my-cm-handle
1486 resourceIdentifierInQuery:
1488 description: The format of resource identifier depend on the associated DMI
1489 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but it
1490 can really be anything.
1494 resourceIdentifier: \shops\bookstore
1497 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
1500 resourceIdentifier: "parent=shops,child=bookstore"
1502 name: resourceIdentifier
1506 optionsParamInQuery:
1508 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
1509 \ in parenthesis'()'. The format of options parameter depend on the associated\
1510 \ DMI Plugin implementation."
1517 options: (fields=book)
1520 options: "(depth=2,fields=book/authors)"
1528 description: topic parameter in query.
1532 topic: my-topic-name
1538 includeDescendantsOptionInQuery:
1539 description: Determines if descendants are included in response
1541 name: include-descendants
1546 authorizationParamInHeader:
1547 description: Authorization parameter for request.
1553 contentParamInHeader:
1554 description: "Content parameter for request, if content parameter is null, default\
1555 \ value is application/json."
1560 default: application/json
1561 example: application/yang-data+json
1563 requiredTopicParamInQuery:
1565 description: mandatory topic parameter in query.
1569 topic: my-topic-name
1576 description: "For more details on cps path, please refer https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html"
1580 list attributes cps path:
1581 value: "//categories[@code=1]"
1589 description: Filter for a module name.This is an optional parameter
1597 description: Filter for a module revision.This is an optional parameter and
1598 ignored when no module name is supplied
1606 description: Is used to enable or disable the data synchronization flag
1608 name: dataSyncEnabled
1619 message: Bad request error message
1620 details: Bad request error details
1622 $ref: '#/components/schemas/ErrorMessage'
1623 description: Bad Request
1629 message: Forbidden error message
1630 details: Forbidden error details
1632 $ref: '#/components/schemas/ErrorMessage'
1633 description: Forbidden
1634 InternalServerError:
1639 message: Internal Server Error
1640 details: Internal Server Error occurred
1642 $ref: '#/components/schemas/ErrorMessage'
1643 description: Internal Server Error
1648 message: Bad Gateway Error Message NCMP
1653 $ref: '#/components/schemas/DmiErrorMessage'
1654 description: Bad Gateway
1663 description: Created
1666 description: No Content
1672 message: Not found error message
1673 details: Not found error details
1675 $ref: '#/components/schemas/ErrorMessage'
1676 description: The specified resource was not found
1682 message: Payload Too Large error message
1683 details: Payload Too Large error details
1685 $ref: '#/components/schemas/ErrorMessage'
1686 description: The request is larger than the server is willing or able to process
1701 example: Bad Gateway Error Message NCMP
1704 $ref: '#/components/schemas/DmiErrorMessage_dmi_response'
1705 title: DMI Error Message
1707 DataOperationRequest:
1710 - resourceIdentifier: parent/child
1712 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1714 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1716 datastore: ncmp-datastore:passthrough-operational
1717 options: (fields=schemas/schema)
1720 - resourceIdentifier: parent/child
1722 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1724 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1726 datastore: ncmp-datastore:passthrough-operational
1727 options: (fields=schemas/schema)
1732 description: contains group of data operation requests
1734 $ref: '#/components/schemas/DataOperationDefinition'
1736 title: execute data operation for given array of operations
1738 DataOperationDefinition:
1740 resourceIdentifier: parent/child
1742 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1744 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1746 datastore: ncmp-datastore:passthrough-operational
1747 options: (fields=schemas/schema)
1758 example: ncmp-datastore:passthrough-operational
1761 example: (fields=schemas/schema)
1764 example: parent/child
1768 description: "targeted cm handles, maximum of 50 supported. If this limit\
1769 \ is exceeded the request wil be refused."
1770 example: "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1778 RestModuleReference:
1780 moduleName: my-module-name
1781 revision: my-module-revision
1784 example: my-module-name
1787 example: my-module-revision
1789 title: Module reference details
1791 RestModuleDefinition:
1793 moduleName: my-module-name
1797 namespace 'org:onap:ccsdk:sample';
1799 revision '2020-09-15' {
1804 revision: 2020-09-15
1807 example: my-module-name
1816 namespace 'org:onap:ccsdk:sample';
1818 revision '2020-09-15' {
1824 title: Module definitions
1826 CmHandleQueryParameters:
1828 cmHandleQueryParameters:
1829 - conditionParameters:
1830 - key: conditionParameters
1831 - key: conditionParameters
1832 conditionName: conditionName
1833 - conditionParameters:
1834 - key: conditionParameters
1835 - key: conditionParameters
1836 conditionName: conditionName
1839 conditionParameters:
1840 - moduleName: my-module
1841 - moduleName: my-module
1843 conditionParameters:
1844 - moduleName: my-module
1845 - moduleName: my-module
1847 cmHandleQueryParameters:
1849 $ref: '#/components/schemas/ConditionProperties'
1853 description: "not necessary, it is just for backward compatibility"
1855 $ref: '#/components/schemas/OldConditionProperties'
1857 title: Cm Handle query parameters for executing cm handle search
1859 ConditionProperties:
1861 conditionParameters:
1862 - key: conditionParameters
1863 - key: conditionParameters
1864 conditionName: conditionName
1868 conditionParameters:
1870 additionalProperties:
1874 OldConditionProperties:
1878 conditionParameters:
1879 - moduleName: my-module
1880 - moduleName: my-module
1884 conditionParameters:
1886 $ref: '#/components/schemas/ModuleNameAsJsonObject'
1888 ModuleNameAsJsonObject:
1890 moduleName: my-module
1897 cmHandle: my-cm-handle1
1898 alternateId: my-alternate-id
1899 dataProducerIdentifier: my-data-producer-identifier
1900 publicCmHandleProperties:
1904 dataSyncEnabled: false
1907 lastSyncTime: 2022-12-31T20:30:40.000+0000
1908 syncState: NONE_REQUESTED
1910 lastSyncTime: 2022-12-31T20:30:40.000+0000
1911 syncState: NONE_REQUESTED
1912 cmHandleState: ADVISED
1914 reason: LOCKED_MISBEHAVING
1915 details: locked due to failure in module sync
1916 lastUpdateTime: 2022-12-31T20:30:40.000+0000
1917 trustLevel: COMPLETE
1918 moduleSetTag: my-module-set-tag
1921 example: my-cm-handle1
1923 publicCmHandleProperties:
1925 additionalProperties:
1931 $ref: '#/components/schemas/CmHandleCompositeState'
1933 description: Current trust level of the relevant CM handle ID.
1937 example: my-module-set-tag
1940 example: my-alternate-id
1942 dataProducerIdentifier:
1943 example: my-data-producer-identifier
1945 title: CM handle Details
1947 CmHandlePublicProperties:
1949 additionalProperties:
1954 CmHandleCompositeState:
1956 dataSyncEnabled: false
1959 lastSyncTime: 2022-12-31T20:30:40.000+0000
1960 syncState: NONE_REQUESTED
1962 lastSyncTime: 2022-12-31T20:30:40.000+0000
1963 syncState: NONE_REQUESTED
1964 cmHandleState: ADVISED
1966 reason: LOCKED_MISBEHAVING
1967 details: locked due to failure in module sync
1968 lastUpdateTime: 2022-12-31T20:30:40.000+0000
1974 $ref: '#/components/schemas/lock-reason'
1976 example: 2022-12-31T20:30:40.000+0000
1982 $ref: '#/components/schemas/dataStores'
1986 reason: LOCKED_MISBEHAVING
1987 details: locked due to failure in module sync
1990 example: LOCKED_MISBEHAVING
1993 example: locked due to failure in module sync
1999 lastSyncTime: 2022-12-31T20:30:40.000+0000
2000 syncState: NONE_REQUESTED
2002 lastSyncTime: 2022-12-31T20:30:40.000+0000
2003 syncState: NONE_REQUESTED
2006 $ref: '#/components/schemas/sync-state'
2008 $ref: '#/components/schemas/sync-state'
2012 lastSyncTime: 2022-12-31T20:30:40.000+0000
2013 syncState: NONE_REQUESTED
2016 example: NONE_REQUESTED
2019 example: 2022-12-31T20:30:40.000+0000
2023 description: Current trust level of the relevant CM handle ID.
2026 RestOutputCmHandlePublicProperties:
2028 publicCmHandleProperties:
2032 publicCmHandleProperties:
2034 additionalProperties:
2040 RestOutputCmHandleCompositeState:
2043 dataSyncEnabled: false
2046 lastSyncTime: 2022-12-31T20:30:40.000+0000
2047 syncState: NONE_REQUESTED
2049 lastSyncTime: 2022-12-31T20:30:40.000+0000
2050 syncState: NONE_REQUESTED
2051 cmHandleState: ADVISED
2053 reason: LOCKED_MISBEHAVING
2054 details: locked due to failure in module sync
2055 lastUpdateTime: 2022-12-31T20:30:40.000+0000
2058 $ref: '#/components/schemas/CmHandleCompositeState'
2060 DmiErrorMessage_dmi_response:
2066 example: Bad Request