Commit Graph

1338 Commits

Author SHA1 Message Date
Raul Ochoa
8a57a64961 Output actual response when it fails 2016-06-30 19:14:21 +02:00
Raul Ochoa
1f8f5e2c57 Use another name for test table 2016-06-30 19:12:45 +02:00
Raul Ochoa
dc5807b790 Do not validate expected output 2016-06-30 18:55:19 +02:00
Raul Ochoa
74964bc696 Be more clear about what is not matching 2016-06-30 18:31:58 +02:00
Raul Ochoa
51747879d6 Reorder tests 2016-06-30 18:16:52 +02:00
Raul Ochoa
be0f059f01 Add <%= job_id %> template support for onerror and onsuccess fallback queries 2016-06-30 17:41:02 +02:00
Daniel García Aubert
ebe30b108c Release 1.32.0 2016-06-30 12:33:17 +02:00
Daniel
919a81390a Merge pull request #323 from CartoDB/broadcast-enqueue
Now Batch API broadcast to other APIs every time that re-enqueues a job
2016-06-30 12:22:48 +02:00
Raul Ochoa
44fc4427a3 Stubs next version 2016-06-29 18:36:45 +02:00
Raul Ochoa
67a5da0f32 Release 1.31.0 2016-06-29 18:35:44 +02:00
Raul Ochoa
b73fd4593f Bump version for new features 2016-06-29 18:35:18 +02:00
Daniel García Aubert
a1f31df92e Now Batch API broadcast to other APIs everytime that re-enqueues a multiple-query job 2016-06-29 18:29:53 +02:00
Raul Ochoa
8ca83ebbb6 Merge pull request #322 from CartoDB/batch-onerror-template
Add `<%= error_message %>` template support for onerror fallback queries
2016-06-29 18:26:54 +02:00
Raul Ochoa
85fa9d3c2b Merge branch 'master' into batch-onerror-template
Conflicts:
	NEWS.md
2016-06-29 16:25:05 +02:00
Raul Ochoa
89d372cda7 Merge pull request #321 from CartoDB/batch-query-time
Adds start and end time for batch queries with fallback
2016-06-29 16:24:16 +02:00
Raul Ochoa
a3117a2f01 Add <%= error_message %> template support for onerror fallback queries 2016-06-29 14:22:23 +02:00
Raul Ochoa
1d8f5539a7 Adds start and end time for batch queries with fallback 2016-06-29 13:56:45 +02:00
Daniel García Aubert
30ee62e70d Stubs next version 2016-06-23 11:49:19 +02:00
Daniel García Aubert
1f4bc31477 Release 1.30.1 2016-06-23 11:06:04 +02:00
Daniel
d7a36d6765 Merge pull request #318 from CartoDB/fix-batch-profiler
Fix batch profiler
2016-06-23 11:00:32 +02:00
Daniel García Aubert
c57388482d Merge branch 'master' into fix-batch-profiler 2016-06-22 16:39:45 +02:00
Daniel García Aubert
c7a9f59320 Added CDB_OverviewsSupport as remote sql script in fixtrues 2016-06-22 16:38:30 +02:00
Daniel García Aubert
e387458801 Now profiler is passed as argument instead to be a member property of job runner 2016-06-22 16:10:42 +02:00
Daniel García Aubert
31f9065137 Stubs next version 2016-06-14 16:42:42 +02:00
Daniel García Aubert
ab911f9e05 Release 1.30.0 2016-06-14 16:40:36 +02:00
Daniel
39ceba6707 Merge pull request #312 from CartoDB/batch-add-profile
Adds profiling to batch and job controller
2016-06-08 19:31:36 +02:00
Daniel
ddd40f83f8 Merge pull request #316 from CartoDB/fix-error-handling-job-runner
Fixed error handling in job query runner
2016-06-08 11:13:59 +02:00
Daniel
58055080c9 Merge pull request #311 from CartoDB/309-skipped-status
Fixes #309, added skipped status to fallback-jobs
2016-06-08 11:12:59 +02:00
Daniel García Aubert
0873b6fcaa Merge branch 'master' into batch-add-profile 2016-06-03 12:03:17 +02:00
Daniel García Aubert
cc1a5641ea Fixed conflicts in merge 2016-06-03 11:43:21 +02:00
Daniel
551c70f43a Merge pull request #313 from CartoDB/batch-move-user-metadata-service
Batch move user metadata service to query runner
2016-06-03 11:38:44 +02:00
Daniel García Aubert
b6967f98f2 Fixed error handling in job query runner 2016-06-03 10:44:16 +02:00
Daniel García Aubert
7bd4f46935 Used right method to check if there is more queries from query in fallback job 2016-06-02 19:55:04 +02:00
Daniel García Aubert
62cb63f132 Refactored job fallback method 2016-06-02 19:39:48 +02:00
Daniel García Aubert
ce0cceaf31 Merge branch '309-skipped-status' of github.com:CartoDB/CartoDB-SQL-API into 309-skipped-status 2016-06-02 18:22:39 +02:00
Daniel García Aubert
2a2127f4e1 Improved falback job to get the status of last finished query 2016-06-02 18:20:53 +02:00
Daniel García Aubert
e52b4a1120 Improved falback job to get the status of last finished query 2016-06-02 18:02:25 +02:00
Daniel García Aubert
86d02ab0b7 Refactored job fallback initialization 2016-06-02 14:28:35 +02:00
Daniel García Aubert
cd439757b7 Fix typo 2016-06-02 13:47:45 +02:00
Daniel García Aubert
25b9103af9 Removed duplicated code, method isValidTransition is encapsulated into a new object and job and query inherits from it 2016-06-02 12:26:20 +02:00
Raul Ochoa
82bd3765b2 Merge pull request #315 from CartoDB/improve-prepare_db
Improve prepare db script
2016-06-01 14:08:16 +02:00
Raul Ochoa
299490f46f Put all remote sql script together 2016-06-01 10:52:54 +02:00
Raul Ochoa
1d4ec69531 Merge pull request #314 from CartoDB/postgresql-9.5
Use postgresql-9.5 in travis
2016-06-01 10:40:07 +02:00
Daniel García Aubert
481a82500b Refactored fallback jobs 2016-06-01 10:39:01 +02:00
Raul Ochoa
5710d83908 Output postgresql server version 2016-06-01 10:25:16 +02:00
Raul Ochoa
4921d6a145 Write to the correct config path 2016-05-31 18:39:50 +02:00
Raul Ochoa
a3b8ac17ba Use postgresql-9.5 in travis 2016-05-31 18:26:06 +02:00
Daniel García Aubert
7de1e323b0 Avoid to use job_id to profile job timing 2016-05-30 12:43:42 +02:00
Daniel García Aubert
282da58ffe Set default value for statsd-client in job-controller to avoid check it every time it's going to be used 2016-05-30 12:27:19 +02:00
Daniel García Aubert
cf1e072c17 Improved steps in profiling 2016-05-27 12:41:24 +02:00