219 Commits

Author SHA1 Message Date
moebiusband 153ecb6dff Bound JWT token cache and document auth model
The per-handler JWT validation cache was never pruned, so a long-running
process accumulated one map entry per distinct rotating token, growing
without bound (a slow memory leak / DoS vector). Evict stale entries on
the cache-miss path and cap the cache at maxTokenCacheSize, clearing it
if eviction of expired tokens cannot free space.

Also document in the README that auth verifies only the token signature
and expiry (claims/roles are not enforced) and that an empty
jwt-public-key disables authentication entirely.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
v1.5.4
2026-07-13 10:44:06 +02:00
moebiusband 2bf950a746 Prepare release 1.5.4 and remove Entire CLI integration
Bump Makefile VERSION to 1.5.4 and add ReleaseNotes section for the
release. Remove the Entire CLI's Claude Code hooks/settings and its
tracked .entire config files; the corresponding git hooks and checkpoint
branches were also removed outside this commit.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-13 10:25:11 +02:00
moebiusband 5cb80a03df Update dependencies and add gofumpt Makefile target
Bump cc-backend to v1.5.4 and cc-lib to v2.12.0 with transitive
dependency updates, add a `make fmt` target running gofumpt, ignore
the dist directory, and reformat multi-line calls to gofumpt style.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Entire-Checkpoint: 09016e793f9b
2026-07-13 10:15:13 +02:00
Jan Eitzinger 8cd5cf62b4 Merge pull request #66 from ClusterCockpit/dev
Dev
v1.5.3
2026-04-01 15:52:56 +02:00
moebiusband 9f6648dd18 Upgrade dePrepare release 1.5.3
Entire-Checkpoint: 6555467af065
2026-04-01 15:50:33 +02:00
moebiusband a116a1ab16 Update dependencies. Synchronize options, cli flags with cc-backend
Entire-Checkpoint: e24929f05ad3
2026-04-01 15:37:33 +02:00
Jan Eitzinger f00277f1f3 Merge pull request #60 from ClusterCockpit/dev
Cleanup README
v1.5.0
2026-03-06 13:09:59 +01:00
moebiusband 41fb959bf7 Cleanup README 2026-03-06 12:51:14 +01:00
Jan Eitzinger b6c04e39e4 Merge pull request #59 from ClusterCockpit/dev
Upgrade dependencies
2026-03-06 12:47:31 +01:00
moebiusband 3e0805b312 Fix golreaser config 2026-03-06 12:35:41 +01:00
moebiusband bdf65b16a9 Upgrade dependencies. Prepare 1.5.0 release
Entire-Checkpoint: 37abb99fe6a7
2026-03-06 12:12:41 +01:00
moebiusband b19dcdb21c Upgrade dependencies 2026-03-06 11:49:01 +01:00
moebiusband d5c9ae9c95 Merge branch 'main' into dev 2026-03-06 11:43:14 +01:00
moebiusband b06bb58bdf Add entire integration 2026-03-06 11:43:05 +01:00
moebiusband 542f8371be Update README
Entire-Checkpoint: dd6b5959d7c6
2026-03-04 11:24:59 +01:00
moebiusband 0fa5d8bb8d Run go fix tool. Refactor 2026-03-04 11:07:05 +01:00
moebiusband 55475804f4 Update to lates cc-backend head
Entire-Checkpoint: 1f0df6df7655
2026-03-03 07:35:46 +01:00
moebiusband 3cc9420047 Merge branch 'dev' of github.com:ClusterCockpit/cc-metric-store into dev 2026-03-03 07:14:15 +01:00
moebiusband b764120501 Integrate entire. Upgrade dependencies 2026-03-03 07:13:15 +01:00
Christoph Kluge 4de275ac92 fix error conditional 2026-03-02 16:04:23 +01:00
Aditya Ujeniya ef3504dcd8 Update to the error handling 2026-03-02 13:37:35 +01:00
Aditya Ujeniya 37a8706270 Bump 2026-02-16 16:57:46 +01:00
Aditya Ujeniya fc4ae14e4e Bringing back GOGC for syncPool 2026-02-15 21:50:03 +01:00
Aditya Ujeniya be6d4be9b9 Fix healthcheck api 2026-02-15 21:45:45 +01:00
Jan Eitzinger 7d6455d6fd Merge pull request #55 from ClusterCockpit/dependabot/go_modules/github.com/google/gops-0.3.29
Bump github.com/google/gops from 0.3.28 to 0.3.29
2026-02-03 06:26:04 +01:00
dependabot[bot] fd4ec39504 Bump github.com/google/gops from 0.3.28 to 0.3.29
Bumps [github.com/google/gops](https://github.com/google/gops) from 0.3.28 to 0.3.29.
- [Release notes](https://github.com/google/gops/releases)
- [Commits](https://github.com/google/gops/compare/v0.3.28...v0.3.29)

---
updated-dependencies:
- dependency-name: github.com/google/gops
  dependency-version: 0.3.29
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-28 12:00:07 +00:00
moebiusband dd23f49364 Add configuration options and enable dynamic memory management through cc-backend callback 2026-01-28 12:59:05 +01:00
moebiusband 28f5ffe9c4 Adapt metricConfigSchema to match metricConfigJSON struct
Schema now validates a map of metric names to objects with frequency
(integer) and aggregation (string) fields.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:53:34 +01:00
moebiusband fe40326723 Adapt configSchema to match Config struct
Remove cc-backend fields that don't exist in this project and add
missing fields (debug object with dump-to-file/gops, jwt-public-key).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:50:16 +01:00
moebiusband b7d4f60358 Simplify startup code 2026-01-26 10:28:20 +01:00
moebiusband 6aca448c18 Port to newest cclib. Use metricstore as library. 2026-01-26 09:59:29 +01:00
Thomas Gruber ede0cb10c9 Merge pull request #52 from ClusterCockpit/dependabot/go_modules/github.com/nats-io/nats.go-1.47.0
Bump github.com/nats-io/nats.go from 1.36.0 to 1.47.0
2025-10-20 23:50:04 +02:00
dependabot[bot] 5be7578bda Bump github.com/nats-io/nats.go from 1.36.0 to 1.47.0
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.36.0 to 1.47.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.36.0...v1.47.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-version: 1.47.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 13:35:43 +00:00
Thomas Gruber d8f044144e Create dependabot.yml 2025-07-03 14:42:15 +02:00
Christoph Kluge a868d99609 add error messages 2025-07-03 10:32:05 +02:00
Jan Eitzinger 018daa634c Merge pull request #42 from ClusterCockpit/devel
Devel
2025-07-02 09:48:45 +02:00
Jan Eitzinger c3f6b9e33e Merge pull request #41 from ClusterCockpit/avro
Avro
2025-07-02 09:39:49 +02:00
Aditya Ujeniya 3d768ec8a0 Deflate compression to avro writer 2025-05-29 18:38:20 +02:00
Aditya Ujeniya d00bfc6b9c Fix to avro reader 2025-05-27 14:21:10 +02:00
Aditya Ujeniya 0fe634ec45 Fix to bugs for data consistency 2025-05-27 10:45:09 +02:00
Aditya Ujeniya aa0a3673f2 Fix to Avro features 2025-05-25 19:44:21 +02:00
Aditya Ujeniya 968940da1f Initial avro reader complete 2025-05-19 09:28:30 +02:00
Aditya Ujeniya 8098417f78 fix and support for avro shutdown writer 2025-05-16 18:02:44 +02:00
Aditya Ujeniya 06f2f06bdb Fix for multi resolution avro checkpointing 2025-05-15 11:03:31 +02:00
Aditya Ujeniya 5569ad53d2 fix to Avro writer special cases 2025-05-14 17:29:28 +02:00
Aditya Ujeniya a03eb315f5 AvroWriter advanced cases 2025-05-14 12:24:58 +02:00
Thomas Gruber 28fd7edc89 Fix subtype -> stype in lineprotocol.go 2025-05-08 18:01:02 +02:00
Aditya Ujeniya b53832a055 Initial commit for staging changes 2025-04-17 09:55:09 +02:00
adityauj e1c5ded933 Merge pull request #40 from ClusterCockpit/devel
Making branches on par
2025-04-17 09:51:05 +02:00
adityauj 2332c13a9f Merge pull request #39 from ClusterCockpit/main
Merging main into devel for
2025-04-17 09:49:31 +02:00