Commit Graph
100 Commits
Author SHA1 Message Date
moebiusband ca634bb707 Refactor taggers. Refine Job Hooks. Start job classifier 2025-05-22 07:10:41 +02:00
moebiusband 9abc206d1a Read in tagger config on startup. Safeguard watcher shutdown 2025-05-20 07:10:15 +02:00
moebiusband 85f17c0fd8 Refactor Tagger package. Add fsNotify Service 2025-05-19 16:08:43 +02:00
moebiusband 14bad81b9f Extend Job Hooks and add unit tests
Add job tagger control
2025-05-19 13:25:39 +02:00
moebiusband 99f8187092 Port tests to new architecture 2025-05-19 09:17:16 +02:00
moebiusband f30b784f45 Attempt to fix api test
Tests still fail
2025-05-16 17:38:00 +02:00
moebiusband f06b5f8fc0 Refactor 2025-05-16 17:37:36 +02:00
moebiusband 2e781b900d Staged error handling for job cache 2025-05-16 17:37:24 +02:00
moebiusband d76b1ae75d feat: add job commit service
Sync jobs from job cache table to main job table.
Enables #392
2025-05-16 17:36:33 +02:00
moebiusband 40110580e0 feat: add job hook support
Fixes #394
2025-05-16 17:33:44 +02:00
moebiusband eab7961a83 Introduce caching table for faster job inserts
Fixes #392
2025-05-16 17:32:19 +02:00
moebiusband 432e06e801 Add GoString method for jobmeta 2025-05-16 17:19:56 +02:00
moebiusband fe1ff5c7a3 Update tests from dev 2025-05-16 07:33:33 +02:00
moebiusband 6e66b8e08b Merge branch 'dev' into 134-job-tagging 2025-05-16 07:26:00 +02:00
moebiusband 7abdd0545e Add api for tag handling within cc-backend 2025-05-16 07:24:24 +02:00
moebiusband 13386175f5 Merge branch 'dev' into 134-job-tagging 2025-05-13 14:48:58 +02:00
moebiusband 23e8f3dc2d Port to godotenv library
Fixes #376
2025-05-13 14:46:01 +02:00
moebiusband 161f0744aa fix: enforce apiAllowedIPs config option
Fixes #385
2025-04-28 09:54:22 +02:00
moebiusband 95de9ad3b3 Merge branch 'hotfix' of github.com:ClusterCockpit/cc-backend into hotfix 2025-04-28 08:52:27 +02:00
moebiusband aba75b3a19 Remove websocket sse GraphQL support 2025-04-24 12:57:37 +02:00
moebiusband acaad69917 Prepare Bugfix Release 1.4.4 2025-04-24 11:42:34 +02:00
moebiusband 65df27154c Cleanup and regenerate Swagger docs 2025-04-24 11:14:51 +02:00
moebiusband 8dfa1957f4 Merge hotfix changes 2025-04-24 11:07:02 +02:00
moebiusband 570eba3794 Cleanup Swagger docs 2025-04-24 11:01:13 +02:00
moebiusband 94a39fc61f Readd tag endpoints 2025-04-24 10:53:55 +02:00
moebiusband 2d359e5f99 Merge rest.go 2025-04-24 10:40:03 +02:00
moebiusband 317f80a984 fix: Replace deprecated gqlgen NewDefaultServer call 2025-04-09 09:40:52 +02:00
moebiusband 28cdc1d9e5 fix: Update endpoints in Swagger UI 2025-04-09 09:13:21 +02:00
moebiusband c2087b15d5 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-04-09 07:28:02 +02:00
moebiusband a8d785beb3 Remove redundant check in auth package 2025-04-09 07:27:59 +02:00
moebiusband d6b132e3a6 Merge branch 'master' into dev 2025-03-20 12:51:23 +01:00
moebiusband 0e27ae7795 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-03-14 10:52:39 +01:00
moebiusband 33c6cdb9fe Update test workflow 2025-03-14 10:52:27 +01:00
moebiusband 25aaf55b93 Add feature to Releasenotes 2025-03-14 10:06:25 +01:00
moebiusband 6a7546c43b Clarify header for breaking changes 2025-03-14 10:03:53 +01:00
moebiusband 0adda4bf7b Merge branch 'master' into hotfix 2025-03-14 10:00:29 +01:00
moebiusband c661baf058 Load new default metrics config from working directory 2025-02-28 14:36:19 +01:00
moebiusband 6268dffff8 Readd time pkg after fixing merge conflict 2025-02-28 09:20:05 +01:00
moebiusband c10737bfd7 Merge branch 'master' into dev 2025-02-28 09:17:39 +01:00
moebiusband 632b9fc5ea Prepare Bugfix release 1.4.3 2025-02-26 12:54:50 +01:00
moebiusband 702591b4ec Merge branch 'master' into hotfix 2025-02-26 11:42:01 +01:00
moebiusband 5266644725 Merge branch 'master' into dev 2025-01-28 14:21:16 +01:00
moebiusband 81d9e96552 Upgrade golang version 2025-01-28 14:17:28 +01:00
moebiusband 0033e9f6c0 Regenerate GraphQL adapter 2025-01-28 13:51:12 +01:00
moebiusband 571652c314 Merge branch 'dev' into add_detailed_nodelist 2025-01-28 13:47:22 +01:00
moebiusband 2a5c525193 Merge branch 'hotfix' of github.com:ClusterCockpit/cc-backend into hotfix 2024-12-19 11:12:50 +01:00
moebiusband 9e2d981c60 Add notice about footprint to ReleaseNotes 2024-12-19 11:12:40 +01:00
moebiusband 48e95fbdb0 Prepare release 1.4.2 2024-12-19 06:34:35 +01:00
moebiusband fd94d85edf Compute duration for running jobs on the fly 2024-12-19 06:24:08 +01:00
moebiusband f2d1a85afb Reformat json schema files 2024-12-19 06:14:35 +01:00
moebiusband 0bdbcb8bab Use persisted duration for running jobs
Fixes #318
2024-12-19 05:55:31 +01:00
moebiusband bc89025924 Revert to blocking startJob REST api
Fixes #316
2024-12-18 11:45:56 +01:00
moebiusband 212c45e070 Prepare bug fix release 1.4.1 2024-12-10 16:45:05 +01:00
moebiusband 143fa9b6ed Merge branch 'hotfix' of github.com:ClusterCockpit/cc-backend into hotfix 2024-12-10 16:36:22 +01:00
moebiusband 4849928288 Rename old column name for user
Fixes #314
2024-12-10 16:35:43 +01:00
moebiusband 0bbedd1600 Remove obsolete archive migration from build list 2024-12-05 10:41:54 +01:00
moebiusband 010c903c74 Add known issues section to release notes 2024-12-05 08:35:10 +01:00
moebiusband e4d12e3537 Merge branch 'master' into hotfix 2024-12-05 07:50:48 +01:00
moebiusband 051cc8384e Merge branch 'hotfix' of github.com:ClusterCockpit/cc-backend into hotfix 2024-12-05 07:50:38 +01:00
moebiusband 49a94170d2 Add Fixme note for Energy calculation 2024-12-05 07:49:52 +01:00
moebiusband 9de5879786 Prepare release v1.4.0 2024-12-03 09:01:21 +01:00
moebiusband 3ac3415178 Mark new ui options as required 2024-12-03 07:41:23 +01:00
moebiusband 1aae1c59d0 Make continous scroll the default 2024-12-03 07:27:10 +01:00
moebiusband 907e80a01c Update config json schema
Fixes #256
2024-12-03 07:26:36 +01:00
moebiusband 5766945006 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2024-11-28 17:12:21 +01:00
moebiusband a53d473b58 Update subcluster-generate Perl Skript
Fixes #278
2024-11-28 17:12:05 +01:00
moebiusband 01b1136316 Fix Cookie settings, upgrade packages 2024-11-28 14:58:33 +01:00
moebiusband e1be6c7138 Remove UpdateEnergy from UpdateFootprint Task
Conputing total energy for running jobs does not make any sense
2024-11-26 10:49:44 +01:00
moebiusband 28539e60b0 Regenerate Swagger, fix tests, cleanup 2024-11-26 07:02:53 +01:00
moebiusband adb11b3ed0 Re-enable Footprint worker 2024-11-25 17:35:22 +01:00
moebiusband 81b8d578f2 feat: Add buffered channel with worker thread for job start API
Fixes #293
Refactoring on the way
2024-11-25 16:44:50 +01:00
moebiusband 0d923cc920 Ignore generated test artefacts 2024-11-24 07:49:26 +01:00
moebiusband c523e93564 Update to new db schema 2024-11-24 07:48:30 +01:00
moebiusband d588798ea1 Update test sqlite db 2024-11-24 07:41:39 +01:00
moebiusband a11f165f2a Cleanup 2024-11-24 07:09:31 +01:00
moebiusband ddeac6b9d9 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2024-11-21 15:54:58 +01:00
moebiusband 17906ec0eb Add down migrations for documentation 2024-11-21 15:54:46 +01:00
moebiusband a2584d6083 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2024-11-21 15:03:55 +01:00
moebiusband 35bd7739c6 fix: Replace reserved keywords in database schemas
Port migration to mariadb
2024-11-21 15:02:30 +01:00
moebiusband 7f43c88a39 Add example config for mariadb backend 2024-11-21 14:54:04 +01:00
moebiusband c093cca8b1 Update README 2024-11-16 07:45:18 +01:00
moebiusband 3ab26172c4 Port tests to new job archive version 2024-11-16 07:03:29 +01:00
moebiusband cdd45ce88b Fix importers and add Energy footprint to import 2024-11-16 06:36:55 +01:00
moebiusband 210a7d3136 Debugging initDB archive import
Footprint working
EnergyFootprint still missing
2024-11-14 19:13:07 +01:00
moebiusband 92ec64d80f Update demo config file 2024-11-14 19:10:55 +01:00
moebiusband ff37f71fdb Increase job archive required version 2024-11-14 19:10:37 +01:00
moebiusband 6056341525 Remove obsolete Archive Migration Tool 2024-11-14 19:09:56 +01:00
moebiusband 1a87ed8210 Disable UpdateFootprint service for debugging 2024-11-09 09:24:51 +01:00
moebiusband ee3710c5ed Merge branch 'master' into dev 2024-11-09 09:01:04 +01:00
moebiusband 4327c4b1f7 Start archive worker 2024-11-08 19:44:11 +01:00
moebiusband 492e56a098 Put privilege drop to previous location 2024-11-08 19:23:54 +01:00
moebiusband f0257a2784 Drop privileges after server start 2024-11-08 19:16:56 +01:00
moebiusband ec1ead89ab Switch back to previous meaning of energy metric attribute 2024-11-08 06:27:27 +01:00
moebiusband 5fa6c9db35 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2024-09-06 11:25:03 +02:00
moebiusband 5482b9be2c Add debug output 2024-09-06 11:24:54 +02:00
moebiusband 7c33dcf630 Bugfix in footprint update 2024-09-05 14:58:08 +02:00
moebiusband 5e65e21f0b Add quotes in duration query 2024-09-05 12:38:39 +02:00
moebiusband 53ca38ce53 Add debug output to duration query 2024-09-05 11:18:00 +02:00
moebiusband 508978d586 Initial attempt to update footprints in transaction 2024-09-03 15:59:01 +02:00
moebiusband e267481f71 Cleanup transaction api 2024-09-03 15:40:02 +02:00