Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-1640

trustLevel: DMI Availability

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Montreal Release
    • 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:

      1. 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
      2. 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

            seanbeirne Sean Beirne
            lukegleeson lukegleeson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: