adaptive_pipeline/application/
services.rs

1// /////////////////////////////////////////////////////////////////////////////
2// Adaptive Pipeline
3// Copyright (c) 2025 Michael Gardner, A Bit of Help, Inc.
4// SPDX-License-Identifier: BSD-3-Clause
5// See LICENSE file in the project root.
6// /////////////////////////////////////////////////////////////////////////////
7
8//! # Application Services
9//!
10//! This module contains application services that orchestrate complex domain
11//! operations and coordinate between domain objects, repositories, and
12//! infrastructure services. Application services implement the workflow
13//! coordination layer of the application.
14//!
15//! ## Overview
16//!
17//! Application services provide:
18//!
19//! - **Workflow Orchestration**: Coordinate complex multi-step operations
20//! - **Transaction Management**: Ensure data consistency across operations
21//! - **Cross-Cutting Concerns**: Handle logging, metrics, and monitoring
22//! - **Domain Coordination**: Bridge between domain entities and infrastructure
23//! - **Business Process Implementation**: Implement high-level business
24//!   workflows
25//!
26//! ## Service Architecture
27//!
28//! ```text
29//! ┌─────────────────────────────────────────┐
30//! │         Application Services            │
31//! │  ┌─────────────┐ ┌─────────────────┐    │
32//! │  │  Pipeline   │ │  Processing    │    │
33//! │  │  Service    │ │   Service     │    │
34//! │  └─────────────┘ └─────────────────┘    │
35//! └─────────────────┬───────────────────────┘
36//!                   │
37//! ┌─────────────────▼───────────────────────┐
38//! │            Domain Layer                 │
39//! │  ┌─────────┐ ┌─────────┐ ┌─────────┐    │
40//! │  │Entities │ │Services │ │ Events  │    │
41//! │  └─────────┘ └─────────┘ └─────────┘    │
42//! └─────────────────┬───────────────────────┘
43//!                   │
44//! ┌─────────────────▼───────────────────────┐
45//! │        Infrastructure Layer         │
46//! │  ┌─────────┐ ┌─────────┐ ┌─────────┐    │
47//! │  │Database │ │File I/O │ │External │    │
48//! │  └─────────┘ └─────────┘ └─────────┘    │
49//! └─────────────────────────────────────────┘
50//! ```
51//!
52//! ## Service Types
53//!
54//! ### Pipeline Management Service
55//! Orchestrates pipeline lifecycle operations:
56
57pub mod file_processor;
58pub mod pipeline;