- Task #6: WebSocket /ws/dashboard + Kafka events (5 topics) * Backend: KafkaEventProducer, KafkaEventConsumer * Mobile: WebSocketService (reconnection, heartbeat, typed events) * DashboardBloc: Auto-refresh depuis WebSocket events - Finance Workflow: approbations + budgets (backend + mobile) * Backend: entities, services, resources, migrations Flyway V6 * Mobile: features finance_workflow complète avec BLoC - Corrections DI: interfaces IRepository partout * IProfileRepository, IOrganizationRepository, IMembreRepository * GetIt configuré avec @injectable - Spec-Kit: constitution + templates mis à jour * .specify/memory/constitution.md enrichie * Templates agent, plan, spec, tasks, checklist - Nettoyage: fichiers temporaires supprimés Signed-off-by: lions dev Team
2.4 KiB
2.4 KiB
🚀 Finance Workflow - Démarrage Rapide
Option 1 : Script Automatisé (RECOMMANDÉ)
Étapes
-
Ouvrir PowerShell EN TANT QU'ADMINISTRATEUR
- Clic droit sur le menu Démarrer
- "Terminal (Admin)" ou "Windows PowerShell (Admin)"
-
Naviguer vers le projet
cd C:\Users\dadyo\PersonalProjects\lions-workspace\unionflow\unionflow-server-impl-quarkus -
Exécuter le script
.\START_AND_TEST_FINANCE_WORKFLOW.ps1
Le script va :
- ✅ Arrêter les processus Java
- ✅ Vérifier PostgreSQL
- ✅ Compiler le projet
- ✅ Démarrer Quarkus
- ✅ Capturer les logs
Option 2 : Manuelle
Étape 1 : Tuer les processus Java
Via Gestionnaire des tâches (le plus simple) :
- Ouvrir :
Ctrl + Shift + Esc - Onglet "Détails"
- Chercher tous les
java.exe - Clic droit → "Fin de tâche" sur chacun
OU via PowerShell Admin :
Get-Process java | Stop-Process -Force
Étape 2 : Démarrer Quarkus
cd C:\Users\dadyo\PersonalProjects\lions-workspace\unionflow\unionflow-server-impl-quarkus
mvn clean compile quarkus:dev -D"quarkus.http.port=8085"
✅ Vérifications
1. Migration Flyway V6
Cherchez dans les logs :
✅ Successfully applied 6 migrations to schema "public", now at version v6
2. Démarrage réussi
✅ started in X.XXXs. Listening on: http://0.0.0.0:8085
3. Swagger UI
Ouvrir : http://localhost:8085/q/swagger-ui
Vérifier :
- ✅
approval-resource(6 endpoints) - ✅
budget-resource(4 endpoints)
📋 Checklist complète
Voir : FINANCE_WORKFLOW_TEST_CHECKLIST.md
🆘 Problèmes ?
| Erreur | Solution |
|---|---|
| Processus Java "Accès refusé" | PowerShell en Admin OU Gestionnaire des tâches |
| Port 8085 occupé | netstat -ano | findstr :8085 puis taskkill /PID <PID> /F |
| PostgreSQL non connecté | docker-compose up -d postgres |
| Tables déjà existantes | Normal si déjà exécuté, vérifier version = 6 |
📊 Progression P0
- Backend implémenté ✅
- Migration V6 créée ✅
- Documentation complète ✅
- Migration testée en runtime ⏳ ← VOUS ÊTES ICI
- Endpoints testés via Swagger ⏳
- Intégration mobile-backend ⏳
Prochain objectif : Voir la migration V6 s'exécuter avec succès !