Commit Graph

708 Commits

Author SHA1 Message Date
Christoph Kluge
0c1b66aad9 Adapt svelte to new schema, add removed metric box
- Moved 'scope' field to parent jobMetric
- Implemented unit { prefix, base } where necessary
- SubCluster Metric Config 'remove' option implemented in Joblists
2023-03-30 15:21:35 +02:00
Jan Eitzinger
6b84e65d88 Disable test 2023-03-29 14:37:42 +02:00
Jan Eitzinger
82120cfb3d Update generated.go 2023-03-29 10:54:16 +02:00
Christoph Kluge
1bb2827aeb Merge branch 'import-data-sanitation' of https://github.com/ClusterCockpit/cc-backend into import-data-sanitation 2023-03-29 10:39:42 +02:00
Christoph Kluge
fc133f328a Add check to ccms getSubCluster routine
- Fixes nil pointer panic if topology requested from undef'd subcluster
- rest.go: vscode LINT
2023-03-29 10:39:31 +02:00
Jan Eitzinger
d4f3c4d07b Update job.go 2023-03-29 06:47:19 +02:00
Jan Eitzinger
5d535edb48 Synchronize go job struct with schema 2023-03-29 06:46:33 +02:00
Jan Eitzinger
9aa12c6edc Update .gitignore 2023-03-27 15:36:57 +02:00
Jan Eitzinger
f16d99ef71 Use filepath.Join instead of Sprintf 2023-03-27 15:34:56 +02:00
Jan Eitzinger
b5b5feb850 Fix tests 2023-03-27 14:41:00 +02:00
8447d011ad Add version to job archive 2023-03-27 13:24:06 +02:00
Jan Eitzinger
ff8f013b56 Make archive migration threaded 2023-03-27 11:11:28 +02:00
Jan Eitzinger
a4a90074ee Introduce compression in job archive. 2023-03-27 11:11:14 +02:00
Jan Eitzinger
465d5c0186 Rename archive tools 2023-03-24 16:24:06 +01:00
Jan Eitzinger
72fc4b859c Remove obsolete numberOfNodes property 2023-03-24 16:13:51 +01:00
Jan Eitzinger
58f589e019 Fix subcluster assigment with wildcard 2023-03-24 15:56:27 +01:00
Jan Eitzinger
3ce8344275 Add default match for one subcluster 2023-03-24 15:21:31 +01:00
Jan Eitzinger
9aff980a38 Add scope to Metric List. Add numberOfNodes. 2023-03-24 15:10:23 +01:00
Jan Eitzinger
4d49698e5a Add scope to GraphQL Metric Type 2023-03-24 14:43:37 +01:00
Jan Eitzinger
c622967d27 Fix json test data 2023-03-24 13:40:08 +01:00
Jan Eitzinger
05bce53c7f Adapt test json data to new schema 2023-03-24 13:30:54 +01:00
20290f296d Debug migration routine 2023-03-23 10:29:11 +01:00
Jan Eitzinger
cf6c217f76 Allocate reference variables on heap 2023-03-22 19:29:29 +01:00
Jan Eitzinger
1f8c6064e2 Refactor schema
* Remove redundant scope
* Change Series Id type to string
* Adopt golang structs to schema
2023-03-22 19:21:11 +01:00
Jan Eitzinger
def35a551a Only hide binary 2023-03-22 07:18:45 +01:00
Jan Eitzinger
327721bac7 Add validate option. Backport startDemo 2023-03-22 07:15:41 +01:00
Jan Eitzinger
a168efa8c8 Fix unit tests 2023-03-22 07:05:41 +01:00
Christoph Kluge
de71fee61e
Merge pull request #98 from giesselmann/fix-updateconfig
Fix UpdateConfig
2023-03-21 12:09:40 +01:00
5d526e1168 Adapt Cluster schema
Add remove boolean to subClusterConfig in MetricList.
Fix Linter errors.
2023-03-21 11:51:11 +01:00
747f6d4e2d Add MetricConfig in SubClusters. 2023-03-20 16:27:36 +01:00
Thomas Roehl
4b430016c9 Add Release action for cc-backend 2023-03-20 15:38:36 +01:00
efde2cbb8e Introduce hierarchical metriclists and thresholds 2023-03-18 08:15:11 +01:00
Pay Giesselmann
de822e13fd
Fix UpdateConfig 2023-03-13 10:45:55 +01:00
Jan Eitzinger
d2b97c9e2f Continue with job-archive migration 2023-03-10 12:14:33 +01:00
Jan Eitzinger
97f391deff GraphQL remove toplevel thresholds and add Unit
Add Unit to metric values in subCluster
2023-03-10 12:13:40 +01:00
Christoph Kluge
a651219a2c
Merge pull request #96 from ClusterCockpit/92_add_shortjobduration_config
Move ShortRunningJobsDuration value to root config
2023-03-09 16:43:43 +01:00
Christoph Kluge
14665df439 Better test array 2023-03-06 16:35:14 +01:00
Christoph Kluge
cae7257673 Add tests for role checks, update test.db 2023-03-06 16:32:58 +01:00
Christoph Kluge
f37e7c26f6 Rework roles as enum, change AuthSource to enum 2023-03-06 11:44:38 +01:00
8a1288db1a Merge branch 'master' of github.com:ClusterCockpit/cc-backend 2023-03-02 14:13:34 +01:00
928cea6814 Add tags target to Makefile 2023-03-02 14:11:06 +01:00
Christoph Kluge
4f1f034702 Move ShortRunningJobsDuration value to root config 2023-03-01 16:34:59 +01:00
9d28cb83f0 Remove swagger enum comment and rebuild Swagger docs
Relates to #95
2023-03-01 10:49:08 +01:00
Christoph Kluge
df44bd9621 Merge branch 'master' into 40_45_82_update_roles 2023-02-28 11:18:46 +01:00
c6c217adb0 Backup commit 2023-02-28 09:33:55 +01:00
1fc090965d Add missing error code 2023-02-27 09:16:18 +01:00
Jan Eitzinger
5af1fa19b9
Update README.md 2023-02-27 09:12:26 +01:00
Jan Eitzinger
2472698367
Update README.md 2023-02-27 09:12:04 +01:00
e13f184414 Regenerate Swagger docs
Relates to #94 and #95
2023-02-27 07:49:37 +01:00
2de4d03c8d Make startDemo.sh use Makefile 2023-02-25 08:29:08 +01:00