-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
- PITON App subscribes for notifications via HSLynk
- HSLynk registers/ subscribes itself with opencitylabs for notifications (for that specific client)
- opencitylabs notifies resthook when criteria is met
- HSLynk's resthook writes to websocket
- PITON app listens to websocket for notifications from HSLynk's rest hook.
Rest hook (to be registered with opencitylabs) : https://api.hslynk.com/hmis-event-service/eventnotifications
Web socket URL that PITON need to listen to : realtime.hslynk.com/hmis-event-service/events-socket
Specific channels (to be listened to from PITON) :
To listen for all / any client's notifications : /clients
To listen to notifications for a specific client using client ID : /clients/{clientid}
To listen to notifications for a specific client using client's Dedup ID : /clients/{dedupclientid}
The body that is received from opencitylabs will be sent as is to the websocket (for demo purposes).
Test implementation of the complete flow
https://realtime.hslynk.com/hmis-event-service/socket-test.html
eric-jahn
Metadata
Metadata
Assignees
Labels
No labels
