graph LR
CLI_Command_Processor["CLI Command Processor"]
Configuration_Service["Configuration Service"]
Job_Control_Service["Job Control Service"]
System_Status_Checker["System Status Checker"]
CLI_Command_Processor -- "retrieves configuration from" --> Configuration_Service
CLI_Command_Processor -- "delegates job management to" --> Job_Control_Service
CLI_Command_Processor -- "queries system health from" --> System_Status_Checker
Configuration_Service -- "provides configuration to" --> CLI_Command_Processor
Job_Control_Service -- "receives commands from" --> CLI_Command_Processor
System_Status_Checker -- "provides status to" --> CLI_Command_Processor
The CLI Interface subsystem serves as the primary user-facing component for managing the distributed data ingest and synchronization framework. It acts as the control plane, allowing users to initiate, configure, and monitor jobs.
This is the core user-facing component. It parses command-line arguments, validates inputs, and dispatches commands (e.g., start, stop, watch, list) to manage ingest and synchronization jobs. It orchestrates initial setup checks and retrieves necessary configurations.
Related Classes/Methods:
irods_capability_automated_ingest.irods_syncirods_capability_automated_ingest.irods_sync:add_argumentsirods_capability_automated_ingest.irods_sync:character_map_argument_errorirods_capability_automated_ingest.irods_sync:handle_startirods_capability_automated_ingest.irods_sync:handle_stopirods_capability_automated_ingest.irods_sync:handle_watchirods_capability_automated_ingest.irods_sync:handle_listirods_capability_automated_ingest.irods_sync:main
Provides system-wide configuration parameters to the CLI Command Processor. It centralizes the storage and retrieval of settings required for the operation of ingest and synchronization jobs.
Related Classes/Methods:
Manages the lifecycle of synchronization jobs, including initiating, stopping, and listing their current status. It acts as an interface for the CLI Command Processor to interact with the underlying job execution mechanisms.
Related Classes/Methods:
irods_capability_automated_ingest.irods_sync.handle_start:167-201irods_capability_automated_ingest.irods_sync.handle_stop:204-206irods_capability_automated_ingest.irods_sync.handle_list:213-216irods_capability_automated_ingest.irods_sync.handle_watch:209-210
Verifies the operational status and setup of critical external dependencies, such as the event handling mechanisms and the Celery message broker. It provides diagnostic information to the CLI Command Processor for user feedback.
Related Classes/Methods: