Javier Goizueta
b5514aea60
Avoid invalid end of period dates
...
Fixes #322
2016-12-20 12:48:36 +01:00
Javier Goizueta
53acd4d30e
Add tests that reveal end-of-period date problem
...
See #322
2016-12-20 12:41:54 +01:00
Rafa de la Torre
15438db59b
Client 0.14.0 control and upgrade/downgrade files
2016-12-14 16:52:40 +01:00
Rafa de la Torre
0918f91bfa
Merge pull request #323 from CartoDB/314-exception-safe-public-funcs
...
314 exception safe public funcs
2016-12-14 16:34:09 +01:00
Rafa de la Torre
3c60f3e93b
Minor improvement for test #314
...
Make sure we return an empty record and that the mentioned code is never
reached.
2016-12-14 13:30:30 +01:00
Rafa de la Torre
8692fb12ca
Add test case for multi_field #314
2016-12-14 12:57:51 +01:00
Rafa de la Torre
4523b2e04d
Add test for multi_row case #314
2016-12-14 12:53:51 +01:00
Rafa de la Torre
5c8dbe91eb
Add test for simple interface case #314
2016-12-14 12:39:56 +01:00
Rafa de la Torre
99b76afc33
Some versioning facilities for make release #314
2016-12-14 12:08:26 +01:00
Rafa de la Torre
c97f03b2e3
Add generated file to .gitignore #314
2016-12-14 12:06:51 +01:00
Rafa de la Torre
cd653bc496
Add diagnostics info to rest of cases #314
2016-12-14 10:35:44 +01:00
Rafa de la Torre
610cfaab57
Move exception info vars to the top #314
2016-12-14 10:33:50 +01:00
Rafa de la Torre
58b1713a0d
Make the functions private #314
2016-12-14 10:27:43 +01:00
Rafa de la Torre
842be0ba85
Add diagnostics info to warning #314
2016-12-13 19:19:03 +01:00
Javier Goizueta
4fc90626ab
New version of the python lib
...
New release to change number of http connection retries to 1
2016-12-13 18:03:37 +01:00
Javier Goizueta
16cce3bddc
Merge pull request #320 from CartoDB/317-revert-retries
...
Revert number of isochrone retries to 3
2016-12-13 18:00:48 +01:00
Rafa de la Torre
dbd5911a2a
Implement the multi_field case #314
2016-12-13 17:00:55 +01:00
Rafa de la Torre
e53a39875e
Implement the multi_row case #314
2016-12-13 16:51:11 +01:00
Rafa de la Torre
4cd72616ca
Fix the no multi_row, no multi_field case #314
...
Fix for the `ERROR: control reached end of function without RETURN` but
now need to implement for the two other cases.
2016-12-13 16:46:58 +01:00
Rafa de la Torre
fae7889fe3
First take at producing exception-safe functions #314
2016-12-13 16:27:38 +01:00
Javier Goizueta
1f53af65b9
Set number of http connection retries to 1
...
Change the maximum number of retries for connection to external services to 1.
2016-12-13 11:32:22 +01:00
Javier Goizueta
79fb796180
Fix bug in retries usage; mantain behaviour
...
The number of retries was being passed as the pool size parameter.
This is corrected but number of retries changed to 1 to maintain previous behaviour.
2016-12-13 10:07:10 +01:00
Javier Goizueta
2953fda75c
Revert num of isochrone retries to 3
...
See #317
2016-12-12 12:14:10 +01:00
Rafa de la Torre
f716fbb502
Merge pull request #318 from CartoDB/317-timeouts-patch
...
317 timeouts patch
2016-12-07 16:50:44 +01:00
Rafa de la Torre
98fa248fff
New version of the python lib #317
2016-12-07 16:39:28 +01:00
Rafa de la Torre
7c348dee0f
Mapzen isochrones: tweak retry params #317
2016-12-07 16:38:47 +01:00
Rafa de la Torre
bdeaadf33f
Fix QPS: Compare everything in microseconds #317
2016-12-07 16:37:25 +01:00
Rafa de la Torre
a977bc97ab
Merge pull request #315 from CartoDB/add_retries_to_requests
...
Make the HTTP requests retry on timeout
2016-12-07 12:51:02 +01:00
Mario de Frutos
51face5593
Make the HTTP requests retry on timeout
2016-12-02 17:01:05 +01:00
Mario de Frutos
a60a6f04b1
Update NEWS.md
2016-12-01 16:49:01 +01:00
Mario de Frutos
190c9888d0
Merge pull request #313 from CartoDB/development
...
Release 0.20.0 and python 0.12.0
2016-11-29 16:41:44 +01:00
Mario de Frutos
77b2ac9155
Bump python version
2016-11-29 16:34:59 +01:00
Mario de Frutos
8edbf33ff1
Added denoise and generalize options to make the ischrones less heavy
2016-11-29 16:10:59 +01:00
Mario de Frutos
bd439d8985
Car is auto in mapzen isochrones
2016-11-29 13:18:52 +01:00
Mario de Frutos
16259862dd
Version 0.20.0 artifact
2016-11-29 13:08:43 +01:00
Mario de Frutos
7c816be5e5
Merge pull request #312 from CartoDB/mapzen_isochrones_integration
...
Mapzen isochrones integration
2016-11-29 13:07:36 +01:00
Mario de Frutos
77f4f3e7ff
Mapzen isochtrones integration
2016-11-29 12:57:23 +01:00
Mario de Frutos
4b714b3845
New version 0.20.0
2016-11-29 12:25:35 +01:00
Rafa de la Torre
59ed8b88a3
New client version 0.13.0 #302
2016-11-25 11:28:10 +01:00
Rafa de la Torre
ab4584bed3
New server version 0.19.0 #302
2016-11-25 10:56:41 +01:00
Rafa de la Torre
2b2691d0b9
New minor version of the python library #302
2016-11-25 10:43:06 +01:00
Rafa de la Torre
3524aabd9e
Merge pull request #311 from CartoDB/302-expose-quotas
...
302 expose quotas
2016-11-25 10:37:48 +01:00
Rafa de la Torre
9c6eabc59e
Do not enforce types for params #302
...
As types are tied to a schema, they don't get along very well with
pl/proxy. Do not use them for the service_type.
2016-11-24 18:38:33 +01:00
Rafa de la Torre
0d92eb4ba8
Fix issue with multi-field values #302
...
The difference between
```
=> select * from cdb_service_quota_info();
service | monthly_quota | used_quota | soft_limit | provider
----------------+---------------+------------+------------+------------------
isolines | 1000 | 0 | f | heremaps
hires_geocoder | 5 | 2 | f | mapzen
routing | 1500000 | 0 | f | mapzen
observatory | 1000 | 0 | f | data observatory
(4 rows)
```
and
```
=> select cdb_service_quota_info();
cdb_service_quota_info
-------------------------------------------
(isolines,1000,0,f,heremaps)
(hires_geocoder,5,2,f,mapzen)
(routing,1500000,0,f,mapzen)
(observatory,1000,0,f,"data observatory")
(4 rows)
```
is important to pl/proxy. In the later case, rows only have one field
(a tuple) and it complains with "Got too few fields from remote end".
2016-11-24 18:24:17 +01:00
Rafa de la Torre
769b740ba4
Rename service_params to service_quota_info #302
2016-11-24 17:46:07 +01:00
Rafa de la Torre
c2ede37d75
Revert internal geocoder related stuff #302
2016-11-24 17:45:19 +01:00
Rafa de la Torre
4c75c5f261
Revert internal geocoder related stuff #302
...
This reverts commits 579d11e
, 4af5975
and a2da597
2016-11-24 17:33:06 +01:00
Rafa de la Torre
f07d2f9302
Remove the no_params from client generator #302
2016-11-24 13:27:32 +01:00
Rafa de la Torre
37a3214f67
Add quota functions to client #302
2016-11-24 13:05:31 +01:00
Rafa de la Torre
efb10e43e4
Merge remote-tracking branch 'origin/development' into 302-expose-quotas
2016-11-24 12:36:23 +01:00