Chris Veilleux
|
43ef249d00
|
change public API to use a different connection pooling mechanism
|
2019-05-22 13:12:23 -05:00 |
Matheus Lima
|
de0af15ae7
|
Releasing the db connection when an exception happens
|
2019-05-22 12:27:35 -03:00 |
Chris Veilleux
|
bbd5088a6a
|
add device_id to the metrics.api table for reporting
|
2019-05-15 14:27:54 -05:00 |
Chris Veilleux
|
a440bfe442
|
log public API responses that are not cached via etag.
|
2019-04-23 14:27:02 -05:00 |
Chris Veilleux
|
7812cc5d04
|
fixed http status to be an integer
|
2019-04-22 20:35:28 -05:00 |
Chris Veilleux
|
d7fcab2ab2
|
now that a database connection associated with the application context is optional, we may need to create on on teardown to store the metrics of the API call.
|
2019-04-22 19:46:07 -05:00 |
Chris Veilleux
|
b38110e8a0
|
changed logic that got a database connection for all endpoints in a before_request hook to a lazily loaded property that only gets called when a db connection is needed.
|
2019-04-22 18:09:14 -05:00 |
Chris Veilleux
|
2ee471a6e1
|
add api metrics table and collection. in the process, changed the database connection mechanism to only get a connection from the pool once per request.
|
2019-04-22 16:58:28 -05:00 |
Matheus Lima
|
2af381cf00
|
Fixing skills settings and skills manifest uploading
|
2019-04-16 18:11:14 -03:00 |
Matheus Lima
|
df14af5322
|
Implemented etag support on the endpoint `GET /device/{uuid}`
|
2019-03-18 16:34:34 -03:00 |
Matheus Lima
|
577c470d90
|
- Using schematics to validate POST data
- Fixed test
- Fixed error handler to present a better error message
|
2019-02-22 14:23:43 -03:00 |
Chris Veilleux
|
517177078c
|
return a dictionary instead of a string to make the response go through the coersion routine
|
2019-02-19 14:41:05 -06:00 |
Chris Veilleux
|
8118c1b05c
|
new error handler for authentication errors
|
2019-02-19 10:58:48 -06:00 |
Chris Veilleux
|
f5fb8b6dfe
|
added blueprint for flask application setup common to all selene api's
|
2019-02-15 21:43:59 -06:00 |