Oscar Krause
95e370e0d8
Merge branch 'refs/heads/dev' into ui
...
# Conflicts:
# app/main.py
# app/orm.py
2024-06-21 19:08:14 +02:00
Oscar Krause
c79455b84d
added way to include driver version in api
...
use `create_driver_matrix_json.py` to generate file in `static/driver_matrix.json`. Logging currently is disabled to not confuse users when file is missing. This is optional!
2024-06-21 19:01:33 +02:00
Oscar Krause
4b4979cf86
fixed imports and tests
2023-01-03 20:55:23 +01:00
Oscar Krause
7e6e523799
improved test (checking uuid are 36 chars long)
2023-01-03 18:05:46 +01:00
Oscar Krause
5575fee382
fixed config test
2023-01-03 18:05:46 +01:00
Oscar Krause
0e3e7cbd3a
main.py - corrected leasing behaviour (migrated from 'LEASE_REF' to 'ALLOTMENT_REF')
2023-01-03 13:05:05 +01:00
Oscar Krause
8f9d95056f
code styling - migrated direct dict access to '.get()'
2023-01-03 09:20:18 +01:00
Oscar Krause
4fb6243330
removed deprecated endpoints
...
- '/client-token' moved to '/-/client-token'
- '/status' moved to '/-/health' and '/-/config'
see README.md for more information
2023-01-02 19:18:32 +01:00
Oscar Krause
2e950ca6f4
implemented '/-/config' endpoint to list runtime environment variables
2023-01-02 19:14:25 +01:00
Oscar Krause
400c983025
added redirect for "/-/" route
2022-12-29 20:41:55 +01:00
Oscar Krause
fa3a06a360
code styling
2022-12-29 20:40:42 +01:00
Oscar Krause
9a5cf9ff81
code styling
2022-12-29 19:07:30 +01:00
Oscar Krause
17978c2e2e
main.py - added endpoint to release single lease
2022-12-29 19:03:09 +01:00
Oscar Krause
1b2da802cb
added tests for new endpoints
2022-12-29 10:37:47 +01:00
Oscar Krause
837721fd7b
finished all remaining tests
2022-12-28 14:54:30 +01:00
Oscar Krause
d4ca6ba1aa
fixed imports
2022-12-28 14:39:04 +01:00
Oscar Krause
d91b81e50f
improved tests
2022-12-28 14:30:54 +01:00
Oscar Krause
c7aa28382a
Merge branch 'dev' into sqlalchemy
...
# Conflicts:
# app/main.py
2022-12-27 19:04:41 +01:00
Oscar Krause
6b7c70e59a
tests improved
2022-12-23 13:42:02 +01:00
Oscar Krause
6049048bbf
fixed test
2022-12-23 11:24:40 +01:00
Oscar Krause
3f71c88d48
added some test
2022-12-23 07:48:47 +01:00
Oscar Krause
3f5e3b16c5
added api tests
2022-12-23 07:35:37 +01:00