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"
31 - description: The format of resource identifier depend on the associated DMI
32 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
33 it can really be anything.
37 resourceIdentifier: \shops\bookstore
40 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
43 resourceIdentifier: "parent=shops,child=bookstore"
45 name: resourceIdentifier
49 - description: "Content parameter for request, if content parameter is null,\
50 \ default value is application/json."
55 default: application/json
56 example: application/yang-data+json
58 - description: Authorization parameter for request.
67 description: No Content
73 message: Bad request error message
74 details: Bad request error details
76 $ref: '#/components/schemas/ErrorMessage'
77 description: Bad Request
83 message: Forbidden error message
84 details: Forbidden error details
86 $ref: '#/components/schemas/ErrorMessage'
87 description: Forbidden
93 message: Not found error message
94 details: Not found error details
96 $ref: '#/components/schemas/ErrorMessage'
97 description: The specified resource was not found
103 message: Internal Server Error
104 details: Internal Server Error occurred
106 $ref: '#/components/schemas/ErrorMessage'
107 description: Internal Server Error
112 message: Bad Gateway Error Message NCMP
117 $ref: '#/components/schemas/DmiErrorMessage'
118 description: Bad Gateway
119 summary: Delete resource data
123 description: Get resource data for given cm handle
124 operationId: getResourceDataForCmHandle
126 - description: The type of the requested data
131 example: ncmp-datastore:running
133 - description: "The identifier for a network function, network element, subnetwork\
134 \ or any other cm object by managed Network CM Proxy"
139 example: my-cm-handle
141 - description: The format of resource identifier depend on the associated DMI
142 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
143 it can really be anything.
147 resourceIdentifier: \shops\bookstore
150 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
153 resourceIdentifier: "parent=shops,child=bookstore"
155 name: resourceIdentifier
159 - description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
160 \ in parenthesis'()'. The format of options parameter depend on the associated\
161 \ DMI Plugin implementation."
168 options: (fields=book)
171 options: "(depth=2,fields=book/authors)"
177 - description: topic parameter in query.
187 - description: Determines if descendants are included in response
189 name: include-descendants
194 - description: Authorization parameter for request.
206 $ref: '#/components/examples/dataSampleResponse'
216 message: Bad request error message
217 details: Bad request error details
219 $ref: '#/components/schemas/ErrorMessage'
220 description: Bad Request
226 message: Forbidden error message
227 details: Forbidden error details
229 $ref: '#/components/schemas/ErrorMessage'
230 description: Forbidden
236 message: Internal Server Error
237 details: Internal Server Error occurred
239 $ref: '#/components/schemas/ErrorMessage'
240 description: Internal Server Error
245 message: Bad Gateway Error Message NCMP
250 $ref: '#/components/schemas/DmiErrorMessage'
251 description: Bad Gateway
252 summary: Get resource data for cm handle
256 description: Patch resource data from pass-through running for the given cm
258 operationId: patchResourceDataRunningForCmHandle
260 - description: The type of the requested data
265 example: ncmp-datastore:running
267 - description: "The identifier for a network function, network element, subnetwork\
268 \ or any other cm object by managed Network CM Proxy"
273 example: my-cm-handle
275 - description: The format of resource identifier depend on the associated DMI
276 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
277 it can really be anything.
281 resourceIdentifier: \shops\bookstore
284 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
287 resourceIdentifier: "parent=shops,child=bookstore"
289 name: resourceIdentifier
293 - description: "Content parameter for request, if content parameter is null,\
294 \ default value is application/json."
299 default: application/json
300 example: application/yang-data+json
302 - description: Authorization parameter for request.
313 $ref: '#/components/examples/dataSamplePatchRequest'
330 message: Bad request error message
331 details: Bad request error details
333 $ref: '#/components/schemas/ErrorMessage'
334 description: Bad Request
340 message: Forbidden error message
341 details: Forbidden error details
343 $ref: '#/components/schemas/ErrorMessage'
344 description: Forbidden
350 message: Internal Server Error
351 details: Internal Server Error occurred
353 $ref: '#/components/schemas/ErrorMessage'
354 description: Internal Server Error
359 message: Bad Gateway Error Message NCMP
364 $ref: '#/components/schemas/DmiErrorMessage'
365 description: Bad Gateway
366 summary: Patch resource data from pass-through running
370 description: create resource data from pass-through running for given cm handle
371 operationId: createResourceDataRunningForCmHandle
373 - description: The type of the requested data
378 example: ncmp-datastore:running
380 - description: "The identifier for a network function, network element, subnetwork\
381 \ or any other cm object by managed Network CM Proxy"
386 example: my-cm-handle
388 - description: The format of resource identifier depend on the associated DMI
389 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
390 it can really be anything.
394 resourceIdentifier: \shops\bookstore
397 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
400 resourceIdentifier: "parent=shops,child=bookstore"
402 name: resourceIdentifier
406 - description: "Content parameter for request, if content parameter is null,\
407 \ default value is application/json."
412 default: application/json
413 example: application/yang-data+json
415 - description: Authorization parameter for request.
426 $ref: '#/components/examples/dataSampleRequest'
430 application/yang-data+json:
433 $ref: '#/components/examples/dataSampleRequest'
447 message: Bad request error message
448 details: Bad request error details
450 $ref: '#/components/schemas/ErrorMessage'
451 description: Bad Request
457 message: Forbidden error message
458 details: Forbidden error details
460 $ref: '#/components/schemas/ErrorMessage'
461 description: Forbidden
467 message: Internal Server Error
468 details: Internal Server Error occurred
470 $ref: '#/components/schemas/ErrorMessage'
471 description: Internal Server Error
476 message: Bad Gateway Error Message NCMP
481 $ref: '#/components/schemas/DmiErrorMessage'
482 description: Bad Gateway
483 summary: create resource data from pass-through running for cm handle
487 description: Update resource data from pass-through running for the given cm
489 operationId: updateResourceDataRunningForCmHandle
491 - description: The type of the requested data
496 example: ncmp-datastore:running
498 - description: "The identifier for a network function, network element, subnetwork\
499 \ or any other cm object by managed Network CM Proxy"
504 example: my-cm-handle
506 - description: The format of resource identifier depend on the associated DMI
507 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
508 it can really be anything.
512 resourceIdentifier: \shops\bookstore
515 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
518 resourceIdentifier: "parent=shops,child=bookstore"
520 name: resourceIdentifier
524 - description: "Content parameter for request, if content parameter is null,\
525 \ default value is application/json."
530 default: application/json
531 example: application/yang-data+json
533 - description: Authorization parameter for request.
544 $ref: '#/components/examples/dataSampleRequest'
548 application/yang-data+json:
551 $ref: '#/components/examples/dataSampleRequest'
568 message: Bad request error message
569 details: Bad request error details
571 $ref: '#/components/schemas/ErrorMessage'
572 description: Bad Request
578 message: Forbidden error message
579 details: Forbidden error details
581 $ref: '#/components/schemas/ErrorMessage'
582 description: Forbidden
588 message: Internal Server Error
589 details: Internal Server Error occurred
591 $ref: '#/components/schemas/ErrorMessage'
592 description: Internal Server Error
597 message: Bad Gateway Error Message NCMP
602 $ref: '#/components/schemas/DmiErrorMessage'
603 description: Bad Gateway
604 summary: Update resource data from pass-through running for a cm handle
609 description: This request will be handled asynchronously using messaging to
610 the supplied topic. The rest response will be an acknowledge with a requestId
611 to identify the relevant messages. A maximum of 50 cm handles per operation
613 operationId: executeDataOperationForCmHandles
615 - description: mandatory topic parameter in query.
625 - description: Authorization parameter for request.
635 $ref: '#/components/schemas/DataOperationRequest'
649 message: Bad request error message
650 details: Bad request error details
652 $ref: '#/components/schemas/ErrorMessage'
653 description: Bad Request
659 message: Forbidden error message
660 details: Forbidden error details
662 $ref: '#/components/schemas/ErrorMessage'
663 description: Forbidden
669 message: Payload Too Large error message
670 details: Payload Too Large error details
672 $ref: '#/components/schemas/ErrorMessage'
673 description: The request is larger than the server is willing or able to
680 message: Internal Server Error
681 details: Internal Server Error occurred
683 $ref: '#/components/schemas/ErrorMessage'
684 description: Internal Server Error
689 message: Bad Gateway Error Message NCMP
694 $ref: '#/components/schemas/DmiErrorMessage'
695 description: Bad Gateway
696 summary: Execute a data operation for group of cm handle ids
699 /v1/ch/{cm-handle}/data/ds/{datastore-name}/query:
701 description: Query resource data for a given cm handle
702 operationId: queryResourceDataForCmHandle
704 - description: The type of the requested data
709 example: ncmp-datastore:running
711 - description: "The identifier for a network function, network element, subnetwork\
712 \ or any other cm object by managed Network CM Proxy"
717 example: my-cm-handle
719 - description: "For more details on cps path, please refer https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html"
723 list attributes cps path:
724 value: "//categories[@code=1]"
731 - description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
732 \ in parenthesis'()'. The format of options parameter depend on the associated\
733 \ DMI Plugin implementation."
740 options: (fields=book)
743 options: "(depth=2,fields=book/authors)"
749 - description: topic parameter in query.
759 - description: Determines if descendants are included in response
761 name: include-descendants
772 $ref: '#/components/examples/dataSampleResponse'
782 message: Bad request error message
783 details: Bad request error details
785 $ref: '#/components/schemas/ErrorMessage'
786 description: Bad Request
792 message: Forbidden error message
793 details: Forbidden error details
795 $ref: '#/components/schemas/ErrorMessage'
796 description: Forbidden
802 message: Internal Server Error
803 details: Internal Server Error occurred
805 $ref: '#/components/schemas/ErrorMessage'
806 description: Internal Server Error
811 message: Bad Gateway Error Message NCMP
816 $ref: '#/components/schemas/DmiErrorMessage'
817 description: Bad Gateway
818 summary: Query resource data for a given cm handle
821 /v1/ch/{cm-handle}/modules:
823 description: fetch all module references (name and revision) for a given cm
825 operationId: getModuleReferencesByCmHandle
827 - description: "The identifier for a network function, network element, subnetwork\
828 \ or any other cm object by managed Network CM Proxy"
833 example: my-cm-handle
841 $ref: '#/components/schemas/RestModuleReference'
849 message: Bad request error message
850 details: Bad request error details
852 $ref: '#/components/schemas/ErrorMessage'
853 description: Bad Request
859 message: Forbidden error message
860 details: Forbidden error details
862 $ref: '#/components/schemas/ErrorMessage'
863 description: Forbidden
869 message: Internal Server Error
870 details: Internal Server Error occurred
872 $ref: '#/components/schemas/ErrorMessage'
873 description: Internal Server Error
874 summary: Fetch all module references (name and revision) for a given cm handle
877 /v1/ch/{cm-handle}/modules/definitions:
879 description: "Get module definitions (module name, revision, yang resource)\
880 \ with options to filter on module name and revision"
881 operationId: getModuleDefinitions
883 - description: "The identifier for a network function, network element, subnetwork\
884 \ or any other cm object by managed Network CM Proxy"
889 example: my-cm-handle
891 - description: Filter for a module name.This is an optional parameter
898 - description: Filter for a module revision.This is an optional parameter and
899 ignored when no module name is supplied
912 $ref: '#/components/schemas/RestModuleDefinition'
920 message: Forbidden error message
921 details: Forbidden error details
923 $ref: '#/components/schemas/ErrorMessage'
924 description: Forbidden
930 message: Internal Server Error
931 details: Internal Server Error occurred
933 $ref: '#/components/schemas/ErrorMessage'
934 description: Internal Server Error
935 summary: Get module definitions
940 description: Execute cm handle query search and return a list of cm handle details.
941 Any number of conditions can be applied. To be included in the result a cm-handle
942 must fulfill ALL the conditions. An empty collection will be returned in the
943 case that the cm handle does not match a condition. For more on cm handle
944 query search please refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/ncmp-cmhandle-querying.html">cm
945 handle query search Read the Docs</a>.<br/>By supplying a CPS Path it is possible
946 to query on any data related to the cm handle. For more on CPS Path please
947 refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html">CPS
948 Path Read the Docs</a>. The cm handle ancestor is automatically returned for
950 operationId: searchCmHandles
955 Cm handle properties query:
956 $ref: '#/components/examples/pubPropCmHandleQueryParameters'
958 Cm handle modules query:
959 $ref: '#/components/examples/modulesCmHandleQueryParameters'
961 All cm handle query parameters:
962 $ref: '#/components/examples/allCmHandleQueryParameters'
964 Cm handle with CPS path state query:
965 $ref: '#/components/examples/cpsPathCmHandleStateQueryParameters'
967 Cm handle with data sync flag query:
968 $ref: '#/components/examples/cpsPathCmHandleDataSyncQueryParameters'
971 $ref: '#/components/schemas/CmHandleQueryParameters'
979 $ref: '#/components/schemas/RestOutputCmHandle'
987 message: Bad request error message
988 details: Bad request error details
990 $ref: '#/components/schemas/ErrorMessage'
991 description: Bad Request
997 message: Forbidden error message
998 details: Forbidden error details
1000 $ref: '#/components/schemas/ErrorMessage'
1001 description: Forbidden
1007 message: Internal Server Error
1008 details: Internal Server Error occurred
1010 $ref: '#/components/schemas/ErrorMessage'
1011 description: Internal Server Error
1012 summary: Execute cm handle search using the available conditions
1017 description: Retrieve CM handle details and properties by cm handle id
1018 operationId: retrieveCmHandleDetailsById
1020 - description: "The identifier for a network function, network element, subnetwork\
1021 \ or any other cm object by managed Network CM Proxy"
1026 example: my-cm-handle
1033 $ref: '#/components/schemas/RestOutputCmHandle'
1040 message: Bad request error message
1041 details: Bad request error details
1043 $ref: '#/components/schemas/ErrorMessage'
1044 description: Bad Request
1050 message: Not found error message
1051 details: Not found error details
1053 $ref: '#/components/schemas/ErrorMessage'
1054 description: The specified resource was not found
1060 message: Internal Server Error
1061 details: Internal Server Error occurred
1063 $ref: '#/components/schemas/ErrorMessage'
1064 description: Internal Server Error
1065 summary: Retrieve CM handle details
1068 /v1/ch/{cm-handle}/properties:
1070 description: Get CM handle properties by cm handle id
1071 operationId: getCmHandlePublicPropertiesByCmHandleId
1073 - description: "The identifier for a network function, network element, subnetwork\
1074 \ or any other cm object by managed Network CM Proxy"
1079 example: my-cm-handle
1086 $ref: '#/components/schemas/RestOutputCmHandlePublicProperties'
1093 message: Bad request error message
1094 details: Bad request error details
1096 $ref: '#/components/schemas/ErrorMessage'
1097 description: Bad Request
1103 message: Not found error message
1104 details: Not found error details
1106 $ref: '#/components/schemas/ErrorMessage'
1107 description: The specified resource was not found
1113 message: Internal Server Error
1114 details: Internal Server Error occurred
1116 $ref: '#/components/schemas/ErrorMessage'
1117 description: Internal Server Error
1118 summary: Get CM handle properties
1123 description: Execute cm handle query search and return a list of cm handle ids.
1124 Any number of conditions can be applied. To be included in the result a cm-handle
1125 must fulfill ALL the conditions. An empty collection will be returned in the
1126 case that the cm handle does not match a condition. For more on cm handle
1127 query search please refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/ncmp-cmhandle-querying.html">cm
1128 handle query search Read the Docs</a>.<br/>By supplying a CPS Path it is possible
1129 to query on any data related to the cm handle. For more on CPS Path please
1130 refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html">CPS
1131 Path Read the Docs</a>. The cm handle ancestor is automatically returned for
1133 operationId: searchCmHandleIds
1138 Cm handle properties query:
1139 $ref: '#/components/examples/pubPropCmHandleQueryParameters'
1141 Cm handle modules query:
1142 $ref: '#/components/examples/modulesCmHandleQueryParameters'
1144 All cm handle query parameters:
1145 $ref: '#/components/examples/allCmHandleQueryParameters'
1147 Cm handle with CPS path state query:
1148 $ref: '#/components/examples/cpsPathCmHandleStateQueryParameters'
1150 Cm handle with data sync flag query:
1151 $ref: '#/components/examples/cpsPathCmHandleDataSyncQueryParameters'
1154 $ref: '#/components/schemas/CmHandleQueryParameters'
1170 message: Bad request error message
1171 details: Bad request error details
1173 $ref: '#/components/schemas/ErrorMessage'
1174 description: Bad Request
1180 message: Forbidden error message
1181 details: Forbidden error details
1183 $ref: '#/components/schemas/ErrorMessage'
1184 description: Forbidden
1190 message: Not found error message
1191 details: Not found error details
1193 $ref: '#/components/schemas/ErrorMessage'
1194 description: The specified resource was not found
1200 message: Internal Server Error
1201 details: Internal Server Error occurred
1203 $ref: '#/components/schemas/ErrorMessage'
1204 description: Internal Server Error
1205 summary: Execute cm handle query upon a given set of query parameters
1208 /v1/ch/{cm-handle}/state:
1210 description: Get CM handle state by cm handle id
1211 operationId: getCmHandleStateByCmHandleId
1213 - description: "The identifier for a network function, network element, subnetwork\
1214 \ or any other cm object by managed Network CM Proxy"
1219 example: my-cm-handle
1226 $ref: '#/components/schemas/RestOutputCmHandleCompositeState'
1233 message: Bad request error message
1234 details: Bad request error details
1236 $ref: '#/components/schemas/ErrorMessage'
1237 description: Bad Request
1243 message: Not found error message
1244 details: Not found error details
1246 $ref: '#/components/schemas/ErrorMessage'
1247 description: The specified resource was not found
1253 message: Internal Server Error
1254 details: Internal Server Error occurred
1256 $ref: '#/components/schemas/ErrorMessage'
1257 description: Internal Server Error
1258 summary: Get CM handle state
1261 /v1/ch/{cm-handle}/data-sync:
1263 description: Set the data sync enabled flag to true or false for a specified
1264 Cm-Handle. This will in turn set the data sync state to UNSYNCHRONIZED and
1265 NONE_REQUESTED respectfully.
1266 operationId: setDataSyncEnabledFlagForCmHandle
1268 - description: "The identifier for a network function, network element, subnetwork\
1269 \ or any other cm object by managed Network CM Proxy"
1274 example: my-cm-handle
1276 - description: Is used to enable or disable the data synchronization flag
1278 name: dataSyncEnabled
1295 message: Bad request error message
1296 details: Bad request error details
1298 $ref: '#/components/schemas/ErrorMessage'
1299 description: Bad Request
1305 message: Forbidden error message
1306 details: Forbidden error details
1308 $ref: '#/components/schemas/ErrorMessage'
1309 description: Forbidden
1315 message: Internal Server Error
1316 details: Internal Server Error occurred
1318 $ref: '#/components/schemas/ErrorMessage'
1319 description: Internal Server Error
1324 message: Bad Gateway Error Message NCMP
1329 $ref: '#/components/schemas/DmiErrorMessage'
1330 description: Bad Gateway
1331 summary: Set the Data Sync Enabled Flag
1337 description: Sample response for selecting 'sample 1'.
1338 summary: Sample response
1354 description: Sample request body
1355 summary: Sample request
1358 bookstore-name: Chapters
1371 dataSamplePatchRequest:
1372 description: Sample patch request body
1373 summary: Sample patch request
1375 ietf-restconf:yang-patch:
1383 bookstore-name: Chapters
1401 bookstore-name: Novels
1414 pubPropCmHandleQueryParameters:
1416 cmHandleQueryParameters:
1417 - conditionName: hasAllProperties
1418 conditionParameters:
1422 modulesCmHandleQueryParameters:
1424 cmHandleQueryParameters:
1425 - conditionName: hasAllModules
1426 conditionParameters:
1427 - moduleName: my-module-1
1428 - moduleName: my-module-2
1429 - moduleName: my-module-3
1430 allCmHandleQueryParameters:
1432 cmHandleQueryParameters:
1433 - conditionName: hasAllModules
1434 conditionParameters:
1435 - moduleName: my-module-1
1436 - moduleName: my-module-2
1437 - moduleName: my-module-3
1438 - conditionName: hasAllProperties
1439 conditionParameters:
1443 - conditionName: cmHandleWithCpsPath
1444 conditionParameters:
1445 - cpsPath: "//state[@cm-handle-state='ADVISED']"
1446 cpsPathCmHandleStateQueryParameters:
1448 cmHandleQueryParameters:
1449 - conditionName: cmHandleWithCpsPath
1450 conditionParameters:
1451 - cpsPath: "//state[@cm-handle-state='LOCKED']"
1452 cpsPathCmHandleDataSyncQueryParameters:
1454 cmHandleQueryParameters:
1455 - conditionName: cmHandleWithCpsPath
1456 conditionParameters:
1457 - cpsPath: "//state[@data-sync-enabled='true']"
1460 description: The type of the requested data
1462 name: datastore-name
1465 example: ncmp-datastore:running
1468 description: "The identifier for a network function, network element, subnetwork\
1469 \ or any other cm object by managed Network CM Proxy"
1474 example: my-cm-handle
1476 resourceIdentifierInQuery:
1477 description: The format of resource identifier depend on the associated DMI
1478 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but it
1479 can really be anything.
1483 resourceIdentifier: \shops\bookstore
1486 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
1489 resourceIdentifier: "parent=shops,child=bookstore"
1491 name: resourceIdentifier
1495 optionsParamInQuery:
1496 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
1497 \ in parenthesis'()'. The format of options parameter depend on the associated\
1498 \ DMI Plugin implementation."
1505 options: (fields=book)
1508 options: "(depth=2,fields=book/authors)"
1515 description: topic parameter in query.
1519 topic: my-topic-name
1525 includeDescendantsOptionInQuery:
1526 description: Determines if descendants are included in response
1528 name: include-descendants
1533 authorizationParamInHeader:
1534 description: Authorization parameter for request.
1540 contentParamInHeader:
1541 description: "Content parameter for request, if content parameter is null, default\
1542 \ value is application/json."
1547 default: application/json
1548 example: application/yang-data+json
1550 requiredTopicParamInQuery:
1551 description: mandatory topic parameter in query.
1555 topic: my-topic-name
1562 description: "For more details on cps path, please refer https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html"
1566 list attributes cps path:
1567 value: "//categories[@code=1]"
1575 description: Filter for a module name.This is an optional parameter
1583 description: Filter for a module revision.This is an optional parameter and
1584 ignored when no module name is supplied
1592 description: Is used to enable or disable the data synchronization flag
1594 name: dataSyncEnabled
1605 message: Bad request error message
1606 details: Bad request error details
1608 $ref: '#/components/schemas/ErrorMessage'
1609 description: Bad Request
1615 message: Forbidden error message
1616 details: Forbidden error details
1618 $ref: '#/components/schemas/ErrorMessage'
1619 description: Forbidden
1620 InternalServerError:
1625 message: Internal Server Error
1626 details: Internal Server Error occurred
1628 $ref: '#/components/schemas/ErrorMessage'
1629 description: Internal Server Error
1634 message: Bad Gateway Error Message NCMP
1639 $ref: '#/components/schemas/DmiErrorMessage'
1640 description: Bad Gateway
1649 description: Created
1652 description: No Content
1658 message: Not found error message
1659 details: Not found error details
1661 $ref: '#/components/schemas/ErrorMessage'
1662 description: The specified resource was not found
1668 message: Payload Too Large error message
1669 details: Payload Too Large error details
1671 $ref: '#/components/schemas/ErrorMessage'
1672 description: The request is larger than the server is willing or able to process
1687 example: Bad Gateway Error Message NCMP
1690 $ref: '#/components/schemas/DmiErrorMessage_dmi_response'
1691 title: DMI Error Message
1693 DataOperationRequest:
1696 - resourceIdentifier: parent/child
1698 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1700 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1702 datastore: ncmp-datastore:passthrough-operational
1703 options: (fields=schemas/schema)
1706 - resourceIdentifier: parent/child
1708 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1710 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1712 datastore: ncmp-datastore:passthrough-operational
1713 options: (fields=schemas/schema)
1718 description: contains group of data operation requests
1720 $ref: '#/components/schemas/DataOperationDefinition'
1722 title: execute data operation for given array of operations
1724 DataOperationDefinition:
1726 resourceIdentifier: parent/child
1728 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1730 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1732 datastore: ncmp-datastore:passthrough-operational
1733 options: (fields=schemas/schema)
1744 example: ncmp-datastore:passthrough-operational
1747 example: (fields=schemas/schema)
1750 example: parent/child
1754 description: "targeted cm handles, maximum of 50 supported. If this limit\
1755 \ is exceeded the request wil be refused."
1756 example: "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1764 RestModuleReference:
1766 moduleName: my-module-name
1767 revision: my-module-revision
1770 example: my-module-name
1773 example: my-module-revision
1775 title: Module reference details
1777 RestModuleDefinition:
1779 moduleName: my-module-name
1783 namespace 'org:onap:ccsdk:sample';
1785 revision '2020-09-15' {
1790 revision: 2020-09-15
1793 example: my-module-name
1802 namespace 'org:onap:ccsdk:sample';
1804 revision '2020-09-15' {
1810 title: Module definitions
1812 CmHandleQueryParameters:
1814 cmHandleQueryParameters:
1815 - conditionParameters:
1816 - key: conditionParameters
1817 - key: conditionParameters
1818 conditionName: conditionName
1819 - conditionParameters:
1820 - key: conditionParameters
1821 - key: conditionParameters
1822 conditionName: conditionName
1825 conditionParameters:
1826 - moduleName: my-module
1827 - moduleName: my-module
1829 conditionParameters:
1830 - moduleName: my-module
1831 - moduleName: my-module
1833 cmHandleQueryParameters:
1835 $ref: '#/components/schemas/ConditionProperties'
1839 description: "not necessary, it is just for backward compatibility"
1841 $ref: '#/components/schemas/OldConditionProperties'
1843 title: Cm Handle query parameters for executing cm handle search
1845 ConditionProperties:
1847 conditionParameters:
1848 - key: conditionParameters
1849 - key: conditionParameters
1850 conditionName: conditionName
1854 conditionParameters:
1856 additionalProperties:
1860 OldConditionProperties:
1864 conditionParameters:
1865 - moduleName: my-module
1866 - moduleName: my-module
1870 conditionParameters:
1872 $ref: '#/components/schemas/ModuleNameAsJsonObject'
1874 ModuleNameAsJsonObject:
1876 moduleName: my-module
1883 cmHandle: my-cm-handle1
1884 alternateId: my-alternate-id
1885 dataProducerIdentifier: my-data-producer-identifier
1886 publicCmHandleProperties:
1890 dataSyncEnabled: false
1893 lastSyncTime: 2022-12-31T20:30:40.000+0000
1894 syncState: NONE_REQUESTED
1896 lastSyncTime: 2022-12-31T20:30:40.000+0000
1897 syncState: NONE_REQUESTED
1898 cmHandleState: ADVISED
1900 reason: LOCKED_MISBEHAVING
1901 details: locked due to failure in module sync
1902 lastUpdateTime: 2022-12-31T20:30:40.000+0000
1903 trustLevel: COMPLETE
1904 moduleSetTag: my-module-set-tag
1907 example: my-cm-handle1
1909 publicCmHandleProperties:
1911 additionalProperties:
1917 $ref: '#/components/schemas/CmHandleCompositeState'
1919 description: Current trust level of the relevant CM handle ID.
1923 example: my-module-set-tag
1926 example: my-alternate-id
1928 dataProducerIdentifier:
1929 example: my-data-producer-identifier
1931 title: CM handle Details
1933 CmHandlePublicProperties:
1935 additionalProperties:
1940 CmHandleCompositeState:
1942 dataSyncEnabled: false
1945 lastSyncTime: 2022-12-31T20:30:40.000+0000
1946 syncState: NONE_REQUESTED
1948 lastSyncTime: 2022-12-31T20:30:40.000+0000
1949 syncState: NONE_REQUESTED
1950 cmHandleState: ADVISED
1952 reason: LOCKED_MISBEHAVING
1953 details: locked due to failure in module sync
1954 lastUpdateTime: 2022-12-31T20:30:40.000+0000
1960 $ref: '#/components/schemas/lock-reason'
1962 example: 2022-12-31T20:30:40.000+0000
1968 $ref: '#/components/schemas/dataStores'
1972 reason: LOCKED_MISBEHAVING
1973 details: locked due to failure in module sync
1976 example: LOCKED_MISBEHAVING
1979 example: locked due to failure in module sync
1985 lastSyncTime: 2022-12-31T20:30:40.000+0000
1986 syncState: NONE_REQUESTED
1988 lastSyncTime: 2022-12-31T20:30:40.000+0000
1989 syncState: NONE_REQUESTED
1992 $ref: '#/components/schemas/sync-state'
1994 $ref: '#/components/schemas/sync-state'
1998 lastSyncTime: 2022-12-31T20:30:40.000+0000
1999 syncState: NONE_REQUESTED
2002 example: NONE_REQUESTED
2005 example: 2022-12-31T20:30:40.000+0000
2009 description: Current trust level of the relevant CM handle ID.
2012 RestOutputCmHandlePublicProperties:
2014 publicCmHandleProperties:
2018 publicCmHandleProperties:
2020 additionalProperties:
2026 RestOutputCmHandleCompositeState:
2029 dataSyncEnabled: false
2032 lastSyncTime: 2022-12-31T20:30:40.000+0000
2033 syncState: NONE_REQUESTED
2035 lastSyncTime: 2022-12-31T20:30:40.000+0000
2036 syncState: NONE_REQUESTED
2037 cmHandleState: ADVISED
2039 reason: LOCKED_MISBEHAVING
2040 details: locked due to failure in module sync
2041 lastUpdateTime: 2022-12-31T20:30:40.000+0000
2044 $ref: '#/components/schemas/CmHandleCompositeState'
2046 DmiErrorMessage_dmi_response:
2052 example: Bad Request