Juan Ignacio Sánchez Lara
2862c80025
Proper empty count on bulk geocoding
2018-07-23 11:53:02 +02:00
Juan Ignacio Sánchez Lara
abbaf83e97
run_street_point_geocoder tests
2018-07-23 11:42:51 +02:00
Juan Ignacio Sánchez Lara
cd5e6510a6
In case of general error, failed service use should be incremented by searches length
2018-07-23 09:30:09 +02:00
Juan Ignacio Sánchez Lara
fd097724f1
In case of general error, total service use should be incremented by searches length
2018-07-19 21:17:09 +02:00
Juan Ignacio Sánchez Lara
96fbf3080a
Base run_street_point_geocoder test
2018-07-19 21:08:07 +02:00
Juan Ignacio Sánchez Lara
9c90c539f8
Fix Mapbox routing fixture shape
2018-06-27 11:09:32 +02:00
Juan Ignacio Sánchez Lara
94aeceb894
Fixes encoding
2018-04-10 09:32:23 +02:00
Antonio
d66804b93d
Fixed test
2018-03-16 14:47:56 +01:00
Antonio
6572891036
Merging changes
2018-03-16 14:30:01 +01:00
Antonio
f5cbc195cc
Fixed tests
2018-03-14 13:31:00 +01:00
Antonio
596189185f
Added configuration for TomTom services
2018-03-02 16:01:22 +01:00
Antonio
177c19f935
Added TomTom isolines
2018-02-23 15:59:54 +01:00
Antonio
90d8d207eb
Added geocoding and routing services
2018-02-16 17:43:22 +01:00
Mario de Frutos
9e247685b8
Merge pull request #465 from CartoDB/457-Fix_Mapbox_Python_tests
...
457 fix mapbox python tests
2018-02-14 10:21:29 +01:00
Juan Ignacio Sánchez Lara
1fdb4d3b3a
Pythonic refactor, importing single method
2018-02-13 18:24:21 +01:00
Juan Ignacio Sánchez Lara
029541f298
api_key -> mapbox_api_key rename refactor
2018-02-13 16:16:13 +01:00
Juan Ignacio Sánchez Lara
45d9edbba6
Mapbox test API key is supplied now through a MAPBOX_API_KEY environment variable
2018-02-13 15:58:10 +01:00
Antonio
080a386b8f
Fixed mapbox requests and responses
2018-02-12 18:02:37 +01:00
Mario de Frutos
07f00cc0ae
Added tests for the client/channel part of google
2018-01-31 13:17:36 +01:00
Mario de Frutos
2bbd6bac91
Going red with non empty request string
2018-01-31 12:25:18 +01:00
Mario de Frutos
2f8dbbb5dc
Dont raise exception when empty params passed to HERE geocoder
2018-01-31 12:16:13 +01:00
Mario de Frutos
876bae6b56
Going red with bad request parameters
2018-01-31 12:11:25 +01:00
Antonio
e0b1632fa8
Fixed tests
2018-01-30 09:13:43 +01:00
Antonio
6c53846e33
Fixed country code problem. Added test
2018-01-16 16:36:24 +01:00
Antonio
7dc87ad38e
Rotating API keys for Mapbox
2018-01-11 10:18:01 +01:00
Antonio
e7c0628751
Solving errors and refactor
2018-01-04 15:00:52 +01:00
Antonio
51d97228dc
Added CR suggestions
2018-01-04 12:30:58 +01:00
Antonio
801c5a3cee
Solved data conversion issues
2018-01-03 14:14:25 +01:00
Antonio
bb86f080fc
Added limits/quotas and tests for Mapbox services
2018-01-02 16:21:57 +01:00
Antonio
c46174210d
Added cdb_dataservices_server functions
2017-12-29 14:07:51 +01:00
Antonio
af07def7fc
Added parameters for PLPython functions
2017-12-28 11:36:02 +01:00
Antonio
bc9dbdbb72
Removed routing client from isolines
2017-12-27 16:31:29 +01:00
Antonio
8c0af7d51d
Pure Python implementation of clients for Mapbox services
2017-12-27 13:43:14 +01:00
Rafa de la Torre
3ed41b065a
Marginally improve tests for #382
2017-10-06 15:27:51 +02:00
Rafa de la Torre
6c3260b6ee
Move credentials tests to GoogleMapsClientFactoryTestCase
2017-10-06 15:23:44 +02:00
Rafa de la Torre
5005572f89
Add tests for GoogleMapsClientFactory
2017-10-06 15:18:51 +02:00
Rafa de la Torre
b8e1120169
Revert "Use a different client_id for the test"
...
This reverts commit 854fbb803c
.
2017-10-06 15:03:08 +02:00
Rafa de la Torre
7b988e3f78
Add tests for #382
...
The examples are not arbitrary: base64 by default ignores characters
that are not in its alphabet. When decoding, the dashes and underscores
are not b64-valid and therefore ignored, resulting in a sequence with
the wrong padding.
2017-10-06 14:37:26 +02:00
Rafa de la Torre
854fbb803c
Use a different client_id for the test
2017-10-06 13:41:50 +02:00
Rafa de la Torre
f0a3249b4e
Keep metrics keys consistent
...
See cartodb repo and our internal documentation:
https://github.com/CartoDB/cartodb/search?utf8=%E2%9C%93&q=failed_responses&type=
2017-09-07 11:24:38 +02:00
Mario de Frutos
c13dba71a4
Deactivated DO credits usage for users that have quota
...
See https://github.com/CartoDB/bigmetadata/issues/215
2017-08-24 14:35:20 +02:00
Rafa de la Torre
49a53e4cd7
Fix non-zero-padded days in tests
...
See https://github.com/CartoDB/dataservices-api/issues/204 and related
tickets.
2017-07-07 15:14:27 +02:00
Mario de Frutos
61efb66aba
Add an extra check for google credentials
...
If the user has a wrong base64 padded secret key the googlemaps
python library is returning "TypeError: Incorrect padding" which
is very hard to understand. So now we check if the secret key is
a valid base64 string
2017-05-26 11:51:32 +02:00
Javier Goizueta
2c15110255
Rename constructor arguments for consistency
2017-03-28 10:53:16 +02:00
Javier Goizueta
208469f534
Add rate limits configuration writing tests
2017-03-21 15:43:33 +01:00
Javier Goizueta
7f6c19b292
Minor changes for clarity
...
* ServiceManager check method renamed as assert_within_limits
* Legacy classes moved to separate files
2017-03-16 17:59:22 +01:00
Javier Goizueta
05b29967c7
Merge branch 'development' into 346-user-rate-limits
...
# Conflicts:
# README.md
# server/extension/sql/20_geocode_street.sql
# server/lib/python/cartodb_services/cartodb_services/metrics/config.py
2017-03-14 19:00:53 +01:00
Javier Goizueta
6c5ca97468
Complete rate-limiting for Mapzen & Here gecoding
...
ServiceManager class has been introduced to handle service configuration at
SQL level (with a LegacyServiceManager alternative for non-refactored services).
These new classes take the responsibility of rate limits and quota checking.
Tests have been added for ServiceManager and rate limits, but currently they
check only the limits configuration since Lua support would be needed
to use rratelimit with MockRedis.
2017-03-14 18:51:18 +01:00
Rafa de la Torre
26d025a5d1
Remove tests that no longer apply #206
2017-03-10 13:15:56 +01:00
Javier Goizueta
89762c1a7f
Use service params configuration in Mapzen services
2017-03-06 15:25:11 +01:00