handler

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package handler provides phase-specific handler logic extracted from the monolithic controller.

Reference: CONTROLLER_REFACTORING_PATTERN_LIBRARY.md - Pattern 5 (Controller Decomposition)

This package decomposes the SignalProcessing controller into separate handler files: - enriching.go: Handles K8s context enrichment phase (BR-SP-001, BR-SP-100, BR-SP-102) - classifying.go: Handles environment and priority classification phase (BR-SP-051-053, BR-SP-070-072) - categorizing.go: Handles business categorization phase (BR-SP-002, BR-SP-080, BR-SP-081)

TODO: Complete controller decomposition (Phase 2 refactoring) - Extract reconcileEnriching from controller (~150 lines) - Extract reconcileClassifying from controller (~70 lines) - Extract reconcileCategorizing from controller (~85 lines) - Update controller to delegate to handlers - Update integration tests to use handlers

Estimated effort: 3-4 days Expected benefits: ~400 lines removed from controller, improved testability

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL