Skip to main content
Ctrl+K
CCAT Data Center Logo CCAT Data Center Logo

CCAT Data Center

  • Overview & Introduction
  • Scientists Guide
  • Instrument Integration Guide
  • CCAT Data Center Operations
  • Component Developer Documentation
  • Observatory Systems
  • Overview & Introduction
  • Scientists Guide
  • Instrument Integration Guide
  • CCAT Data Center Operations
  • Component Developer Documentation
  • Observatory Systems

Section Navigation

  • Operations Database (ops-db)
    • Overview
    • Configuration
    • Observatory Hierarchy
    • Observation Model
    • Data Model
    • Location Model
    • Transfer Model
    • Database Layout
    • Table Reference
    • Core Database Functions
    • Models API Reference
    • Utilities
    • Related Components
    • Database Migrations
    • Deploying Database Migrations
  • Data Transfer System
    • Philosophy & Design Principles
    • The Transfer Route from CCAT to Cologne
    • Core Concepts
    • Pipeline Architecture
    • Routing & Queue Discovery
    • Monitoring & Failure Recovery
    • Data Lifecycle Management
    • API Reference
      • Managers
        • Raw Data Package Manager
        • Data Transfer Package Manager
        • Transfer Manager
        • Archive Manager
        • Deletion Manager
        • Staging Manager
      • Services
        • Data Integrity Manager
        • Buffer Manager
        • Disk Monitor
        • Health Check
        • Task Monitor Service
        • Task State Manager
        • Recovery Service Runner
      • Core Utilities
        • Database
        • Configuration
        • Exceptions
        • Utilities
        • Decorators
        • Logging Utils
        • Metrics
        • Notification Service
        • Operation Types
        • Queue Discovery
        • Settings Manager
      • Celery Tasks
        • Setup Celery App
  • Workflow Manager
    • Overview
    • Pipeline Hierarchy
    • Execution Flow
    • Data Grouping & Filter Engine
    • Container Contract
    • Manager/Worker Pattern
    • HPC Backends
    • Filter Engine
    • API Reference
      • Managers
      • Celery Tasks
      • HPC Backends
      • Grouping & Filter Engine
      • Command Builder
    • Managers
    • Celery Tasks
    • HPC Backends
    • Grouping & Filter Engine
    • Command Builder
    • Configuration
    • Deployment
    • Related Components
  • CCAT Calibration Engine
    • Overview
    • Quickstart
    • Data Formats
    • Pipeline
    • Physics
      • Rayleigh-Jeans Correction
      • Calibration Loads
      • Atmosphere
      • Observation Modes
      • Calibration Equation
    • Architecture
      • Crate Map
      • Data Structures
      • Pipeline Internals
      • I/O Layer
      • Multi-Pixel
    • Developer Guide
      • Adding an Observation Mode
      • Flag System
      • Telescope Profiles
      • Python Bindings
      • Testing
      • Performance
    • CLI Reference
    • Configuration
    • Glossary
  • Operations Database API (ops-db-api)
    • Quick Start Guide
      • Installation
      • Making Your First API Call
      • Running Locally with Docker Compose
    • Design Philosophy
      • Design Rationale
      • Distributed Architecture
      • Reliability First
    • Architecture Overview
      • System Overview
      • Database Topology
      • Site Configuration
      • Authentication System
      • Endpoint Categories
    • Deep Dive
      • Transaction Buffering
        • Transaction Buffering Overview
        • Transaction Builder
        • Transaction Manager
        • Background Processor
        • LSN Tracking
        • Smart Query Manager
        • Read Buffer Manager
      • Authentication Deep Dive
        • Unified Authentication
        • GitHub OAuth
        • API Tokens
        • Roles and Permissions
      • Routers Deep Dive
        • UI-Focused Routers
        • Operations-Focused Routers
        • Shared Routers
      • Data Flow Examples
      • Caching Strategy
    • Tutorials
      • Simple Endpoints
        • Simple Read Endpoint
        • Simple Write Endpoint
        • Adding Authentication
      • Complex Endpoints
        • Multi-Table Transactions
        • Buffered Critical Operations
        • Smart Queries with Buffering
        • WebSocket Updates
      • Observatory Integration
        • Recording Observations
        • Registering Data Files
        • Service Scripts Best Practices
        • Scheduler Interface
      • UI Integration
        • Dashboard Endpoints
        • Visibility Calculations
        • Transfer Monitoring
    • API Reference
      • Endpoints Reference
      • Schemas Reference
      • Database Models
    • Development Guide
      • Testing
      • Debugging Transaction Buffering
      • Redis Inspection
      • Contributing
  • Operations Database UI (ops-db-ui)
  • CCAT System Integration Documentation
  • Data Center Configuration

