EWAI-LISTEN

EWAI-Listen is a (relatively) simple daemon process which subscribes to EW-Messaging to "listen" for messages coming into EWAI and invokes the EWAI-SERVER instance REST API to validate, process and store the messages. In processing them, EWAI-SERVER:

  1. Verifies the message signature,
  2. Identifies which Data Asset the message is going to,
  3. Verifies that the sending DER/DID has the necessary role(s) to send data to that data asset,
  4. Verifies that the data in the message conforms to schema validation for the data asset (if any was provided).

Note that a DER/DID must have three roles in order to successfully publish to a data asset:

  1. Verify has messaging user role access
  2. Verify has marketplace messaging channel role access
  3. Verify has asset role access