Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Related Jira(s):

Jira Legacy
serverSystem Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyCPS-1415

...

Triggers of CMHandle trust level change

DMI Availability

Ping every 30 seconds configurable or (every communication with DMI OOS)

Health check endpoint already exists 

http://'$1'/manage/health/readiness

Trust level defined by NCMP's communication with a DMI Plugin. Hazelcast Map

When DMI comes back up, DMI does audit and provides list of Trustworthy CM Handles

Audit triggered by NCMP with list of CMHandles IDs and for DMI to reregister HTTP

Deltas: DMI handling, properties; Delete all under a DMI? Performance?

DMI AvailabilityTrust Level
AvailableFULL
UnavailableNONE

Device Heart Beat

Assumed functionality is that this will be defined by the DMI Plugin as NCMP does not communicate with device directly

Interface in NCMP for DMI Plugin to be able to tell when device HB has been lost?

10 minute limit should be configurable with 10 as default.

Hazelcast Map?

...

Probably event based

Elapsed time since last DMI Plugin lost Device HBTrust Level
Available / Unavailable for less
Less than 10
minutes 
minutesCOMPLETE
Unavailable for over
Over 10 minutesNONE

Last Data Update

OUT OF SCOPE

Trust Level defined by Client's use of NCMP endpoints to change data related to a CMHandle (passthrough only).

10 minute limit should be configurable with 10 as default.

Stored in public properties

Elapsed time since last data change for CM HandleTrust Level
Less than 10 minutesCOMPLETE
Over 10 minutesNONE

Open Question: External Notifications NCMP is subscribed to should effect this?

Device Heart Beat

Assumed functionality is that this will be defined by the DMI Plugin as NCMP does not communicate with device directly

Interface in NCMP for DMI Plugin to be able to tell when device HB has been lost.

10 minute limit should be configurable with 10 as default.

...

Schema Model Mismatch

Occurs when data change has been called for a CMHandle and the data change does not fit the defined schema for that CMHandle Anchor (passthrough only).

If this error occurs Trust Level is set to NONE. 

IssueDescriptionIssueDescriptionAnswer
CM Handle sync

Assumption is that at CMHandle registration the CMHandle is originally persisted as NONE trustLevel

As CMHandle moves to READY, NONE moves to COMPLETE, Else stays as NONE

The DataSync does not effect this as is related to cache.Last Data Update


What Data?

What about changes to the CMHandle Properties etc?


Last Data UpdateExternal Notifications NCMP is subscribed to should effect this?

Schema Model Mismatch

OUT OF SCOPE

Occurs when data change has been called for a CMHandle and the data change does not fit the defined schema for that CMHandle Anchor (passthrough only).

If this error occurs Trust Level is set to NONE. 

Open Questions

IssueDescriptionAnswer
Storing Trust Level

Do we have to store the trust level or can it be calculated when asked?

Storing in a Hazelcast Map
InterfaceWhat is the interface for getting the trust level going to beNew endpoint