Related Components#

✓
Documentation Verified Last checked: 2026-03-07 Reviewer: Christof Buchbender

The Workflow Manager integrates with several other CCAT Data Center components. This page describes the integration points and dependencies.

        graph TD
    DT["data-transfer<br/>Archive & Stage"]
    WM["workflow-manager<br/>Pipeline Orchestration"]
    DB["ops-db<br/>Database Models"]
    API["ops-db-api<br/>REST API"]
    UI["ops-db-ui<br/>Web Frontend"]
    SI["system-integration<br/>Deployment"]
    Redis["Redis<br/>Task Broker"]

    DT -->|"Shared broker<br/>Staging jobs"| Redis
    WM -->|"Task dispatch"| Redis
    WM -->|"Read/write models"| DB
    API -->|"Pipeline endpoints"| DB
    UI -->|"Pipeline dashboard"| API
    SI -->|"Docker Compose"| WM
    DT -->|"RawDataPackage<br/>records"| DB

    style WM fill:#e3f2fd,stroke:#1565c0,stroke-width:2px
    

ops-db#

Operations Database (ops-db)

The operations database is the single source of truth for all pipeline metadata. The Workflow Manager depends on ops-db for:

  • All pipeline models — Pipeline, ReductionStep, ExecutedReductionStep, DataProduct, ReductionSoftware, DataGrouping, etc.

  • Shared enums — RunStatus, TriggerType, DataProductType

  • Observation models — RawDataPackage, ObsUnit, Source, InstrumentModule (used by the filter engine for data grouping)

  • Location models — DataLocation, PhysicalCopy (for processing location assignment and output tracking)

data-transfer#

Data Transfer System

The Workflow Manager builds on data-transfer’s infrastructure:

  • Shared Redis broker — both systems use the same Redis for Celery task dispatch, with separate queue prefixes (workflow.* vs transfer.*)

  • Staging jobs — the workflow-manager reuses data-transfer’s StagingJob mechanism to stage raw data from archives to HPC processing locations

  • PhysicalCopy lifecycle — intermediate and output products follow the same PRESENT → DELETION_POSSIBLE → DELETED lifecycle

  • Shared patterns — DatabaseConnection, HealthCheck, StructuredLogger, make_celery_task()

ops-db-api#

Operations Database API (ops-db-api)

The REST API exposes pipeline functionality to the frontend and external consumers:

  • /pipelines/software/ — CRUD for ReductionSoftware and versions

  • /pipelines/configs/ — CRUD for ReductionStepConfig

  • /pipelines/groupings/ — CRUD for DataGrouping + resolve preview + presets

  • /pipelines/ — Pipeline CRUD + nested step management + trigger

  • /pipelines/runs/ — Run listing, detail, logs, cancel, retry

  • /data-products/ — Product listing + lineage tracking

  • /ux/pipeline-dashboard — Aggregate statistics for the UI

ops-db-ui#

Operations Database UI (ops-db-ui)

The web frontend provides a pipeline dashboard showing:

  • Pipeline definitions with their steps and status

  • Run history with filtering by pipeline, step, and status

  • Data product browser with provenance lineage

  • DataGrouping management with interactive filter building and sub-group preview

system-integration#

CCAT System Integration Documentation

Deployment infrastructure:

  • docker-compose.staging.workflow-manager.yml — Docker Compose for staging

  • Four containers: trigger-manager, workflow-manager, result-manager, celery-worker

  • Environment variable configuration for each service

  • Volume mounts for pipeline workspace and Redis certificates

Redis#

Shared message broker for both data-transfer and workflow-manager Celery tasks:

  • Broker URL with TLS authentication

  • Queue isolation via routing configuration

  • Health check heartbeat storage

  • Local backend job tracking (for HPC_BACKEND=local)

previous

Deployment

next

CCAT Calibration Engine

On this page
  • ops-db
  • data-transfer
  • ops-db-api
  • ops-db-ui
  • system-integration
  • Redis
Show Source

© Copyright 2026, Christof Buchbender.

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.17.0.