...
Related Jira(s)
Jira Legacy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Description
- Define scenarios which cause a CM Handle to go stale
- Implement changes to support tracking of CM Handle Freshness/Staleness
...
- re-registration, once a day, same requirement as first time registration
- single node heart beat failures 30,000 / minutes minute per instancesinstance
Scope
- Currently only supporting NONE and COMPLETE. PARTIAL and POOR may be added later as below.
...
Drawio | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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://'$1'/manage/health/readiness | |
2 | Reregistration request | DMI Plugin has gone down and comes back up | NCMP makes a call to that DMI Plugin telling it to reregister | REST | TBD | |
3 | Reregistration | DMI Plugin received a reregistration request | DMI Plugin makes a call to NCMP to reregister its CM Handles | REST | /v1/ch/reregistration | {
"dmiPlugin": "my-dmi-plugin",
"dmiModelPlugin": "my-dmi-model-plugin",
"cmHandles": [
{
"cmHandle": "my-cm-handle",
"publicCmHandleProperties": {
"key": "my-property"
},
"cmHandleProperties": {
"key": "my-property"
}
},
{
"cmHandle": "my-cm-handle",
"publicCmHandleProperties": {
"key": "my-property"
},
"cmHandleProperties": {
"key": "my-property"
}
}
],
"dmiDataPlugin": "my-dmi-data-plugin"
} |
4 | CMHandle trust level change | A CMHandle managed by DMI Plugin's trust level has changed | data contains {trustLevel: ENUM} event id is cmhandle id | Kafka | TBD | <cloudEvents-header> id : <cmhandleId> type : org.onap.cm.events.trustlevel-notification data : { trustlevel : "COMPLETE" } |
5 | TrustLevel Request | Client Request | TrustLevel is to be returned based on the values in above Maps | REST | TBD |
Managing TrustLevels
DMI Plugins
...