Commit Graph

158 Commits

Author SHA1 Message Date
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
c6c217adb0 Backup commit 2023-02-28 09:33:55 +01:00
3b38d8042e Fix tests 2023-02-15 13:07:19 +01:00
033598a656 Remove loglevel notice 2023-02-15 11:50:51 +01:00
Christoph Kluge
bb9593964a Reenable formatted log methods 2023-02-09 16:24:29 +01:00
Jan Eitzinger
96ad865b53 Cleanup and linting 2023-02-09 15:43:38 +01:00
Jan Eitzinger
c123a87ece Simplify log wrapper implementation 2023-02-09 14:14:58 +01:00
Christoph Kluge
a885e69125 Adapt loglevel for logs, shorten strings, fix formats, streamline
- Switched to Warn for most errors, reduces bloat, improves log control
2023-02-01 11:58:27 +01:00
Christoph Kluge
b77bd078e5 Add log messages to error events w/o log message, primaryly error level
- "log spam" to be controlled via loglevel flag on startup
2023-01-31 18:28:44 +01:00
Christoph Kluge
bd770d0e32 Fix return error, fix wrong log path, add notice log where applicable
- Adresses issue #26
2023-01-24 12:02:29 +01:00
Christoph Kluge
79a949b55e Rework pkg/log, add 'loglevel' and 'logdate' flags, streamline
- removes some previously added manual location strings: now handled by pkg/log depending on loglevel
- kept manual string locations on fmt print functions
- add 'notice' and 'critical' loglevels
- add 'Panic' and 'Panicf' functions to log panics
- adresses issue #26
2023-01-23 18:48:06 +01:00
Christoph Kluge
24a4244f19 add more information to existing errors logs and panics
- '$ROOT/$FILE' for better localization in the code
- add text where none was given
- fix unnecessary sprintf nesting in influxv2 and prometheus metricrepo logging
2023-01-19 16:59:14 +01:00
Christoph Kluge
a39fc73345 Rerun swagger and fix typo 2022-11-30 12:40:07 +01:00
Jan Eitzinger
948da8f10b Review Sagger config. Delete Job endpoints 2022-11-11 15:26:27 +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
6200190763
Merge pull request #63 from giesselmann/fix_tag_disabled_repo
fix adding tag with disabled archive
2022-11-09 14:26:53 +01:00
Jan Eitzinger
dffd393c0d Reformatting 2022-11-09 14:05:27 +01:00
Pay Giesselmann
0de1368858 fix adding tag with disabled archive 2022-11-08 17:17:15 +01:00
Jan Eitzinger
9f9cc0c3ca Fix inconsistency in config
Fixes #60
2022-11-05 08:22:44 +01:00
Jan Eitzinger
74a8709edd Allow dash outside range of nodelist
Fixes #59
2022-11-04 07:31:36 +01:00
Michael Schwarz
f817ac5240 Accept externally generated JWTs provided via cookie
If there is an external service like an AuthAPI that can generate JWTs and
  hand them over to ClusterCockpit via cookies, CC can be configured to
  accept them
2022-10-19 13:36:13 +02: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
Jan Eitzinger
27800b651a Include lrucache external dependency 2022-06-22 05:58:03 +02:00
Jan Eitzinger
81819db436 Refactor directory structure 2022-06-21 17:52:36 +02:00