Commit Graph
100 Commits
Author SHA1 Message Date
moebiusband 155e05495e Fix shutdown timout bug 2026-01-15 13:29:19 +01:00
moebiusband 9c92a7796b Introduce nodeprovider interface to break import cycle 2026-01-15 12:20:11 +01:00
moebiusband 7c78407c49 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-01-15 11:34:09 +01:00
moebiusband cb219b3c74 Fix configuration issues. Fix shutdown hangs
Always turn on compression
2026-01-15 11:34:06 +01:00
moebiusband d59aa2e855 Restructure configuration with sensible defaults. Fix shutdown hangs 2026-01-15 11:33:01 +01:00
moebiusband e1efc68476 Update dependencies. Rebuild graphql and swagger 2026-01-15 08:32:06 +01:00
moebiusband 8f0bb907ff Improve documentation and add more tests 2026-01-15 06:41:23 +01:00
moebiusband 9c3beddf54 Improve documentation 2026-01-14 15:39:38 +01:00
moebiusband c6465ad9e5 Add s3 configuration options 2026-01-14 15:28:34 +01:00
moebiusband d415381d4a Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-01-14 15:10:25 +01:00
moebiusband 211d4fae54 Refactor s3 backend and suppress checksum warning 2026-01-14 15:10:20 +01:00
moebiusband c8627a13f4 Remove obsolete slusters config section 2026-01-14 11:17:49 +01:00
moebiusband 0ea0270fe1 Reintroduce Clusters as string list of cluster names 2026-01-14 10:37:07 +01:00
moebiusband 19402d30af Review and improve error messages and doc comments 2026-01-14 10:09:19 +01:00
moebiusband b2f870e3c0 Convert nodestate nats API to influx line protocol payload. Review and add doc comments.
Improve and extend tests
2026-01-14 10:08:06 +01:00
moebiusband 9e542dc200 Review and improve, add documentation 2026-01-14 09:26:03 +01:00
moebiusband 6cf59043a3 Review and improve, add documentation 2026-01-14 08:59:27 +01:00
moebiusband 71b75eea0e Improve GetUsedNodes function 2026-01-14 08:49:55 +01:00
moebiusband e900a686db Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2026-01-14 07:38:04 +01:00
moebiusband fb8db3c3ae Add query which node metric data needs to be retained 2026-01-14 07:37:31 +01:00
moebiusband 25c8fca561 Revert retention config in metricstore 2026-01-13 14:42:24 +01:00
moebiusband 754f7e16f6 Reformat with gofumpt 2026-01-13 09:52:31 +01:00
moebiusband 04a2e460ae Refactor metricstore. Initial stub for cluster/ subcluster specific retention times 2026-01-13 09:52:00 +01:00
moebiusband 2ebab1e2e2 Reformat with gofumpt 2026-01-13 09:50:57 +01:00
moebiusband a9366d14c6 Add README for tagging. Enable tagging by flag without configuration option 2026-01-13 08:32:32 +01:00
moebiusband 42809e3f75 Remove embedded tagger rules 2026-01-13 07:20:26 +01:00
moebiusband 4cec933349 Remove obsolete cluster config section 2026-01-13 06:28:33 +01:00
moebiusband d3f3c532b1 Merge branch 'master' into dev 2026-01-12 11:18:56 +01:00
moebiusband ad1e87d0b8 Disable dependabot alerts 2026-01-12 11:17:44 +01:00
moebiusband f1367f84f8 Merge branch 'master' into dev 2026-01-12 09:14:45 +01:00
moebiusband 56399523d7 Update module deps 2026-01-12 09:00:06 +01:00
moebiusband 4d6326b8be Remove metricsync 2026-01-12 08:55:31 +01:00
moebiusband ecb5aef735 Fix build error in unit test 2025-12-25 08:48:03 +01:00
moebiusband 11ec2267da Major refactor of metric data handling
- make the  internal memory store required and default
- Rename memorystore to metricstore
- Rename metricDataDispatcher to metricdispatch
- Remove metricdata package
- Introduce metricsync package for upstream metric data pull
2025-12-25 08:42:54 +01:00
moebiusband 8576ae458d Switch to cc-lib v2 2025-12-24 09:24:18 +01:00
moebiusband 9bf5c5dc1a Update README and config schema 2025-12-23 09:34:09 +01:00
moebiusband 64fef9774c Add unit test for NATS API 2025-12-23 09:22:57 +01:00
moebiusband 999667ec0c Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-12-23 07:56:16 +01:00
moebiusband c1135531ba Port NATS api to ccMessages 2025-12-23 07:56:13 +01:00
moebiusband 287256e5f1 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-12-23 05:56:49 +01:00
moebiusband 0bc26aa194 Add error check 2025-12-23 05:56:46 +01:00
moebiusband 1cd4a57bd3 Remove support for mysql/mariadb 2025-12-20 11:13:41 +01:00
moebiusband b35172e2f7 Add context information for CLAUDE coding agent 2025-12-20 11:13:02 +01:00
moebiusbandandClaude Sonnet 4.5 3cfcd30128 Add CLAUDE.md documentation for Claude Code
Provides architecture overview, build commands, and development workflows
to help future Claude Code instances work productively in this codebase.
Includes guidance on GraphQL/REST API patterns, database migrations, and
the repository/metric data architecture.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-20 10:17:54 +01:00
moebiusband e56532e5c8 Add example json API payloads 2025-12-20 09:35:54 +01:00
moebiusband fdee4f8938 Integrate NATS API.
Only start either REST start/stop API or NATS start/stop API
2025-12-20 09:21:58 +01:00
moebiusband 06ed056d43 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-12-18 15:47:53 +01:00
moebiusband d446c13546 Restore startDemo script 2025-12-18 15:47:51 +01:00
moebiusband 6e74fa294a Add role-based visibility for metrics
Fixes #387
2025-12-18 15:47:30 +01:00
moebiusband e707fd0893 Provide fallback in archive manager in case fd is not available 2025-12-18 11:26:05 +01:00
moebiusband b8fdfc30c0 Fix performance bugs in sqlite archive backend 2025-12-17 10:12:49 +01:00
moebiusband 79a2ca8ae8 Adapt unit test to new API 2025-12-17 08:44:37 +01:00
moebiusband d1a78c13a4 Make loglevel info default for demo 2025-12-17 08:38:14 +01:00
moebiusband f4b00e9de1 Use Info instead of warn loglevel for database file missing msg 2025-12-17 08:38:00 +01:00
moebiusband 0a5e155096 Remove debug setting 2025-12-17 07:03:10 +01:00
moebiusband 4ecc050c4c Fix deadlock if NATS is not configured 2025-12-17 07:03:01 +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 d30c6ef3bf Make NATS API subjects configurable 2025-12-17 06:08:09 +01:00
moebiusband 0419fec810 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-12-17 05:46:10 +01:00
moebiusband 43e5fd1131 Add NATS API backend 2025-12-17 05:44:49 +01:00
moebiusband 5e2cbd75fa Review and refactor 2025-12-16 09:45:48 +01:00
moebiusband 14f1192ccb Introduce central nats client 2025-12-16 09:35:33 +01:00
moebiusband 72b2560ecf Add progress bar for import function 2025-12-16 09:11:26 +01:00
moebiusband 7fce6fa401 Parallelize the Iter function in all archive backends 2025-12-16 09:11:09 +01:00
moebiusband e6286768a7 Refactor variabel naming and update doc comments 2025-12-16 08:56:48 +01:00
moebiusband 0306723307 Introduce transparent compression for importJob function in all archive backends 2025-12-16 08:55:31 +01:00
moebiusband 6f49998ad3 Switch to new go tool pattern for external tool deps 2025-12-16 08:49:17 +01:00
moebiusband 457c944ec6 Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-12-15 21:25:32 +01:00
moebiusband 33c38f9464 Fix start time in tasks 2025-12-15 21:25:30 +01:00
moebiusband 46351389b6 Add ai agent guidelines 2025-12-15 21:25:00 +01:00
moebiusband d567a5312e Add flag omitTagged to DeleteJobsBefore
Fixes #344
2025-12-15 14:38:46 +01:00
moebiusband 97a322354f Refactor 2025-12-15 14:06:33 +01:00
moebiusband 554527445b Merge branch 'master' into dev 2025-12-15 13:56:41 +01:00
moebiusband 987cc40318 Refactor 2025-12-15 13:50:05 +01:00
moebiusband 104fd1576a Refactor 2025-12-15 13:44:50 +01:00
moebiusband 72ce3954b4 feat: Add omitTagged flag for retention services
Fixes #344
2025-12-15 13:44:17 +01:00
moebiusband cfa7461855 Refactor 2025-12-15 13:25:41 +01:00
moebiusband 44cda8a232 Add flag to obmit tagged jobs from TestFindJobsBetween 2025-12-15 13:25:22 +01:00
moebiusband cf119e6843 Also initialize job-archive on init flag
Fixes #378
2025-12-15 12:59:12 +01:00
moebiusband d7d81e352d Update cc-lib to v1.0.0 and fix bug in init 2025-12-15 12:20:42 +01:00
moebiusband 078c608bda Merge branch 'dev' of github.com:ClusterCockpit/cc-backend into dev 2025-12-15 11:25:44 +01:00
moebiusband f2e57f9edd Update gitignore 2025-12-15 11:25:42 +01:00
moebiusband 5698d5216f Reformat 2025-12-15 11:24:56 +01:00
moebiusband 10aa2bfbd3 Add support for ClusterConfig 2025-12-15 11:24:12 +01:00
moebiusband 6cfed989ff Fix bugs in sqlite backend 2025-12-15 11:23:53 +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 d24d85b970 Adapt tests to new API 2025-12-11 09:39:38 +01:00
moebiusband 8d44ac90ad Fix: Busywait loop in archiver and slow shutdown
Remove unblocking default in select
Add shutdown handler with context and timeout
2025-12-11 09:29:10 +01:00
moebiusband 6325793902 Add check in initDB importer if jobMeta is nil 2025-12-04 15:38:21 +01:00
moebiusband 03b5272e44 Upgrade to latest cc-lib 2025-12-04 15:08:22 +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 7cff8bbfd2 Add documentation for importer 2025-12-04 15:07:09 +01:00
moebiusband f3ea95535b Remove init functionlity from Makefile 2025-12-04 10:24:33 +01:00
moebiusband b9b84b7971 Use --init flag in startDemo script 2025-12-04 07:43:55 +01:00
moebiusband be7340ca30 archive-migration leanup and fix path in README.md 2025-12-04 07:43:26 +01:00
moebiusband 881c4566dd Reformat and remove optional ui-config 2025-12-04 07:42:55 +01:00
moebiusband 7efbb0217f Update config for ccbackend --init 2025-12-04 07:42:26 +01:00
moebiusband 9e2ce39cde Update startDemo script 2025-12-04 07:03:01 +01:00
moebiusband 6aa830adb6 Merge dependabot and upgrade dependencies 2025-12-04 06:34:40 +01:00