Commit Graph

447 Commits

Author SHA1 Message Date
Oscar Krause
8f9d95056f code styling - migrated direct dict access to '.get()' 2023-01-03 09:20:18 +01:00
Oscar Krause
2b8c468270 main.py - fixed missing 'LEASE_RENEWAL_PERIOD' on '/auth/v1/origin' 2023-01-03 07:25:09 +01:00
Oscar Krause
50e0dc8d1f implemented '/leasing/v1/lessor/shutdown' for windows guests 2023-01-02 19:42:23 +01:00
Oscar Krause
8b934dfeef fixed '/-/config' endpoint serialisation 2023-01-02 19:23:23 +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
34662e6612 implemented 'LEASE_RENEWAL_PERIOD' variable 2023-01-02 18:57:41 +01:00
Oscar Krause
a3e089a3d5 added some references 2023-01-02 18:10:11 +01:00
Oscar Krause
ab996bb030 code styling 2023-01-02 18:04:14 +01:00
Oscar Krause
0853dd64cb README.md - added known issue for error on releasing leases on windows shutdown 2023-01-02 14:12:15 +01:00
Oscar Krause
838956bdb7 README.md - added '-L' parameter to curl commands to follow redirects (from deprecated endpoints) 2023-01-02 11:40:19 +01:00
Oscar Krause
8c515b7f2e README.md - removed links from endpoints 2023-01-02 11:39:37 +01:00
Oscar Krause
de5f07273b README.md - added compatibility to official dls 2023-01-02 11:38:48 +01:00
Oscar Krause
c894537ff9 Merge branch 'dev' into 'main'
1.2

See merge request oscar.krause/fastapi-dls!16
2022-12-30 07:51:26 +01:00
Oscar Krause
98d7492534 main.py - fixed cors parsing 2022-12-30 07:42:57 +01:00
Oscar Krause
2368cc2578 bump version to 1.2 2022-12-30 07:37:36 +01:00
Oscar Krause
5e40d7944a PKGBUILD - updated service running uvicorn natively instead of calling main.py
- fixed issue with not loading env variables inside to fastapi
- fixed to not using "python main.py" which meant for development
2022-12-30 07:36:44 +01:00
Oscar Krause
5fc9fc8e0a added documentation to debian service 2022-12-30 07:14:25 +01:00
Oscar Krause
b0e10004f1 README.md - added windows license key installation from powershell 2022-12-30 07:11:02 +01:00
Oscar Krause
478ca0ab63 added some comments 2022-12-30 07:02:50 +01:00
Oscar Krause
3d83e533da fixed client-token filename (missing .tok extension) 2022-12-30 03:50:48 +01:00
Oscar Krause
1f56d31351 code styling 2022-12-29 20:42:40 +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
c0ab3a589f migrated '/client-token' to '/-/client-token' 2022-12-29 20:33:50 +01:00
Oscar Krause
a8504f3017 hardcoded default CORS to https, since drivers only support secure connections 2022-12-29 19:14:49 +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
569ca8b3ea orm.py - fixed renewing timestamps from params 2022-12-29 19:00:14 +01:00
Oscar Krause
e0843ca1d4 code styling 2022-12-29 18:59:26 +01:00
Oscar Krause
3fad49b18a main.py - added api descriptions 2022-12-29 18:48:30 +01:00
Oscar Krause
82876bf6b1 .gitlab-ci.yml - fixed release 2022-12-29 13:14:16 +01:00
Oscar Krause
dc6b6bff69 Merge branch 'dev' into 'main'
fixes

See merge request oscar.krause/fastapi-dls!15
2022-12-29 13:03:22 +01:00
Oscar Krause
e91436b236 README.md - fixed redoc links 2022-12-29 12:58:19 +01:00
Oscar Krause
6a0c35a7a8 .gitlab-ci.yml - fixed deploy:pacman pipeline 2022-12-29 12:58:01 +01:00
Oscar Krause
0b7bedde66 Merge branch 'dev' into 'main'
1.1

See merge request oscar.krause/fastapi-dls!14
2022-12-29 12:54:37 +01:00
Oscar Krause
00f7c50e4e .gitlab-ci.yml - added release job 2022-12-29 12:47:51 +01:00
Oscar Krause
13ec45e762 orm.py - added init call after dropping table by migration 2022-12-29 12:34:25 +01:00
Oscar Krause
0983426f30 .gitlab-ci.yml improvements 2022-12-29 12:30:23 +01:00
Oscar Krause
0c3a38b84e .gitlab-ci.yml - fixed MR pipeline 2022-12-29 12:26:05 +01:00
Oscar Krause
51183f6845 updated hashes 2022-12-29 12:21:41 +01:00
Oscar Krause
5f87e65034 bump version to 1.1 2022-12-29 12:19:56 +01:00
Oscar Krause
26d6d1feeb updated variables descriptions 2022-12-29 12:19:49 +01:00
Oscar Krause
ca6942becc added some comments 2022-12-29 12:15:05 +01:00
Oscar Krause
ff02c77afe use version variable in PKGBUILD 2022-12-29 12:14:53 +01:00
Oscar Krause
85e2ef6930 use version variable in DEBIAN/control 2022-12-29 12:12:03 +01:00
Oscar Krause
47312f65d9 .gitlab-ci.yml improved 2022-12-29 10:44:39 +01:00
Oscar Krause
a59b720f3f fixes 2022-12-29 10:40:34 +01:00
Oscar Krause
1b2da802cb added tests for new endpoints 2022-12-29 10:37:47 +01:00
Oscar Krause
8b9c7d688b added some docs to custom endpoints 2022-12-29 10:35:15 +01:00