From b25dc24ed98293cd90155a7fcd35332fe2bc20de Mon Sep 17 00:00:00 2001 From: Jacquin Antoine Date: Sun, 1 Mar 2026 00:28:23 +0100 Subject: [PATCH] docs: update architecture.yml after code cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove TimeProvider from internal/ports responsibilities (now only in domain) - Fix configuration format references: TOML → YAML Co-authored-by: Qwen-Coder --- architecture.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/architecture.yml b/architecture.yml index 82b5090..b7d6cbd 100644 --- a/architecture.yml +++ b/architecture.yml @@ -195,8 +195,8 @@ correlation: unit: s description: > Fenêtre de temps symétrique appliquée aux timestamps de A et B. Deux - événements sont corrélés si |tA - tB| <= time_window. La valeur et l’unité - sont définies dans le TOML. + événements sont corrélés si |tA - tB| <= time_window. La valeur et l'unité + sont définies dans le YAML. timestamp_source: apache: field_timestamp network: reception_time @@ -378,10 +378,10 @@ architecture: - name: cmd/logcorrelator type: entrypoint responsibilities: - - Chargement configuration TOML. - - Initialisation des adaptateurs d’entrée/sortie. + - Chargement configuration YAML. + - Initialisation des adaptateurs d'entrée/sortie. - Création du CorrelationService. - - Démarrage de l’orchestrateur. + - Démarrage de l'orchestrateur. - Gestion du cycle de vie (signaux systemd). - name: internal/domain type: domain @@ -392,7 +392,7 @@ architecture: - name: internal/ports type: ports responsibilities: - - EventSource, CorrelatedLogSink, TimeProvider. + - EventSource, CorrelatedLogSink, CorrelationProcessor. - name: internal/app type: application responsibilities: @@ -417,7 +417,7 @@ architecture: - name: internal/config type: infrastructure responsibilities: - - Chargement/validation config TOML. + - Chargement/validation config YAML. - name: internal/observability type: infrastructure responsibilities: