Commit Graph
32 Commits
Author SHA1 Message Date
komissarovyv 45d7ea443f Show module leader flag in the observation API 2026-11-18 21:59:30 +03:00
Hermes Agent c464393e93 Drop link self-healing paths, fix linter findings
- Remove link resync on module reconnect, link resave on no-op config
  update, and link backfill on variable create/upsert: links are
  formed only on config save
- Disable exhaustruct_v5 and goconst linters
- Fix golangci-lint findings: noinlineerr, slices.Backward,
  wrapcheck for ConfigValidationError (errors.As in controller keeps
  working via %w), funlen nolint on acceptance test
2026-10-28 11:22:59 +03:00
Hermes Agent 7f4e3ef028 Fix variable links not persisted when variable is used multiple times in config
- Dedupe extracted variable names (duplicate INSERTs aborted the
  config_has_variable transaction on PK conflict)
- Check per-statement rqlite errors in ExecTransaction: a failed
  statement silently returned success before
- Make link upserts idempotent (insert or ignore) and add link
  backfill on variable create/upsert from existing configs
- Validate config variables before insert (no orphaned configs)
- Resync active config links on module reconnect and on no-op
  config update (self-healing)
2026-10-28 10:34:45 +03:00
Синельник Тимур Романович 5bdb4813b5 MSP-8394 Guard returning errors.WithMessage with err != nil check 2026-09-25 14:08:18 +03:00
Синельник Тимур Романович 428de36857 MSP-8394 Up deps & use isp-kit/errors 2026-09-25 13:45:02 +03:00
nglmq fa327ecf5c MSP-7572 edit go version in Dockerfiles 2026-04-22 12:36:48 +03:00
nglmq 6c3e8a632e MSP-7572 linter fixes 2026-04-21 12:35:50 +03:00
nglmq 7f4a1c8131 MSP-7572 new andpoint for required modules 2026-04-21 11:57:00 +03:00
Синельник Тимур Романович c295bda53b MSP-7042 Up deps & support http methods and transport 2026-02-11 16:13:03 +03:00
Синельник Тимур Романович 9ebf03a15a MSP-6930 Add /schema/update_by_module_name endpoint 2025-12-18 12:12:22 +03:00
likhachevam 8ef12f8b11 MSP-6459 update /purge_version endpoint 2025-10-07 17:27:58 +03:00
likhachevam 6a36603b5d MSP-6459 add PurgeConfigVersions endpoint 2025-10-07 16:46:18 +03:00
Кузнецов Иван Александрович 3c19a8d532 MSP-5223 update response CreateUpdateConfig: add IsChanged field 2025-04-16 16:05:17 +03:00
Кузнецов Иван Александрович 28be68322c MSP-5223 update compare actual data config and update request data config 2025-04-15 19:00:41 +03:00
Кузнецов Иван Александрович 867fd98bce MSP-5223 update naming + update changelog.md 2025-04-15 15:22:24 +03:00
Кузнецов Иван Александрович 1d3bacd22c MSP-5223 add endpoint /config/config/sync_config 2025-04-15 13:59:34 +03:00
Кузнецов Иван Александрович a483722e1d MSP-5223 update CreateUpdateConfig: add case equal name and data config 2025-04-15 13:29:27 +03:00
Кузнецов Иван Александрович a51aae9b69 MSP-5223 UpdateConfigNameRequest change field OldConfigName -> ConfidId + change ConfigVersion.CreatedAt actualCfg.CreatedAt -> actual.UpdatedAt 2025-04-14 19:17:04 +03:00
Кузнецов Иван Александрович a7b203bcd0 MSP-5223 implement handler config/config/update_config_name 2025-04-14 11:50:25 +03:00
Кузнецов Иван Александрович d0b55947c5 MSP-5223 configHistory.CreatedAt = oldConfig.UpdatedAt 2025-04-11 14:33:18 +03:00
Кузнецов Иван Александрович 9d299beaf6 MSP-5223 add actual config in GetAllVersions 2025-04-11 13:31:08 +03:00
komissarovyv ecf2d06cfa MSP-5013 add full variable support 2025-03-05 18:10:07 +03:00
komissarovyv 2db855d360 Pass backend connection id 2024-11-01 18:58:16 +03:00
komissarovyv 7aa2805f4c Clean phantom backends 2024-11-01 18:41:17 +03:00
komissarovyv 68c8681a9b Keep only last N config versions 2024-10-29 17:41:03 +03:00
Пучков Андрей Павлович e52c0f760c MSP-4227 fix module name 2024-10-14 16:51:05 +03:00
d1slike 2228e02770 Implement missing endpoint 2024-05-16 20:27:40 +03:00
d1slike 8275c01d21 Align to CI 2024-05-15 12:44:39 +03:00
d1slike 3b34468842 Improve logging 2024-05-14 14:34:13 +03:00
d1slike cddd3383e8 Implement api 2024-05-12 16:35:33 +03:00
d1slike c6148a1c1c Implement api 2024-05-08 18:45:21 +03:00
d1slike b2e34c00a4 Implement api 2024-05-08 15:40:14 +03:00