|
99814f5c80
|
fix bug in /api/user
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-24 21:34:30 +00:00 |
|
|
02dbd0dec7
|
code cleanup,
disk paths now under instance
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-24 21:28:58 +00:00 |
|
|
eeb96a9164
|
fix bug in /user/instances
|
2023-04-21 22:40:12 +00:00 |
|
|
0251bd51d4
|
add /user/instances path
|
2023-04-21 22:37:12 +00:00 |
|
|
3247989baa
|
minor change to user data to fit additional user data
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-20 21:39:41 +00:00 |
|
|
9ccb9edf44
|
add vmid range check to instance creation,
add configurable templates to instance creation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-20 21:27:32 +00:00 |
|
|
c3160f760f
|
simplify db
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-20 20:43:05 +00:00 |
|
|
109f9993cc
|
bug fixes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-19 20:36:48 +00:00 |
|
|
c5448ca727
|
add unit return to resources path
|
2023-04-19 02:46:05 +00:00 |
|
|
09ee11055f
|
fully implement new db
|
2023-04-19 02:42:35 +00:00 |
|
|
2ef4bfd3d2
|
implement new db strategy
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-19 01:03:55 +00:00 |
|
|
943d598b69
|
fix bug in create disk resource allocation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-11 21:57:14 +00:00 |
|
|
059c1fe0d2
|
fix bug in resource get
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-03 21:53:11 +00:00 |
|
|
4b37ababda
|
add path to get remaining resources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-03 21:45:06 +00:00 |
|
|
3a823c85ba
|
fix bug in validation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-24 22:10:17 +00:00 |
|
|
7272bbe683
|
implement quick input checks
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-24 19:35:16 +00:00 |
|
|
e042bf6c41
|
remove extra comment
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-01 03:44:42 +00:00 |
|
|
71b786792f
|
implement disk deallocation in delete instance,
remove console.logs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-01 01:14:03 +00:00 |
|
|
364c268a64
|
improve return data on success
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-01 00:53:29 +00:00 |
|
|
cf418bc610
|
almost finish implementing resource check
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-01 00:50:24 +00:00 |
|
|
1f25cc1cd1
|
implement resource checking all config paths
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-01 00:38:09 +00:00 |
|
|
22e12da060
|
add some comments
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-28 23:36:22 +00:00 |
|
|
e8060bf691
|
rename getDiskByConfig to getDiskConfig
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-28 23:33:00 +00:00 |
|
|
8118a31ef6
|
improve api responses
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-28 23:27:32 +00:00 |
|
|
1c27b3c2a8
|
add resource check on resize
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-28 23:24:49 +00:00 |
|
|
b970e990a6
|
use vars to specify cors domain
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-28 22:04:30 +00:00 |
|
|
7015e356e2
|
assign pool membership of new isntance using user group membership
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-28 02:38:30 +00:00 |
|
|
d8e6274c3d
|
fix cors origin
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-28 01:37:46 +00:00 |
|
|
940f41875b
|
add create instance endpoint
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-27 23:04:38 +00:00 |
|
|
44b5cd356a
|
improve endpoint args
|
2023-02-27 02:29:39 +00:00 |
|
|
71d793aabb
|
add additional prototypes in db.js
|
2023-02-27 01:09:49 +00:00 |
|
|
c9595980cd
|
rename index.js to main.js
remove unused imports in main.js,
add function prototypes to db.js
|
2023-02-26 08:36:27 +00:00 |
|