Commit Graph

54 Commits

Author SHA1 Message Date
moebiusband 79a2ca8ae8 Adapt unit test to new API 2025-12-17 08:44:37 +01:00
moebiusband 88dc5036b3 Make import function interuptible and replace countJobs with external call to fd 2025-12-17 06:32:53 +01:00
moebiusband 72b2560ecf Add progress bar for import function 2025-12-16 09:11:26 +01:00
moebiusband ab70acd582 Also import ClusterConfigs 2025-12-15 11:20:49 +01:00
moebiusband f13be109c2 Fix: Replace all Printf log messages with appropriate loglevels 2025-12-11 11:20:11 +01:00
moebiusband 7da01975f7 archive-migration: Add check for archive version and rewrite version after migration 2025-12-04 15:08:03 +01:00
moebiusband be7340ca30 archive-migration leanup and fix path in README.md 2025-12-04 07:43:26 +01:00
moebiusband c76e9bb3fe Fix error in unit test 2025-12-04 06:20:45 +01:00
moebiusband 2333068de7 Add tools for archive manager and archive-migration
Needs testing and review
2025-12-03 14:55:22 +01:00
moebiusband d0e1b7186c Add perl script for CC logfile analysis 2025-11-20 07:51:33 +01:00
moebiusband 0754ba5292 Port configuration to ccConfig scheme
Decentralize config validation
Modularize configuration handling
2025-07-07 13:09:12 +02:00
moebiusband 639e1b9c6d Port to cc-lib. Extend legal header. 2025-06-30 12:06:35 +02:00
Christoph Kluge bd0cc69668 Review fatalf log calls and messages 2025-02-27 18:10:04 +01:00
moebiusband 6056341525 Remove obsolete Archive Migration Tool 2024-11-14 19:09:56 +01:00
moebiusband fb8bbea99d Remove year in copyright notice 2024-04-11 23:04:30 +02:00
moebiusband 5c79f44055 Clarify functionality of gen-keypair tool 2024-03-22 08:59:59 +01:00
moebiusband 24678ff952 Rename convert pubkey folder 2023-06-26 12:47:21 +02:00
moebiusband d4a26e71cd Introduce debug mode 2023-06-12 14:44:54 +02:00
Michael Schwarz c274e979f4 Skip files with size of 0 Bytes 2023-06-12 09:10:04 +02:00
moebiusband 6731b8b1e0 Add clean functionality to archive manager 2023-05-15 15:38:18 +02:00
moebiusband 1ae34c5e10 Extend archive manager 2023-05-15 14:32:23 +02:00
moebiusband 09d30d0ead Correct flag help 2023-05-09 09:33:51 +02:00
moebiusband 50cf2f57d1 Upgrade cc-units 2023-05-04 17:20:33 +02:00
moebiusband d9b18d1763 Cleanup
Use external cc-units
Lint code
Fix import tests
2023-05-04 15:34:36 +02:00
moebiusband dce02ab1e0 Revert optional pointer attributes 2023-05-04 07:00:47 +02:00
moebiusband 5a09277d1c Restructure black box test
Remove string ptr from unit prefix
2023-04-25 09:26:48 +02:00
Jan Eitzinger 93f34c7d9e Fix bug in tools related to log init 2023-04-12 12:27:15 +02:00
Jan Eitzinger 129dd13fc8 Fix merge errors 2023-04-11 16:26:09 +02:00
Jan Eitzinger f8ba79e9e7 Merge branch 'master' into import-data-sanitation 2023-04-07 08:57:42 +02:00
Jan Eitzinger d858868901 Fine tune schema and job archive migration 2023-04-06 18:09:36 +02:00
Jan Eitzinger 6661937fed Adapt schema and fix bugs in migration 2023-04-05 15:55:04 +02:00
Jan Eitzinger 559445900d Adapt job iterator
* Add option to also load Job Metric Data
* Validate Job Metric Data
* Allow null values in series array
2023-03-31 15:28:35 +02:00
Jan Eitzinger bfee9d847b Fix copy and paste error 2023-03-31 12:33:14 +02:00
Jan Eitzinger eb2e2cb1d2 Implement tool to validate archive 2023-03-31 11:25:12 +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 f16d99ef71 Use filepath.Join instead of Sprintf 2023-03-27 15:34:56 +02:00
moebiusband 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 465d5c0186 Rename archive tools 2023-03-24 16:24:06 +01:00
moebiusband 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
moebiusband 5d526e1168 Adapt Cluster schema
Add remove boolean to subClusterConfig in MetricList.
Fix Linter errors.
2023-03-21 11:51:11 +01:00
Jan Eitzinger d2b97c9e2f Continue with job-archive migration 2023-03-10 12:14:33 +01:00
moebiusband 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 70b39730d2 Add skeleton for job archive conversion tool 2022-11-10 07:35:38 +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 02732cbbce Move additional tools to tools directory 2022-09-19 16:16:33 +02:00