Commit Graph
100 Commits
Author SHA1 Message Date
moebiusband 8f4ef1e274 Refactor repository
Fix issues
Improve transaction API
Make hardcoded constants configurable
Make error messages consistent and always add context info
2025-11-20 06:58:45 +01:00
moebiusband e1c7583670 Add sqlite and s3 job archive backend
Add documentation
Extend config
2025-11-19 17:00:11 +01:00
moebiusband 39a2157d46 Refactor tagger package
Fix issues
Add documentation
Add unit tests
2025-11-19 16:58:48 +01:00
moebiusband dd63e7157a Refactor memorystore
Fix issues
Add unit test
Add documentation
2025-11-19 16:58:02 +01:00
moebiusband 340efd7926 Refactor auth package
Fix security issues
Remove redundant code
Add documentation
Add units tests
2025-11-19 16:54:01 +01:00
moebiusband ecc6194b57 Refactor main package
Fix issues.
Break down main routine.
Add documentation.
Remove globals.
2025-11-19 16:53:04 +01:00
moebiusband 8555a88202 Upgrade dependencies. Regenerate GraphQL API. 2025-10-29 08:55:06 +01:00
moebiusband bc43c844fc Fix memoryStore Init and move MetricConfig init 2025-10-20 10:22:40 +02:00
moebiusband 67be9aa27b Refactor
Port logging to cclog, use loglevels
Separate REST API from pkg API
2025-10-19 09:33:40 +02:00
moebiusband 047b997a22 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-10-18 08:30:47 +02:00
moebiusband bac51891b7 Move avro into memorystore. Refactor
Does not compile
2025-10-18 08:30:42 +02:00
moebiusband 6efd6334bb Fix unit tests 2025-10-17 07:06:31 +02:00
moebiusband 91f4475d76 Update test db 2025-10-17 07:05:45 +02:00
moebiusband 440cd59e50 Revert hpc_cluster to cluster. Refactor. 2025-10-16 14:32:06 +02:00
moebiusband eefb6f6265 Cleanup after merge 2025-10-16 13:21:22 +02:00
moebiusband f5e1226837 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-10-16 13:01:35 +02:00
moebiusband 151f7e701f Disable userConfig unit test 2025-10-16 12:54:29 +02:00
moebiusband 40398497c2 Update Node table code. Add simple unit test 2025-10-16 12:54:16 +02:00
moebiusband 89055506d6 Revert changes to ui config init 2025-10-15 08:54:16 +02:00
moebiusband 3d38d78845 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-10-13 16:13:53 +02:00
moebiusband 600f19ac80 Sync commit
Does not work yet
2025-10-13 16:12:02 +02:00
moebiusband 9485a463b8 Refactor node repository 2025-09-30 10:07:07 +02:00
moebiusband 35c6ab4a08 Ongoing work on node table
Sync commit: Does not compile
2025-09-30 10:06:19 +02:00
moebiusband e58b0fa015 Add ui config tests and fix bugs 2025-09-30 09:01:54 +02:00
moebiusband beb92967e5 Update nodestate API and db adapter 2025-09-28 08:26:44 +02:00
moebiusband 015583f1cd Add incremental configuration 2025-09-28 08:26:18 +02:00
moebiusband d40c54b802 Refactor 2025-09-28 08:24:41 +02:00
moebiusband 647665b6b9 Refactor 2025-09-28 08:24:12 +02:00
moebiusband 4fc78bc382 Refactor variable namings and doc comments 2025-09-27 09:27:36 +02:00
moebiusband 50d000e7e2 Implement UI config handling 2025-09-27 09:26:42 +02:00
moebiusband 9020613a8b Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-09-10 15:14:40 +02:00
moebiusband be92d5943d Decrease verbosity in jobcache sync task 2025-09-10 15:13:53 +02:00
moebiusband 7948d5f773 Use different demo job-archive for dev branch 2025-09-10 10:34:11 +02:00
moebiusband 79605c8a9e Update test pipeline to go 1.25 2025-09-10 09:08:32 +02:00
moebiusband 55ca892f90 Merge branch 'metricstore' of github.com:ClusterCockpit/cc-backend into metricstore 2025-09-09 15:04:33 +02:00
moebiusband eaca187032 Fix testdata for new schema 2025-09-09 15:04:25 +02:00
moebiusband d00881de2e Refactor and update dependencies 2025-09-09 11:36:02 +02:00
moebiusband d8e85cf75d Fix migration 2025-09-09 11:35:34 +02:00
moebiusband 39f21763e4 Revert test database 2025-09-09 11:30:20 +02:00
moebiusband a50b832c2a Import metric store packages 2025-08-08 14:24:52 +02:00
moebiusband 86453e7e11 Port to new job structs
Backup commit: Does not build.
2025-08-05 10:23:54 +02:00
moebiusband 44cd8d258d Fix and regenerate Swagger and GraphQL 2025-07-31 12:10:46 +02:00
moebiusband 764b65d094 Add timestamp column to node table 2025-07-31 12:10:01 +02:00
moebiusband ab1ddb7bd1 Refactor 2025-07-07 14:29:06 +02:00
moebiusband 881f2f32f4 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-07-07 13:09:16 +02:00
moebiusband 0754ba5292 Port configuration to ccConfig scheme
Decentralize config validation
Modularize configuration handling
2025-07-07 13:09:12 +02:00
moebiusband dd48f5ab87 fix: Optimize sqlite settings 2025-07-02 09:12:07 +02:00
moebiusband 4bd73450b5 Temporary disable archive clean test 2025-06-30 13:00:07 +02:00
moebiusband 64da28e814 Merge branch 'dev' into port-to-cclib 2025-06-30 12:09:28 +02:00
moebiusband 639e1b9c6d Port to cc-lib. Extend legal header. 2025-06-30 12:06:35 +02:00
moebiusband 544fb35121 Merge branch 'dev' into port-to-cclib 2025-06-27 14:15:38 +02:00
moebiusband 43edccb284 Add enable jobtagger options. Reformat. 2025-06-27 14:11:37 +02:00
moebiusband 7531ba4b5c Refine app detection
Switch to regexp
2025-06-27 14:11:10 +02:00
moebiusband 983aa592d8 refine highload rule 2025-06-27 12:16:17 +02:00
moebiusband 8378784231 Enclose terms by spaces in app detection 2025-06-27 12:16:06 +02:00
moebiusband dca25cc601 Saveguard changes to archive 2025-06-27 12:15:42 +02:00
moebiusband c0a4724f57 Add matlab app type and fix tests 2025-06-27 11:31:43 +02:00
moebiusband 484c52d813 Also update job archive on tag deletion 2025-06-27 11:20:22 +02:00
moebiusband e2e67e3977 Merge branch 'migrate_svelte5' into dev 2025-06-24 06:53:18 +02:00
moebiusband 6c06450701 Add more tagger rules 2025-06-24 06:52:21 +02:00
moebiusband 6f3e1ffbe3 Add ressource ounts to node table 2025-06-18 13:02:11 +02:00
moebiusband 82af984023 Implement part of Node query GraphQL callbacks 2025-06-06 17:32:09 +02:00
moebiusband 0373010497 Refactor and fix tagger test 2025-06-06 16:41:48 +02:00
moebiusband 87c93e90cd Implement node query 2025-06-06 16:04:53 +02:00
moebiusband 3d6dca9386 Add more apps for tagger 2025-06-06 16:04:37 +02:00
moebiusband 249128e011 Cleanup. Re-generate Swagger 2025-06-06 06:30:40 +02:00
moebiusband ca16a80b1f Add info logging to node repo 2025-06-06 06:12:02 +02:00
moebiusband 9cd4b3c1cc Convert to all lower case 2025-06-05 16:20:48 +02:00
moebiusband 1d9aa75960 Add determine nodestate routine 2025-06-05 16:15:40 +02:00
moebiusband 3b5d3d671e Refactor 2025-06-05 14:27:26 +02:00
moebiusband 7db83d216e Start implementing nodestate rest api 2025-06-05 14:27:21 +02:00
moebiusband d1a7002422 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-06-05 13:23:39 +02:00
moebiusband 1d8e7e072f Refactor rest api 2025-06-05 13:23:36 +02:00
moebiusband 7466fe7a34 Update GraphQL schema. Refactor node repository 2025-06-05 13:17:24 +02:00
moebiusband 6f9737c2c2 Add node repository, extend GraphQL API
Sync commit.
2025-06-04 13:44:37 +02:00
moebiusband 8b1b99ba35 feat: Add requested memory to job meta data
Fixes #110
2025-06-03 07:16:19 +02:00
moebiusband 2c102cd1ff Fix error in node table migration 2025-06-03 06:55:49 +02:00
moebiusband 4dc0da5099 Add node table schema 2025-06-02 12:07:01 +02:00
moebiusband 1bad6ba065 Regenerate GraphQL interface 2025-05-28 16:00:47 +02:00
moebiusband 3efee22536 Remove jobMeta and use job struct everywhere 2025-05-28 15:59:21 +02:00
moebiusband eef48ac3a3 Small fix in highload rule 2025-05-28 14:33:52 +02:00
moebiusband e35cfbc3dd Refactor 2025-05-28 14:32:56 +02:00
moebiusband 4a5fd96b32 Adapt job class rules 2025-05-28 14:32:49 +02:00
moebiusband cdfe722457 Include metric thresholds in rule environment
Not yet tested
2025-05-27 13:02:13 +02:00
moebiusband 0aecea6de2 Refactor. Add Subcluster get metric list helper routine. 2025-05-27 09:23:28 +02:00
moebiusband 5a88c77171 Remove debug output 2025-05-26 14:42:41 +02:00
moebiusband 8003217092 Add string to gromacs app file 2025-05-26 14:41:02 +02:00
moebiusband 9b325041c1 Fix typo in jobCache columns 2025-05-26 14:30:30 +02:00
moebiusband 1e7fbe5d56 Refactor 2025-05-26 13:40:34 +02:00
moebiusband 0261c263f9 Add hint message only if rule matches 2025-05-26 13:36:23 +02:00
moebiusband 8d6ae85b0d Fix bug with job columns 2025-05-26 13:26:18 +02:00
moebiusband f14bdb3068 Fix bugs in job classifier and tagger infrastructure 2025-05-26 13:08:03 +02:00
moebiusband 3c66840f95 Add tagger config option and command line switch to run taggers on all jobs 2025-05-23 10:13:59 +02:00
moebiusband 733e3ea9d5 Revert interface from jobMeta to job type. Extend job classifier tagger. Cleanup test rules. 2025-05-23 07:48:27 +02:00
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