telefonicaid / notification_server

Push Notification Server for the open web.
https://wiki.mozilla.org/WebAPI/SimplePush
GNU Affero General Public License v3.0
36 stars 17 forks source link

Wakeup Checker: use new API from Global Wakeup #304

Closed willyaranda closed 10 years ago

willyaranda commented 10 years ago

The API is GET https://wakeup.tefdigital.com/netinfo/v1

(https://wakeup.server.com/global/netinfo/v1 local DEV)

It answers this:

[{"netid":"214-07","mccmnc":"214-07","range":"127.0.0.0/8","offline":false}]

willyaranda commented 10 years ago

We need to use this info to hot-change the status of our wakeup networks in the DB for Websocket to return a UDP or WS connector.

willyaranda commented 10 years ago

https://github.com/telefonicaid/notification_server/commit/452d4ce58f09769b4dfc8b3e37d13f6113b00712