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:
- Verifies the message signature,
- Identifies which Data Asset the message is going to,
- Verifies that the sending DER/DID has the necessary role(s) to send data to that data asset,
- 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:
- Verify has messaging user role access
- Verify has marketplace messaging channel role access
- Verify has asset role access