How gilda007/assurance works
This repository is a desktop insurance-management application with Automobile and Claims modules, shared database/session infrastructure, and a separate ASAC production API. A typical workflow is to manage contacts, vehicles and contracts, then register and process claims, including recourse and settlement; the API supports certificate production and authentication. The graph preserves the documented-by-tree domain branches, but the README is empty and many UI-to-controller connections are unsampled, so those links are omitted rather than inferred.
Main entry points: productions.py Production routes · automobile_controller.py Vehicle management · auth.py Authentication routes · sinistre_controller.py Claim lifecycle
Components 29
Automobile insurance
- Automobile interface
addons/Automobiles/main_ui.py - Vehicle management
addons/Automobiles/controllers/automobile_controller.py - Contract management
addons/Automobiles/controllers/contract_controller.py - Fleet management
addons/Automobiles/controllers/flotte_controller.py - Garage management
addons/Automobiles/controllers/garage_controller.py - Vehicle records
addons/Automobiles/models/automobile_models.py - Contact records
addons/Automobiles/models/contact_models.py - Contract records
addons/Automobiles/models/contract_models.py - Contact views
addons/Automobiles/views/contact_detail_view.py
Claims operations
- Claims interface
addons/sinistres/main_ui.py - Claim lifecycle
addons/sinistres/controllers/sinistre_controller.py - Claim services
addons/sinistres/services/sinistre_service.py - Recourse management
addons/sinistres/controllers/recours_controller.py - Recourse service
addons/sinistres/services/recours_service.py - Settlement service
addons/sinistres/services/reglement_service.py - Claim records
addons/sinistres/models/sinistre.py
ASAC API
- API application
addons/Automobiles/api/main.py - Authentication routes
addons/Automobiles/api/routers/auth.py - Production routes
addons/Automobiles/api/routers/productions.py - API schemas
addons/Automobiles/api/schemas.py - API security
addons/Automobiles/api/utils/security.py - ASAC database
addons/Automobiles/api/database.py - API records
addons/Automobiles/api/models_db.py - LOMETA integration
addons/Automobiles/api/lometa_client.py
Shared platform
- Shared database
core/database.py - Local database
core/local_db.py - Query cache
core/workers/query_cache.py - Application logging
core/logger.py
Other components
- API consumers
Connections 27
- Vehicle management → Contact records: queries
addons/Automobiles/controllers/automobile_controller.py - Vehicle management → Vehicle records: manages
addons/Automobiles/controllers/automobile_controller.py - Vehicle management → Contract records: uses
addons/Automobiles/controllers/automobile_controller.py - Contract management → Contract records: manages
addons/Automobiles/controllers/contract_controller.py - Vehicle management → Contract management: delegates
addons/Automobiles/controllers/automobile_controller.py - Garage management → Shared database: stores
- Claim lifecycle → Claim services: delegates
addons/sinistres/controllers/sinistre_controller.py - Claim lifecycle → Claim records: queries
addons/sinistres/controllers/sinistre_controller.py - Claim lifecycle → Recourse service: uses
- Recourse management → Recourse service: delegates
addons/sinistres/controllers/recours_controller.py - Claim lifecycle → Settlement service: uses
- API consumers → API application: requests
- API application → Authentication routes: registers
addons/Automobiles/api/main.py - API application → Production routes: registers
addons/Automobiles/api/main.py - Authentication routes → API schemas: validates
addons/Automobiles/api/routers/auth.py - Authentication routes → API security: checks
addons/Automobiles/api/routers/auth.py - Authentication routes → ASAC database: opens session
addons/Automobiles/api/routers/auth.py - Authentication routes → API records: queries
addons/Automobiles/api/routers/auth.py - Production routes → API schemas: validates
addons/Automobiles/api/routers/productions.py - Production routes → API security: checks
addons/Automobiles/api/routers/productions.py - Production routes → ASAC database: opens session
addons/Automobiles/api/routers/productions.py - Production routes → API records: queries
addons/Automobiles/api/routers/productions.py - Production routes → LOMETA integration: calls
addons/Automobiles/api/routers/productions.py - ASAC database → Shared database: opens LOMETA session
addons/Automobiles/api/database.py - Shared database → Vehicle records: loads models
core/database.py - Shared database → Local database: uses
- Vehicle management → Query cache: caches
addons/Automobiles/controllers/automobile_controller.py