mesg-foundation / js-sdk

Javascript mono-repo with all the tools to interact with MESG
https://mesg.com
4 stars 4 forks source link

Runner authentication #216

Closed antho1404 closed 4 years ago

antho1404 commented 4 years ago

This adds the support of authentication for the runner. Now each service registers to the runner.Register GRPC API and use the issued token to listen to their executions and give them the possibility to submit results and events.

This is not a breaking change for the API of the service but the execution stream will take slightly longer to be established as the authorisation is required.

This also removes the dependency to the @mesg/api library so we will be able to safely remove the grpc API in the API library without impacting the service library

To test