julee.domain.use_cases.initialize_system_data ============================================= .. py:module:: julee.domain.use_cases.initialize_system_data .. autoapi-nested-parse:: Initialize System Data Use Case for the julee CEAP system. This module provides the use case for initializing required system data on application startup, such as knowledge service configurations that are needed for the system to function properly. The use case follows clean architecture principles: - Contains business logic for what system data is required - Uses repository interfaces for persistence - Is idempotent and safe to run multiple times - Can be tested independently of infrastructure concerns Attributes ---------- .. autoapisummary:: julee.domain.use_cases.initialize_system_data.logger Classes ------- .. autoapisummary:: julee.domain.use_cases.initialize_system_data.InitializeSystemDataUseCase Module Contents --------------- .. py:class:: InitializeSystemDataUseCase(knowledge_service_config_repository, document_repository, knowledge_service_query_repository, assembly_specification_repository) Use case for initializing required system data on application startup. This use case ensures that essential configuration data exists in the system, such as knowledge service configurations that are required for the application to function properly. All operations are idempotent - running this multiple times will not create duplicate data or cause errors. .. py:method:: execute() :async: Execute system data initialization. This method orchestrates the creation of all required system data. It's idempotent and can be safely called multiple times. :raises Exception: If any critical system data cannot be initialized .. py:attribute:: assembly_spec_repo .. py:attribute:: config_repo .. py:attribute:: document_repo .. py:attribute:: logger .. py:attribute:: query_repo .. py:data:: logger