Daniel García Aubert
|
e131df601c
|
Use ES6 template string for route definition
|
2017-11-19 14:05:20 +01:00 |
|
Daniel García Aubert
|
bee04e2553
|
Usr ES6 string templates
|
2017-11-19 12:51:35 +01:00 |
|
Daniel García Aubert
|
37111f396d
|
Unify get catalog and tables middlewares
|
2017-11-19 12:37:09 +01:00 |
|
Daniel García Aubert
|
4df46fe5ea
|
Move creation of PG client to a middleware
|
2017-11-17 19:20:42 +01:00 |
|
Daniel García Aubert
|
b1b2054f0a
|
Split metadata function into two middlewares
|
2017-11-17 19:14:31 +01:00 |
|
Daniel García Aubert
|
c1f2b96bfc
|
Remove step from catalog middleware
|
2017-11-17 18:32:46 +01:00 |
|
Daniel García Aubert
|
804c6645fa
|
Make catalog method a regular middleware factory
|
2017-11-17 18:28:37 +01:00 |
|
Daniel García Aubert
|
5d6ccc07fd
|
Move functionality that prepares catalog to be used as response
|
2017-11-17 18:25:13 +01:00 |
|
Daniel García Aubert
|
a585ba5480
|
Use early retutn node pattern
|
2017-11-17 18:07:19 +01:00 |
|
Daniel García Aubert
|
d5c552a03a
|
Move functionality that sets cache control header to a middleware
|
2017-11-14 13:53:42 +01:00 |
|
Daniel García Aubert
|
a5347c27e3
|
Move sendResponse method to a middleware
|
2017-11-14 13:49:12 +01:00 |
|
Daniel García Aubert
|
27521964c7
|
Remove schema from analyses catalog query perfoming that query in the same way that we do for pooling the node status in analyses backend
|
2017-11-14 12:01:21 +01:00 |
|
Daniel García Aubert
|
bdf4827300
|
Fix bad call to next middleware callback
|
2017-11-14 11:28:06 +01:00 |
|
Daniel García Aubert
|
b6c405bf68
|
Remove send method in base controller and remove BaseController class
|
2017-10-30 19:28:40 +01:00 |
|
Simon Martín
|
06138a82a8
|
Merge branch 'middlewarify' into res-locals
|
2017-10-05 17:53:15 +02:00 |
|
Daniel García Aubert
|
b93c09959c
|
Back to use just one router
|
2017-10-05 12:12:21 +02:00 |
|
Simon Martín
|
21720267cf
|
from req.context to res.locals
|
2017-10-03 17:47:57 +02:00 |
|
Simon Martín
|
b4d03c074a
|
not move db params to res.locals.db
|
2017-09-29 11:07:11 +02:00 |
|
Simon Martín
|
f824fc5243
|
base and analyses controller
|
2017-09-28 12:02:34 +02:00 |
|
Daniel García Aubert
|
4899c7ffef
|
Inject prepare context middleware to controllers
|
2017-09-25 19:40:27 +02:00 |
|
Daniel García Aubert
|
b236112069
|
Split prepare context middleware and fix unit test
|
2017-09-25 13:40:22 +02:00 |
|
Daniel García Aubert
|
3bab081438
|
Rename req2params by prepareContext
|
2017-09-22 17:56:47 +02:00 |
|
Daniel García Aubert
|
ee8619c470
|
Use express router to group controllers' enpoints and reuse common middleware for analysis controller
|
2017-09-22 16:28:52 +02:00 |
|
Daniel García Aubert
|
df5ec0f4d9
|
Use req2params middleware for analysis catalog endpoint
|
2017-09-22 00:42:17 +02:00 |
|
Daniel García Aubert
|
429f070372
|
Pass node's response object to req2params
|
2017-09-21 12:22:33 +02:00 |
|
Daniel García Aubert
|
daeae5d95c
|
Implement error-middleware to handle errors at top level
|
2017-09-21 11:46:42 +02:00 |
|
Raul Ochoa
|
3af340d384
|
Add controller to list user analyses
|
2016-07-12 16:08:48 +02:00 |
|