Commit Graph

1458 Commits

Author SHA1 Message Date
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
csobier
1e8412edb1 reverted rebranded code, as instruted. Legacy cartodb code appears instead. Also applied ALL CAPS for rebranded name, as instruted 2016-05-31 14:03:01 -04: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
Daniel García Aubert
d3aa4a4140 Merge branch 'master' into batch-move-user-metadata-service 2016-05-27 11:47:28 +02:00
Daniel García Aubert
976bf5b039 Implemented profiling for job-runner and job-controller 2016-05-26 19:44:59 +02:00
Daniel García Aubert
ea00c22577 Merge branch 'master' into batch-add-profile 2016-05-26 17:46:52 +02:00
Daniel García Aubert
1a0e2b681b Fixes #309, added skipped status to fallback-jobs 2016-05-26 17:37:37 +02:00
csobier
1a6cf26544 Merge pull request #310 from CartoDB/docs-updated-postgis-link
updated postgis docs url
2016-05-26 07:49:06 -04:00
csobier
bfcf5487f7 docs 781 applied to sql api docs 2016-05-25 18:43:30 -04:00
csobier
df9ea48e07 updated postgis docs url 2016-05-25 17:08:36 -04:00
Daniel García Aubert
d9f5ac67f5 Stubs next version 2016-05-25 17:39:04 +02:00
Daniel García Aubert
f0a0a9a0f5 Release 1.29.2 2016-05-25 17:36:13 +02:00
Daniel
f70d7bb58d Merge pull request #308 from CartoDB/fix-fallback-status-trensition
Fixed issue with status transition fallback jobs
2016-05-25 17:30:07 +02:00
Daniel García Aubert
e079491a7e Fixed issue with status transition fallback jobs 2016-05-25 17:00:27 +02:00
Raul Ochoa
3a3c49e40d Stubs next version 2016-05-24 17:22:46 +02:00
Raul Ochoa
b738295dc2 Release 1.29.1 2016-05-24 17:14:36 +02:00
Raul Ochoa
49ac1b812d Update news 2016-05-24 16:57:06 +02:00
Raul Ochoa
47de012bc2 Merge pull request #307 from CartoDB/job-query-payload-increase
Increase job payload size to 8kb
2016-05-24 15:45:00 +02:00
Raul Ochoa
a91c7a6a88 Increase job payload size to 8kb 2016-05-24 15:41:18 +02:00
Raul Ochoa
c771915f88 Merge pull request #305 from CartoDB/job-query-payload-limit
Payload size validates multiple queries and fallback queries
2016-05-24 15:16:18 +02:00
Raul Ochoa
23228b2d73 Payload size validates multiple queries and fallback queries
It uses a middleware to check the body size
2016-05-24 14:28:00 +02:00
Daniel García Aubert
caa07e0968 Stubs next version 2016-05-24 12:41:09 +02:00
Daniel García Aubert
2724133591 Release 1.29.0 2016-05-24 12:38:30 +02:00
Daniel
7ca46fa606 Merge pull request #304 from CartoDB/293-no-longer-running-job
No longer running job
2016-05-24 12:12:55 +02:00
Daniel García Aubert
40ed7d4dc2 Merge branch 'master' into 293-no-longer-running-job 2016-05-24 11:47:26 +02:00
Daniel
72ffc47fd2 Merge pull request #302 from CartoDB/batch-fallback-job
Batch fallback job
2016-05-24 11:46:06 +02:00
Daniel García Aubert
232c8147de Adjust max-complexity value to linter 2016-05-24 11:26:23 +02:00
Daniel García Aubert
64ad284c9c WIP: adding metrics to Batch API 2016-05-24 11:19:00 +02:00
Daniel García Aubert
3caa1373bf Removed useless condition 2016-05-23 18:47:45 +02:00
Daniel García Aubert
636686386e Moved userDatabaseMetadataService from job_runner to query_runner 2016-05-23 17:51:56 +02:00
Daniel García Aubert
a60c0e1927 Moved job-factory to a proper place 2016-05-23 15:20:14 +02:00
Daniel García Aubert
7fce6c5dfc Avoid hacky 2016-05-23 15:13:31 +02:00
Daniel García Aubert
2d86fc2ce3 In fallback jobs, used fallback_status property instead of an array of statuses 2016-05-23 15:05:14 +02:00
Daniel García Aubert
f7392c48cc Improved naming in job's constructors 2016-05-23 11:37:09 +02:00