refactor(ping-feature): remove deprecated PingFeature files and legacy implementations
Deleted obsolete files and models from the `ping-feature` module, including redundant enums, the old `PingApiClient`, and legacy view models. Simplified the module by consolidating its implementation with the new Koin-based DI and shared client architecture. Cleaned up unused code and improved module maintainability.
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
---
|
||||
type: Journal
|
||||
date: 2026-01-19
|
||||
author: Lead Architect
|
||||
participants:
|
||||
- Frontend Expert
|
||||
- Infrastructure & DevOps
|
||||
- QA Specialist
|
||||
status: COMPLETED
|
||||
---
|
||||
|
||||
# Session Log: 19. Jänner 2026
|
||||
|
||||
## Zielsetzung
|
||||
Abschluss des "Trace Bullet" (Ping Feature) durch Abarbeitung der offenen Punkte aus dem Handover vom 17.01. und Bereinigung der Frontend-Struktur.
|
||||
|
||||
## Durchgeführte Arbeiten
|
||||
|
||||
### 1. Frontend Refactoring & Cleanup
|
||||
* **Migration:** Tests aus `at.mocode.clients.pingfeature` wurden in die Clean Architecture Struktur (`at.mocode.ping.feature.data` und `presentation`) migriert.
|
||||
* **Cleanup:** Das alte Package `at.mocode.clients.pingfeature` wurde vollständig entfernt (inkl. Tests).
|
||||
* **Integration Test:** Ein neuer `PingSyncIntegrationTest` wurde erstellt, der den Datenfluss vom API-Client bis zum Repository verifiziert.
|
||||
|
||||
### 2. Infrastructure & Observability
|
||||
* **Tracing Fix:** Der `ping-service` hatte die Tracing-Dependencies (`monitoring-client`) nicht eingebunden. Dies wurde in der `build.gradle.kts` korrigiert. Nun sollten Traces lückenlos in Zipkin erscheinen.
|
||||
|
||||
### 3. Build & Contracts
|
||||
* **API Visibility:** `contracts:ping-api` exportiert nun `core-domain` via `api` statt `implementation`. Dies behebt die Compiler-Warnung `Cannot access 'Syncable'`.
|
||||
|
||||
### 4. Dokumentation
|
||||
* **Architecture:** Neue Datei `docs/01_Architecture/02_Frontend_Architecture.md` erstellt, die die Modularisierungsstrategie und Clean Architecture Vorgaben festhält.
|
||||
|
||||
## Ergebnisse
|
||||
* Der Build ist **GRÜN**.
|
||||
* Die Architektur ist konsistent (keine Legacy-Pakete mehr im Ping-Feature).
|
||||
* Observability ist im Backend sichergestellt.
|
||||
|
||||
## Nächste Schritte (Ausblick)
|
||||
* Beginn der Arbeit an den Fachdomänen (Veranstaltungen/Events).
|
||||
* Migration des `auth-feature` auf die neue Architektur bei nächster Gelegenheit.
|
||||
Reference in New Issue
Block a user