Versions Compared

Key

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

...

#InterfaceRequirementAdditional Information
1CPS-NCMP-I-01A Rest endpoint to allow DMI Plugin Reregistration, A kafka interface for DMI Plugin to provide trust level state changes for a CM HandleReregistration is to reregister all CMHandles managed by a CMHandle. Kafka interface schema allows for CMHandle as id and trust level as only value in data
2DMI-I-01A Rest endpoint to trigger DMI Plugin ReregistrationAsynchronous interaction to trigger DMI Plugin to hit endpoint in CPS-NCMP-I-01 with reregistration

Error Handling

#Error ScenarioExpected behavior
1DMI Plugin goes downCMHandles managed by that DMI have NONE trust level, when the DMI comes back up, a reregistration process occurs, CMHandles are individually assessed for trust level then.
2Node goes downDMI Plugin informs NCMP of the trust level state change. DMI will update on changes to a cmhandles trust level change.

Capabilities

  1. re-registration, once a day, same requirement as first time registration
  2. single node heart beat failures 30,000 / minutes per instances

...

When checking the trust level for a CMHandle first check the trust level of that CMHandle's DMI Plugin
If None return None
If Full check trust level for the CMHandle and return that

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

...

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

...

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.

High Level Interactions

draw.io Diagram
bordertrue
diagramNameStaleness Freshness Overview
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth939
revision1

InterfaceNameTriggerDescriptionTypeEndpoint or Topic
1HealthCheck30 second interval (configurable)NCMP is to perform a health check against each of the DMI PluginsREST/health
2Reregistration requestDMI Plugin has gone down and comes back upNCMP makes a call to that DMI Plugin telling it to reregisterRESTTBD
3ReregistrationDMI Plugin received a reregistration requestDMI Plugin makes a call to NCMP to reregister its CM HandlesREST/v1/ch/reregistration
4CMHandle trust level changeA CMHandle managed by DMI Plugin's trust level has changed

data contains {trustLevel: ENUM} 

event id is cmhandle id

KafkaTBD
5TrustLevel RequestClient RequestTrustLevel is to be returned based on the values in above MapsRESTTBD

Managing TrustLevels

...

What Data?

...

What about changes to the CMHandle Properties etc?

...

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

...

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

...