66 Commits

Author SHA1 Message Date
moebiusband 83d04dff17 feat(auth): replace .env/godotenv secret handling with config-based secrets
Secrets (JWT keys, LDAP sync password, OIDC client id/secret, cross-login
keys) are now configured directly in config.json under the auth section
where they are used. Each secret can still be supplied via its existing
environment variable, which takes precedence over the config value.

The godotenv dependency, the .env file, configs/env-template.txt and the
loadEnvironment() bootstrap step are removed. -init now writes the demo
JWT keys into config.json instead of a .env file.

Closes #283

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Entire-Checkpoint: 3a7cb814c53f
2026-06-17 12:28:17 +02:00
Aditya Ujeniya 71fc9efec7 Add binaryCheckpointReader as utility tool 2026-03-26 17:21:23 +01:00
moebiusband 7d8b305cd9 Add format conversion to archive manager 2026-02-13 13:54:10 +01:00
moebiusband 0dff9fa07f Update docs and agent files 2026-02-10 09:17:34 +01:00
Aditya Ujeniya 1145b31a49 Updated dataGenerator.sh script 2026-02-06 18:07:32 +01:00
Aditya Ujeniya cd810b45ec Adding dataGenerator script 2026-01-23 16:51:17 +01:00
moebiusband 1d4c79c821 Unify JSON attribute naming ot use kebab style case. Cleanup configuration. 2026-01-20 09:47:13 +01:00
moebiusband 5281f3bb60 Remove obsolete config option disable-archive 2026-01-19 16:42:30 +01:00
moebiusband 754f7e16f6 Reformat with gofumpt 2026-01-13 09:52:31 +01:00
moebiusband 4cec933349 Remove obsolete cluster config section 2026-01-13 06:28:33 +01:00
moebiusband 8576ae458d Switch to cc-lib v2 2025-12-24 09:24:18 +01:00
moebiusband e707fd0893 Provide fallback in archive manager in case fd is not available 2025-12-18 11:26:05 +01:00
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