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
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
5d535edb48
Synchronize go job struct with schema
2023-03-29 06:46:33 +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
a4a90074ee
Introduce compression in job archive.
2023-03-27 11:11:14 +02: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
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
a168efa8c8
Fix unit tests
2023-03-22 07:05:41 +01:00
5d526e1168
Adapt Cluster schema
...
Add remove boolean to subClusterConfig in MetricList.
Fix Linter errors.
2023-03-21 11:51:11 +01:00
efde2cbb8e
Introduce hierarchical metriclists and thresholds
2023-03-18 08:15:11 +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
c6c217adb0
Backup commit
2023-02-28 09:33:55 +01:00
Jan Eitzinger
8dc9e6ecdd
Fix issues in conversion tool
2022-11-10 13:37:53 +01:00
Jan Eitzinger
740d2a2928
Adapt test input to new unit schema
2022-11-09 19:47:56 +01:00
Jan Eitzinger
d2818d54ff
Remove redundant stopTime property
2022-10-18 07:32:56 +02:00
Jan Eitzinger
29d215fcea
Intermediate Save commit
2022-10-04 10:12:35 +02:00
Jan Eitzinger
7251344d4a
Add convenience routines to unit package
2022-09-28 16:25:26 +02:00
Jan Eitzinger
918a07735d
Merge branch 'master' into dev-job-archive-module
2022-09-26 15:12:46 +02:00
Jan Eitzinger
5c715b6ec2
Add test for import job handler. Improve error messages.
2022-09-23 15:23:45 +02:00
Jan Eitzinger
3a582ee2f5
Update schema
2022-09-21 15:20:26 +02:00
Jan Eitzinger
4652f1dae1
Extend unit schema
2022-09-21 15:10:31 +02:00
Christoph Kluge
6712b15034
Better represent 'exclusiveMinimum' from JSON schemata
2022-09-21 14:21:13 +02:00
Christoph Kluge
94c77d8a67
Small additions to swagger docs
2022-09-21 14:12:24 +02:00
Christoph Kluge
05a84cb95c
Extend parsed swagger documentation by adding comments
2022-09-21 11:54:19 +02:00
Jan Eitzinger
35114aeb2d
Cleanup. Fix failing test
2022-09-20 13:07:46 +02:00
Jan Eitzinger
0c4096eda3
Fix api testcase
2022-09-20 12:21:20 +02:00
Jan Eitzinger
2fdf1c14be
Fix broken schema and add tests
2022-09-20 10:27:23 +02:00
Jan Eitzinger
207254a9e2
Embed schema files for validation
2022-09-20 07:05:01 +02:00
Jan Eitzinger
e8d7722c42
Add json schema validation for config file
2022-09-19 16:16:05 +02:00
Jan Eitzinger
8845bba90d
Fix bug
2022-09-13 15:40:32 +02:00
Jan Eitzinger
777f225e91
Add option for json validation
2022-09-13 15:22:20 +02:00
Jan Eitzinger
520c814e3b
Introduce import job flag
2022-09-13 15:20:07 +02:00
Jan Eitzinger
f6508046ff
Integrate cc-units as units package
2022-09-13 07:38:44 +02:00
Jan Eitzinger
d8aaa26c27
Cleanup and small fixes
2022-09-13 07:38:18 +02:00
Jan Eitzinger
fd100f28dd
Change interface and reintroduce caching
2022-09-13 07:37:48 +02:00
Jan Eitzinger
eb5d3581d1
Make ArrayJobId int64
2022-09-11 07:11:41 +02:00
Jan Eitzinger
48c1ba097a
Improve error handling and implement tests
2022-09-11 07:09:10 +02:00
Jan Eitzinger
882dc011b9
Fix vet issue
2022-09-07 13:41:33 +02:00
Jan Eitzinger
8856f26fb0
Reformat and Refactor packages. Rebuild GraphQL.
2022-09-07 12:24:45 +02:00
Jan Eitzinger
937e72954d
Make api test pass and cleanup
2022-09-06 14:40:14 +02:00
Jan Eitzinger
ac6785448e
More descriptive errors
2022-09-06 09:31:37 +02:00
Jan Eitzinger
42cbf217cd
Remove dependency on config package
2022-09-06 08:57:38 +02:00
Jan Eitzinger
fc76eed899
Refactor package structure
...
Builds but not tested
2022-09-05 17:46:38 +02:00
Jan Eitzinger
a0dafbac99
Add copyright header to lruchache
2022-07-29 10:41:21 +02:00
Jan Eitzinger
26df1e7c14
Add copyright and license header. Update license year
2022-07-29 06:29:21 +02:00
Jan Eitzinger
6440b9d958
Disable lruchache handler response test
2022-06-23 09:25:07 +02:00
Jan Eitzinger
8446f6267a
Use internal lrucache
2022-06-22 06:11:00 +02:00