...
Assumption | Notes | |
---|---|---|
1 | When a DMI restarts all cm-handles related to that DMI wil consider to have trust-level Complete | Temporary assumption until the 'Audit' function has been implemented |
Issues and Decisions
# | Issue | Notes | Decision |
---|---|---|---|
1 | how fast should CPS (and DB) be able to process max heart beat failures | is 60K really realistic if ENM goes down we should get a notification for each node do we ?! | PoC has shown 60 seconds is reasonable |
2 | restart of NCMP | should/can this be handled | |
3 | Does DMI Plugin provide NCMP with a health check url during registration? Or just rely on the default one provided with Spring boot actuator? | Document the contract. Its just the interface that matters and not the implementation. | |
4 | Look for the dmi data service (dmiDataPlugin) for the healthcheck. |
Description
- Define scenarios which cause a CM Handle to go stale
- Implement changes to support tracking of CM Handle Freshness/Staleness
...
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 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 | Kafka | TBD | <cloudEvents-header> id : <cmhandleId> type : org.onap.cm.events.trustlevel-notification data : { trustlevel : "COMPLETE" } |
3 | TrustLevel Request | Client Request | TrustLevel is to be returned based on the values in above Maps | REST | TBD | |
4 | Document the health check endpoint | 30 second interval (configurable) | Document the standard healthcheck endpoint url provided by the dmi plugins. We rely on the standard urls and not store it anywhere. | REST |
Managing TrustLevels
DMI Plugins
...