- 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
38 lines
1.2 KiB
Dart
38 lines
1.2 KiB
Dart
/// Configuration pour les tests d'intégration
|
|
library test_config;
|
|
|
|
/// Configuration des tests d'intégration
|
|
class TestConfig {
|
|
/// URL de base de l'API backend (environnement de test)
|
|
static const String apiBaseUrl = 'http://localhost:8085';
|
|
|
|
/// URL de Keycloak (environnement de test)
|
|
static const String keycloakUrl = 'http://localhost:8180';
|
|
|
|
/// Realm Keycloak
|
|
static const String keycloakRealm = 'unionflow';
|
|
|
|
/// Client ID Keycloak
|
|
static const String keycloakClientId = 'unionflow-mobile';
|
|
|
|
/// Credentials utilisateur de test (SUPER_ADMIN)
|
|
static const String testAdminUsername = 'admin@unionflow.test';
|
|
static const String testAdminPassword = 'Admin@123';
|
|
|
|
/// Credentials utilisateur de test (ORG_ADMIN)
|
|
static const String testOrgAdminUsername = 'orgadmin@unionflow.test';
|
|
static const String testOrgAdminPassword = 'OrgAdmin@123';
|
|
|
|
/// ID d'organisation de test
|
|
static const String testOrganizationId = '00000000-0000-0000-0000-000000000001';
|
|
|
|
/// Timeout pour les requêtes HTTP (ms)
|
|
static const int httpTimeout = 30000;
|
|
|
|
/// Délai d'attente entre les tests (ms)
|
|
static const int delayBetweenTests = 500;
|
|
|
|
/// Active les logs détaillés
|
|
static const bool enableDetailedLogs = true;
|
|
}
|