vector icon indicating copy to clipboard operation
vector copied to clipboard

[node] Websockets for event listeners

Open rhlsthrm opened this issue 4 years ago • 1 comments

Instead of gRPC we can use Websocket based event handlers.

rhlsthrm avatar Mar 08 '21 13:03 rhlsthrm

Task breakdown:

  • [ ] Use this plugin in our server node Fastify server: https://github.com/fastify/fastify-websocket
  • [ ] Send events for engine nodes through websocket payloads
  • [ ] Update RestServerNodeService .on, .once, .waitFor methods to use websockets instead of webhooks
  • [ ] Update router to use this interface and use websockets
  • [ ] Update tester instances to use this interface

rhlsthrm avatar Mar 08 '21 13:03 rhlsthrm