Commit Graph

388 Commits

Author SHA1 Message Date
Mario de Frutos
4e53397f1c Change heremaps module to support host as parameter 2016-01-25 17:36:18 +01:00
Mario de Frutos
fffcef90a5 Check for the mandatories configurations in Redis before proceed 2016-01-25 08:17:03 +01:00
Mario de Frutos
e46600325b Use the real heremaps url 2016-01-22 16:39:55 +01:00
Mario de Frutos
984519e7f1 Change to have functions for all the geocoder types but only one function to call them 2016-01-22 10:05:46 +01:00
Mario de Frutos
c74947b0a5 Cartodb geocoder python module tests fixed 2016-01-22 10:05:40 +01:00
Mario de Frutos
aced68096b Heremaps tests fixed 2016-01-21 18:07:07 +01:00
Mario de Frutos
8a51558068 We need to have one date at least to check the quota 2016-01-21 18:06:04 +01:00
Mario de Frutos
3488d3f990 Pass the amount always 2016-01-21 18:05:34 +01:00
Mario de Frutos
111804dafc Refactor of the google geocoder keys in the config object 2016-01-21 18:05:08 +01:00
Mario de Frutos
af051e2ed5 Set the soft geocoding limit always 2016-01-21 18:04:08 +01:00
Mario de Frutos
4d0cabb429 Add username and orgname to the config object instead of pass them to every object 2016-01-21 18:03:23 +01:00
Mario de Frutos
7c3ab87b78 When geocoder API calls heremaps increments the usage metrics 2016-01-21 13:45:29 +01:00
Mario de Frutos
ad9c16b4df Nokia geocoder config moved to the config helper 2016-01-21 08:40:25 +01:00
Mario de Frutos
fc35911b91 Geocoder street function with quota checking 2016-01-20 20:57:24 +01:00
Mario de Frutos
b2fa8739e2 User config now is retrieved from redis 2016-01-20 20:56:19 +01:00
Mario de Frutos
d2a096907e Removed unused examples for python geocoder library 2015-11-23 09:50:10 +01:00
Mario de Frutos
9e30bf2223 New Redis structure for services 2015-11-23 09:40:10 +01:00
Mario de Frutos
928e33b489 Added config helper for user and geocoder config 2015-11-23 09:39:47 +01:00
Mario de Frutos
e8983283da Redis connection get from sentinel master 2015-11-23 09:39:47 +01:00
Mario de Frutos
b38a9b2fd3 Added redis config logic 2015-11-23 09:39:47 +01:00
Mario de Frutos
da12d6628d Extracted redis connection and quota check to be reusable 2015-11-23 09:39:47 +01:00
Mario de Frutos
6b9a8537c6 Added new requeriments 2015-11-11 18:46:46 +01:00
Mario de Frutos
6a75eae03c Added soft/hard geocoder limit 2015-11-11 13:17:15 +01:00
Mario de Frutos
a18bfa9554 Added quota service tests 2015-11-11 12:31:00 +01:00
Mario de Frutos
fbd48135b2 Added tests for user service 2015-11-11 12:31:00 +01:00
Mario de Frutos
f22807553f Removed logger 2015-11-11 12:30:59 +01:00
Mario de Frutos
29ec5da86d Added properties instead of getters 2015-11-11 12:30:59 +01:00
Mario de Frutos
7eab3e1f90 Refactor, extracted user_service 2015-11-11 12:30:59 +01:00
Mario de Frutos
bb3b2cc2da Change to use the installed package 2015-11-11 12:30:59 +01:00
Mario de Frutos
ab19c1b8ed Added setup.py for the package 2015-11-11 12:30:59 +01:00
Mario de Frutos
8ed26d4dd0 Client example using the cdb_conf table 2015-11-11 12:30:59 +01:00
Mario de Frutos
76c3b18dd6 Client function example 2015-11-11 12:30:59 +01:00
Mario de Frutos
a375e9dcfb Cached redis connections 2015-11-11 12:30:59 +01:00
Mario de Frutos
904336a298 Added plpythonu function example 2015-11-11 12:30:59 +01:00
Mario de Frutos
48052f8a70 Increment every time a row is georeferenced successfully 2015-11-11 12:30:59 +01:00
Mario de Frutos
1b347b7ad0 Checking from redis at localhost 2015-11-11 12:30:58 +01:00
Guido Fioravantti
e367456156 Make heremaps module pip installable 2015-11-06 12:07:41 +01:00
Mario de Frutos
a77b8f3686 Created new structure 2015-11-05 17:05:07 +01:00