From 49b18fcdc45433d34eefb46ab236144e19022dcb Mon Sep 17 00:00:00 2001 From: cyBerta Date: Thu, 23 Jul 2020 16:56:41 +0200 Subject: implement gateway selection based on geoip service --- app/src/test/resources/riseup.geoip.json | 20 ++++++++++++++++++++ app/src/test/resources/riseup_geoip.json | 20 -------------------- 2 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 app/src/test/resources/riseup.geoip.json delete mode 100644 app/src/test/resources/riseup_geoip.json (limited to 'app/src/test') diff --git a/app/src/test/resources/riseup.geoip.json b/app/src/test/resources/riseup.geoip.json new file mode 100644 index 00000000..b646052e --- /dev/null +++ b/app/src/test/resources/riseup.geoip.json @@ -0,0 +1,20 @@ +{ + "ip":"51.158.144.32", + "cc":"FR", + "city":"Paris", + "lat":48.8628, + "lon":2.3292, + "gateways":[ + "mouette.riseup.net", + "hoatzin.riseup.net", + "zarapito.riseup.net", + "redshank.riseup.net", + "shag.riseup.net", + "yal.riseup.net", + "gaei.riseup.net", + "cisne.riseup.net", + "swan.riseup.net", + "garza.riseup.net", + "gaviota.riseup.net" + ] +} \ No newline at end of file diff --git a/app/src/test/resources/riseup_geoip.json b/app/src/test/resources/riseup_geoip.json deleted file mode 100644 index b646052e..00000000 --- a/app/src/test/resources/riseup_geoip.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "ip":"51.158.144.32", - "cc":"FR", - "city":"Paris", - "lat":48.8628, - "lon":2.3292, - "gateways":[ - "mouette.riseup.net", - "hoatzin.riseup.net", - "zarapito.riseup.net", - "redshank.riseup.net", - "shag.riseup.net", - "yal.riseup.net", - "gaei.riseup.net", - "cisne.riseup.net", - "swan.riseup.net", - "garza.riseup.net", - "gaviota.riseup.net" - ] -} \ No newline at end of file -- cgit v1.2.3