Table of Contents |
---|
Related Jira(s)
...
Interface | Name | Trigger | Description | Type | Endpoint or Topic | Schema |
---|---|---|---|---|---|---|
1 | HealthCheck | 30 second interval (configurable) | NCMP is to perform a health check against each of the DMI Plugins | REST | http://<dmiPluginServiceName>/manage/health This endpoint will be the standard heath check endpoint provided by spring boot actuator. We don't store it anywhere. We just document it for now. | |
2 | CMHandle trust level change | A CMHandle managed by DMI Plugin's trust level has changed | data contains {trustLevel: ENUM} event id is cmhandle id in kafka header | Kafka | kafka topic: dmi-device-heartbeat | <cloudEvents-header> id : <cmhandleId> type : org.onap.cm.events.trustlevel-notification data : { |
3 | CMHandle Query API with trustLevel Query Condition | Client Request | CmHandle is to be returned based on the values in above CMHandle Trust Map | REST |
| { |
Managing TrustLevel
...
kafka-key : cmHandleId/deviceId
3GPP TS 28.532 standard
# | attribute-name | type | value|||||
---|---|---|---|---|---|---|---|
Name | Parent | Type | Mandatory | Description | |||
1 | id | header | random UUIDString | Yes | id for cloud event header. Random UUID is suggested. | ||
2 | source | String | header | Yes | source of information. value : ncmp.<cmhandle-id> | ||
3 | specversion | header | "String | Yes | cloud event version spec. value : 1.0 | "||
4 | type | header | String | Yes | type of event. value : "trustLevelChangeEvent" | ||
5 | dataschema | header | String | Yes | data schema. value : "org.onap.cps.ncmp.events.cmhandle.TrustLevelChangeEvent:1.0.0" | ||
6 | correlationid | String | ext-headerYes | value : "<cmhandle-id>" | |||
7 | data | payload | Object | Yes | The actual data payload. Details will be provided below. | ||
Code Block | |||||||
| |||||||
8 | attributeName | data | String | Yes | The attribute which has changed. | ||
9 | oldAttributeValue | data | String | No | The old value of the attribute which has changed. | ||
10 | newAttributeValue | data | String | No | The new value of the attribute which has changed. |