-
Story
-
Resolution: Done
-
Medium
-
None
-
None
We want to check the DMI for its availability every 25 seconds (a configurable value).
When a DMI registers with NCMP it is added to a Hazelcast Map with its name as key and values as trust level COMPLETE.
If a DMI goes down we want to set the trust level for that DMI to NONE.
Hazelcast for Trust Level
Map Trust level for DMI Plugins
Key: Dmi Name, Values: trust level
Set Trust level for untrustworthy CMHandles
Key: CmHandleId
When checking the trust level for a CMHandle first check the trust level of that CMHandle's DMI Plugin
If NONE return NONE
If COMPLETE check trust level for the CMHandle and return that
After initial registration, customer can query the 'cmHandleWithTrustLevel' of all cm-handles and see that the trustlevel is 'COMPLETE'
Within 25 seconds (a configurable value) of a DMI going down. The same query with trustlevel is 'NONE' should show all affected handles are 'untrustworthy'
Update the read the docs pages
A/C:
- The health check URL of DMI plugins should be able to queried and processed by NCMP.
The health check URL format: http://<dmiPluginServiceName>/manage/health - A Watch dog with a configurable interval should run step 1.
The property should be available to configure the interval:
ncmp.timers.trust-evel.dmi-availability-watchdog-ms
Demo
- is blocked by
-
CPS-1639 Add trustLevel to CMHandle/dmi-registry
- Closed