Commit Graph

44 Commits

Author SHA1 Message Date
Lou Knauer
9d49fea48a Only autostop jobs with a positive walltime 2022-05-09 11:53:41 +02:00
Lou Knauer
cbc8227550 Automatically mark jobs as failed if running too long 2022-04-07 09:50:32 +02:00
Lou Knauer
b4c541fb73 Allow weighting job counts 2022-03-25 10:20:33 +01:00
Lou Knauer
f3c2a6cc24 Change allocatedNodes; Update frontend 2022-03-24 16:08:47 +01:00
Lou Knauer
c9740e587d Add allocatedNodes to the GraphQL API 2022-03-24 10:32:08 +01:00
Lou Knauer
728e119a0b Update frontend; Cache MetaData 2022-03-17 11:23:01 +01:00
Lou Knauer
7be38277a9 cleanup and comments 2022-03-15 08:29:29 +01:00
Lou Knauer
85ad6d9543 subclusters instead of slurm partitions 2022-03-14 10:18:56 +01:00
Lou Knauer
2651b96499 Add subcluster and walltime to Job types 2022-03-14 09:08:02 +01:00
Lou Knauer
9535c11dc4 Make metaData a map[string]string; Resolve explicitly 2022-03-08 11:53:24 +01:00
Lou Knauer
08d760361d Minor fixes; Update frontend 2022-03-08 10:33:56 +01:00
Lou Knauer
046d4d5187 Some new REST endpoints; cleanup 2022-03-03 14:54:37 +01:00
Lou Knauer
a2f626fb0e New filter hiding short running jobs 2022-03-02 10:48:52 +01:00
Lou Knauer
e017954187 Fix duration filter for running jobs 2022-03-01 16:04:27 +01:00
Lou Knauer
6ad74e918e Check validity of cluster.json files 2022-03-01 16:00:44 +01:00
Lou Knauer
f330d24768 Sanitize job before import 2022-02-25 10:50:43 +01:00
Lou Knauer
49fbfc23d4 Add import command line flag 2022-02-24 11:54:36 +01:00
Lou Knauer
f304698823 fix: persist tags in meta.json 2022-02-23 14:18:55 +01:00
Lou Knauer
ef089a7f2b no paging in REST-API by default 2022-02-22 14:07:49 +01:00
Lou Knauer
a528e42be6 use prepared statements 2022-02-22 09:25:41 +01:00
Lou Knauer
96f91f1a1c Add metaData to GraphQL-API; Remove jobs limit in REST-API 2022-02-22 09:19:59 +01:00
Lou Knauer
dcb3fd6a6a Add GraphQL endpoint for counting jobs 2022-02-19 10:28:29 +01:00
Lou Knauer
84f975407e No more database access in schema.resolvers.go 2022-02-17 09:20:57 +01:00
Lou Knauer
f7cabddda5 Move jobs query logic to repository 2022-02-17 09:04:57 +01:00
Lou Knauer
62e776ef7d Add running/total job count to home 2022-02-16 12:29:54 +01:00
Lou Knauer
dd5d5214d7 Merge branch 'master' of github.com:ClusterCockpit/cc-backend 2022-02-16 09:33:35 +01:00
Lou Knauer
b85832646f Show correct count of jobs/tags 2022-02-16 09:32:38 +01:00
Jan Eitzinger
81ef072cf3 Reformatting 2022-02-16 09:06:23 +01:00
Lou Knauer
0c074e8c29 Fix default monitoring status and test 2022-02-16 09:01:32 +01:00
Jan Eitzinger
9f341a4a6c Allow variable number of parameters for stop job 2022-02-15 17:13:16 +01:00
Lou Knauer
2f32760cc5 fix stop_job returned state; handle monitoring status 2022-02-15 14:25:39 +01:00
Lou Knauer
53312c4882 refactor stopJob, remove non-async archiving 2022-02-15 13:18:27 +01:00
Jan Eitzinger
b0403da93b Add error handling to stop job 2022-02-15 11:33:59 +01:00
Jan Eitzinger
9047c69fa6 Try to fix stop job issue. Add Archive to repo. 2022-02-15 11:10:49 +01:00
Jan Eitzinger
abcfc48802 Adapt testing 2022-02-11 11:04:26 +01:00
Jan Eitzinger
f2ae0daec2 Remove obsolete user repo 2022-02-10 18:49:08 +01:00
Jan Eitzinger
14693ad32b Add Tag view including required changes. 2022-02-10 18:48:58 +01:00
Lou Knauer
27fd3c4e5a Add /search endpoint which redirects to user/job 2022-02-09 15:03:12 +01:00
Lou Knauer
0ca7dbb4f1 Create tags if needed 2022-02-08 12:49:28 +01:00
Jan Eitzinger
d63130923c Change job repo interface 2022-02-07 14:56:46 +01:00
Jan Eitzinger
cb70711c15 Port api test. Fix Bugs 2022-02-07 14:20:44 +01:00
Jan Eitzinger
e39bf6da78 Refactor job repository API. Cleanup. 2022-02-07 09:57:06 +01:00
Jan Eitzinger
d9aac00476 Extract DB queries from REST API 2022-02-07 07:09:47 +01:00
Jan Eitzinger
99865f4152 Start to extract DB repositories 2022-02-06 09:48:31 +01:00