Rafa de la Torre
c7bcbddaa9
Delete copy/pasted comment from requirements.txt #201
2016-06-13 11:16:49 +02:00
Rafa de la Torre
9ad55a4d53
Update url of pip package
2016-06-10 13:03:09 +02:00
Carla Iriberri
21aac960a6
Add function cdb_routing_with_waypoints
...
Add routing with waypoints functions to client and server. Includes
signature checks tests for the Postgresql functions and unit and
integration tests for the Python library.
Add client v0.6.0 and server v0.9.0
2016-05-25 11:38:37 +02:00
Carla
f46305de6f
Update test_helper.py
2016-05-24 13:18:43 +02:00
Mario de Frutos
bb17b3bff7
Hotifix: obs_general_quota logic missing in the redis config
2016-05-16 14:19:08 +02:00
Mario de Frutos
c7c9e6e284
Server side new data observatory functions (v0.8.0)
2016-05-16 10:25:26 +02:00
Mario de Frutos
3e09605757
On 4xx we have to return an empty response instead of an exception
2016-05-10 16:46:38 +02:00
Mario de Frutos
e81dadaf2e
Green/Blue deploy system for the observatory functions
2016-05-03 13:49:14 +02:00
Mario de Frutos
a9c420ba7b
Use redis or db data observatory quota value
2016-04-25 09:33:18 +02:00
Mario de Frutos
3c5325c1d7
Server data observatory functions
2016-04-20 15:58:38 +02:00
Mario de Frutos
1e30b21d35
Fixed tests with the isolines changes
2016-04-18 18:37:46 +02:00
Mario de Frutos
15a7ed5a09
Fixed isolines overwrite for organizations
2016-04-18 11:49:11 +02:00
Mario de Frutos
8cd94973ff
Version 0.6.2
2016-04-15 14:43:45 +02:00
Mario de Frutos
c9ddc37051
Mapzen geocoder and routing quota check
2016-04-15 10:21:40 +02:00
Mario de Frutos
b4c1991c90
Mapzen geocoder checks for the iso3 for the country passed
2016-04-13 18:49:13 +02:00
Mario de Frutos
a8dd211acf
Use retry on timeout flag for Redis connections
...
In order to avoid some fails due some high load peaks in our Redis
databases, we are going to active this flag that retries 1 more time
in case it receives a socket.Timeout error while reading or connecting
2016-04-04 10:17:59 +02:00
Carla Iriberri
752d8317a2
Merge master
2016-04-01 10:18:46 +02:00
Carla
8c5a4d32de
Update setup.py
2016-04-01 10:15:27 +02:00
Mario de Frutos
d625b26e57
Fixed timeout and random problems
2016-04-01 08:45:40 +02:00
Carla
62da0eff21
Update test_helper.py
2016-03-31 16:45:27 +02:00
Carla Iriberri
1505e0e6ea
Make isoline credentials independent
2016-03-31 15:52:52 +02:00
Mario de Frutos
89ec3dcfa6
Mapzen geocoder integrated
2016-03-23 13:37:30 +01:00
Mario de Frutos
357458f44d
Check for some issues like empty input, recoverable exceptions, etc
2016-03-22 15:19:03 +01:00
Mario de Frutos
4061009df0
4xx generated empty responses
2016-03-17 22:54:19 +01:00
Mario de Frutos
b9f18dda69
Added exception info for config retrieving
2016-03-17 11:36:52 +01:00
Mario de Frutos
7acf70131b
Change db and timeout attributes too
2016-03-17 11:01:56 +01:00
Mario de Frutos
0e44910165
Change to sentinel_id
2016-03-17 10:58:49 +01:00
Mario de Frutos
1c33a72fdc
Change sentinel attribute to use the config one
2016-03-17 10:56:25 +01:00
Mario de Frutos
5d57624fd5
Merge pull request #107 from CartoDB/rename_and_metrics
...
Rename and metrics
2016-03-17 10:23:14 +01:00
Mario de Frutos
f0a49d5fbc
Deleted the used_credits field
2016-03-17 10:15:12 +01:00
Mario de Frutos
60f17fdb09
QPS manager for Mapzen
2016-03-14 11:21:26 +01:00
Mario de Frutos
bd2e380225
Add logger for the internal geocoder too
2016-03-08 16:47:49 +01:00
Mario de Frutos
c293b55c3c
Added log and cost_per_hit config to the db config
2016-03-08 16:47:49 +01:00
Mario de Frutos
b97e838416
Refactor to move logic from SQL functions to Python
...
- Moved the logic the retrieve the redis connection params to
RedisDBConfig class
- Moved the logic that retrieve the services configuration to
ServicesDBConfig
2016-03-08 16:47:49 +01:00
Mario de Frutos
ac1627b5c5
Logger for geocoder metrics
2016-03-08 16:47:48 +01:00
Mario de Frutos
7237e01601
Change metrics increment naming to reflect service instead of geocoder
2016-03-07 16:03:28 +01:00
Mario de Frutos
df08b27068
Removed dependency with polyline and use our implementation
2016-03-02 10:49:02 +01:00
Mario de Frutos
4d04882c18
Polyline decoder
2016-03-02 10:43:27 +01:00
Mario de Frutos
d2e73a69fa
Python library supports Mapzen routing
2016-02-26 10:49:10 +01:00
Luis Bosque
6c5b1b4e99
Use strictredis if sentinel_master_id is not null
...
Also, use only a redis_host and redis_port attributes either if the
connection is to redis or to sentinel
2016-02-26 10:49:09 +01:00
Luis Bosque
93463b3032
Support using a common redis connection
...
If sentinel_host or sentinel_cluster_id is not provided it will try to
connect with a redis_host parameter
2016-02-26 10:49:08 +01:00
Mario de Frutos
d27b2a2b78
Block google services users to use isolines functions
...
Due some service restrictions, google services users couldn't use
the HERE services which includes the isolines functions.
2016-02-26 10:42:05 +01:00
Mario de Frutos
e764b9036d
Quota check for the routing feature
...
We have refactor all the quota logic and extracted to a new QuotaChecker
class in order to have it ready to create a factory when needed
Added the logic for the routing quota check
2016-02-18 15:40:55 +01:00
Mario de Frutos
3a4130282e
Limit the mode types accepted
2016-02-12 10:01:42 +01:00
Mario de Frutos
f36a345db2
Updated python library version with routing part
2016-02-10 22:26:53 +01:00
Carla Iriberri
d4a2184ce0
Multiple fixes
2016-02-10 19:59:00 +01:00
Mario de Frutos
54622d5c81
Added the routing config and metrics
2016-02-10 17:01:41 +01:00
Mario de Frutos
75a915019f
Helper to transform to Postgis multipolygon
2016-02-10 16:01:03 +01:00
Mario de Frutos
13cfee2d4c
Fixed tests for the heremaps geocoder
2016-02-10 15:24:25 +01:00
Mario de Frutos
3b0f92d5e7
Routing isolines python library
2016-02-10 15:11:45 +01:00
Mario de Frutos
17b8b5942e
Refactor to make the service config extensible to other services
2016-02-05 10:18:21 +01:00
Mario de Frutos
3960c13484
Refactor python library to unify and rename as cdb_services
2016-02-03 10:21:57 +01:00
Mario de Frutos
e7c58b9a51
Google geocoder working
2016-02-03 10:21:34 +01:00
Mario de Frutos
e73736cbec
Restrict the python-dateutil library to avoid conflict with other projects that need that specific version
2016-01-26 19:57:18 +01:00
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