Commit Graph
100 Commits
Author SHA1 Message Date
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 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 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
moebiusband f58efa2871 Allow to combine job update queries 2024-09-03 13:41:00 +02:00
moebiusband 6568b6d723 Prepare transaction API for general usage 2024-09-03 13:40:11 +02:00
moebiusband 39c09f8565 Introduce job duration update task 2024-09-03 10:03:38 +02:00
moebiusband 47b14f932e Start footprint service 2024-09-02 12:07:44 +02:00
moebiusband c459724114 Resolve build errors 2024-08-30 13:50:49 +02:00
moebiusband b0c9d1164d Add initial version of footprint update service
Not tested yet
2024-08-30 07:22:40 +02:00
moebiusband 7c51d88501 Add stub for Footprint update service 2024-08-29 08:45:04 +02:00
moebiusband 5b03cf826b feat: Add total energy and energy footprint 2024-08-29 07:26:49 +02:00
moebiusband f305863616 Bugs fixed in unit tests and archiver init 2024-08-28 12:26:35 +02:00
moebiusband db5809d522 Move rest of archiveing code into new archive package 2024-08-28 11:13:54 +02:00
moebiusband e7231b0e13 Finish refactoring
Add new packages:
- metricDataDispatcher
- archiver
2024-08-28 10:03:04 +02:00
moebiusband f914a312f5 Introduce metricDataDispatcher
Does not compile yet
2024-08-27 16:44:16 +02:00
moebiusband 56ebb301ca Start to restructure
Does not compile
2024-08-27 10:14:33 +02:00
moebiusband a8a27c9b51 Add project index to job table 2024-08-19 12:11:53 +02:00
moebiusband 5e074dad10 Resolve error in migration 2024-08-15 12:39:14 +02:00
moebiusband d6a88896d0 Refactor: Reduce struct memory size 2024-08-15 12:36:21 +02:00
moebiusband 5c99f5f8bb Only add footprint columns if not 0 2024-08-15 12:35:11 +02:00
moebiusband e1faba0ff2 Update cluster json schema 2024-08-15 10:39:32 +02:00
moebiusband ba2f406bc0 Extend sqlite db migration 2024-08-15 09:41:54 +02:00
moebiusband 9b6db4684a Refactor: Remove redundant code 2024-08-15 08:53:49 +02:00
moebiusband c4d93e492b Remove bugs in main init 2024-07-20 10:03:14 +02:00
moebiusband c2f72f72ac Update go dependencies 2024-07-20 08:59:51 +02:00
moebiusband 721b6b2afa Change footprint variabel from bool to string
The footprint variable also indicates the type of statistic used now
2024-07-20 08:59:07 +02:00
moebiusband b6f011c669 Move footprint update task placeholder to taskmanager 2024-07-16 12:34:27 +02:00
moebiusband 801607fc16 Refactor main
Convert components to Singletons
Restructure main package
Reduce dependencies
2024-07-16 12:08:10 +02:00
moebiusband 01a4d33514 Refactor: Archive workers and Tasks
Work in progress
2024-07-14 11:18:38 +02:00
moebiusband e348ec74fd Fix bugs in stats.go 2024-07-12 14:08:48 +02:00
moebiusband 0458675608 Convert histogram query to json keys 2024-07-12 13:42:12 +02:00
moebiusband c61ffce0e9 Make job query on metric stats generic 2024-07-12 13:21:19 +02:00
moebiusband 68a97dc980 Add footprint to global metric list 2024-07-12 13:20:54 +02:00
moebiusband a07d167390 Fix build error with updated prometheus client 2024-07-12 09:17:31 +02:00
moebiusband 0adfb631ef Update go version to 1.22 for Github test workflow 2024-07-11 17:11:01 +02:00
moebiusband b64ce1f67f Add LowerIsBetter Metric boolean. Upgrade dependencies. 2024-07-11 16:58:12 +02:00
moebiusband e8e3b1595d Switch to Go 1.22 to get rid of global loop variable bug 2024-07-11 16:12:20 +02:00
moebiusband f1427d5272 Add global metric list including graphQL query 2024-07-11 11:09:14 +02:00
moebiusband a54acb8c42 Merge branch '264_user_api_access' into Refactor-job-footprint 2024-07-05 16:17:57 +02:00