docs: update architecture.yml after code cleanup
- Remove TimeProvider from internal/ports responsibilities (now only in domain) - Fix configuration format references: TOML → YAML Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@ -195,8 +195,8 @@ correlation:
|
|||||||
unit: s
|
unit: s
|
||||||
description: >
|
description: >
|
||||||
Fenêtre de temps symétrique appliquée aux timestamps de A et B. Deux
|
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é
|
événements sont corrélés si |tA - tB| <= time_window. La valeur et l'unité
|
||||||
sont définies dans le TOML.
|
sont définies dans le YAML.
|
||||||
timestamp_source:
|
timestamp_source:
|
||||||
apache: field_timestamp
|
apache: field_timestamp
|
||||||
network: reception_time
|
network: reception_time
|
||||||
@ -378,10 +378,10 @@ architecture:
|
|||||||
- name: cmd/logcorrelator
|
- name: cmd/logcorrelator
|
||||||
type: entrypoint
|
type: entrypoint
|
||||||
responsibilities:
|
responsibilities:
|
||||||
- Chargement configuration TOML.
|
- Chargement configuration YAML.
|
||||||
- Initialisation des adaptateurs d’entrée/sortie.
|
- Initialisation des adaptateurs d'entrée/sortie.
|
||||||
- Création du CorrelationService.
|
- Création du CorrelationService.
|
||||||
- Démarrage de l’orchestrateur.
|
- Démarrage de l'orchestrateur.
|
||||||
- Gestion du cycle de vie (signaux systemd).
|
- Gestion du cycle de vie (signaux systemd).
|
||||||
- name: internal/domain
|
- name: internal/domain
|
||||||
type: domain
|
type: domain
|
||||||
@ -392,7 +392,7 @@ architecture:
|
|||||||
- name: internal/ports
|
- name: internal/ports
|
||||||
type: ports
|
type: ports
|
||||||
responsibilities:
|
responsibilities:
|
||||||
- EventSource, CorrelatedLogSink, TimeProvider.
|
- EventSource, CorrelatedLogSink, CorrelationProcessor.
|
||||||
- name: internal/app
|
- name: internal/app
|
||||||
type: application
|
type: application
|
||||||
responsibilities:
|
responsibilities:
|
||||||
@ -417,7 +417,7 @@ architecture:
|
|||||||
- name: internal/config
|
- name: internal/config
|
||||||
type: infrastructure
|
type: infrastructure
|
||||||
responsibilities:
|
responsibilities:
|
||||||
- Chargement/validation config TOML.
|
- Chargement/validation config YAML.
|
||||||
- name: internal/observability
|
- name: internal/observability
|
||||||
type: infrastructure
|
type: infrastructure
|
||||||
responsibilities:
|
responsibilities:
|
||||||
|
|||||||
Reference in New Issue
Block a user