seneca-mesh
seneca-mesh copied to clipboard
Well known entrypoint
@rjrodger
So here is something stupidly nice. It turns out you can cURL or used postman on any node in the mesh and get back a valid response. This means you can pretty much manipulate the whole system from a single point. Epic right!
With this in mind, is there a way to have a well known point for accessing a mesh system. This could be configurable but it would be nice if you could set a single port as an 'entrypoint' basically it would just funnel the input via standard transport channels.
The other option is if you exposed a pattern to call to get all the current nodes. That way I could call this periodically on the base node and have it periodically emit the ports to logs (since it's not doing anything else anyway).
But for sure this works, I've tried all patterns on about 10 different ports now (that I know are meshed) and it works.
all valid feature suggestions!