Closed ferjm closed 8 years ago
@ferjm can we also add the public-local URL? So the Box would post something like the JSON I described in https://github.com/fxbox/foxbox/pull/77#issuecomment-196216450
In fact, I'm thinking, why impose a schema at all? We could just make this service a lot "dumber", just a message bus where anybody can broadcast a message, and anybody can see which messages were sent from the same outgoing IP address.
That makes it a lot clearer what the assumptions are, and it decouples the code of this server from the function we use it for.
I'm still thinking, why impose a schema at all? We could just change local_ip
to msg
, that way the Box can decide which message string it wants to announce via this service.
Yes, we could do that.
@fabricedesre any objection?
We can't let clients send arbitrary large message and basically use the registration server as a poor man's db. So I'm fine with having a more relaxed schema, but we can't be fully open ended I fear.
Given that the storage content is really not valuable for us, we can safely remove the existing sqlite file from the dev server before applying these changes.
r? @fabricedesre