11 KiB
CMG Project Architecture Diagrams
Date: April 22, 2026
Created By: Garfield Heron
Location: C:\Users\garfield.heron\IdeaProjects\AIO\
Status: Comprehensive system architecture documented
Overview
Three PlantUML architecture diagrams created to document the CMG Digital Banking Transformation project, based on discovered architecture, integration issues, and migration findings.
Diagram 1: CMG Architecture Overview
File: CMG_Architecture_Overview.puml
Purpose: Comprehensive system architecture showing all major components and their relationships
Components Documented:
-
External Vendors:
- MANTL (Account Opening) -
#FFB84D - Q2 Digital (Digital Banking Platform) -
#4A90E2 - Fiserv Premier (Core Banking System) -
#E74C3C - Bankers' Bank (Wire Processing) -
#27AE60
- MANTL (Account Opening) -
-
Infrastructure:
- Microsoft Azure (SFTP, Entra ID)
- RSM Managed Network
- Q2 On-Premise Device (at bank)
-
Integration Flows:
- Employee authentication (Entra SSO → Q2 → Fiserv)
- Customer banking transactions
- Vendor SFTP data exchange
- Network dependencies
Key Findings Illustrated:
- Q2 requires on-premise device hosted at bank
- Q2 login has hard dependency on Fiserv availability
- Entra provides authentication, Fiserv provides authorization
- All vendor data flows through Azure SFTP containers
When to Use:
- High-level overview for stakeholders
- Architecture discussions
- Vendor coordination meetings
- Executive presentations
Diagram 2: Q2-Fiserv Integration Detail
File: Q2_Fiserv_Integration_Detail.puml
Purpose: Detailed sequence diagram of Q2 employee login flow and failure scenarios
Flows Documented:
Successful Login Flow (20 Steps)
- Employee login request
- Entra SSO authentication
- Auth token returned
- Q2 session request
- Business logic query
- Integration bridge call
- HTTP request to on-premise device
- RSM network traversal
- Fiserv API call
- Security system check
- User entitlements query
- Core database lookup
- User profile returned
- Permissions data returned
- API response
- Data returned through network
- Entitlements loaded
- Session context ready
- Login success
- Dashboard displayed
Failed Login Flow (Migration Scenario)
- SSO authentication succeeds ✅
- Fiserv rate limiting triggered ❌
- Cause: Mass password reset migration activity
- Detection: Security system sees attack pattern
- Result: HTTP 503 Service Unavailable
- Error:
messaging.adaptors.http.flow.ServiceUnavailable - Impact: Q2 employee login blocked
Error Message Documented:
{
"fault": {
"faultstring": "The Service is temporarily unavailable",
"details": {
"errorcode": "messaging.adaptors.http.flow.ServiceUnavailable"
}
}
}
Architectural Issues Identified:
- Tight Coupling - Q2 login has synchronous dependency on Fiserv
- No Graceful Degradation - Login fails completely instead of limited access
- Migration Coordination Gap - Fiserv security not informed of expected traffic
Recommended Solutions:
Short-term:
- Fiserv whitelist Q2 integration IPs
- Raise rate limits during migration period
- Monitor API throttling metrics
- Coordinate bulk operations with Fiserv support
Long-term:
- Request Q2 implement async permission loading
- Cache user entitlements for outage resilience
- Enable "degraded mode" login when core unavailable
- Decouple authentication from authorization
When to Use:
- Technical troubleshooting sessions
- Q2/Fiserv support discussions
- Incident postmortem documentation
- Architecture review meetings
Diagram 3: CMG Data Migration Flow
File: CMG_Data_Migration_Flow.puml
Purpose: Data migration processes and vendor integration architecture
Data Flows Documented:
1. Customer Migration to Q2
Fiserv → Migration Orchestrator → Validation → Azure SFTP (Q2) → Q2 Cloud → Q2 Device → Fiserv
- Extract customer data from Fiserv Premier
- Transform and validate records
- Load into Q2 via SFTP
- Q2 processes and activates accounts
- Password resets (triggers rate limiting issue!)
- Sync account status back to core
2. Account Opening (MANTL Integration)
MANTL → Azure SFTP (MANTL) → Fiserv → Azure SFTP (Q2) → Q2 Cloud
- Customer applies via MANTL platform
- Account data sent to Fiserv core
- Core creates account
- Account info synced to Q2
- Provision digital banking access
3. Wire Processing (Bankers' Bank)
Q2 Cloud → Azure SFTP (BB) → Bankers' Bank → Azure SFTP (Fiserv) → Fiserv Premier
- Q2 initiates wire request
- Routed to Fiserv for validation
- Sent to Bankers' Bank for processing
- Settlement confirmation back to core
- Update account balances
4. Legacy SFTP to Azure Migration
Legacy VM-based SFTP (DEPRECATED) → Azure Serverless SFTP
Benefits:
- Vendor isolation (separate containers)
- No VM maintenance overhead
- Azure-native security
- Scalable and resilient infrastructure
Components Documented:
- Migration Orchestrator (Python)
- Customer Migration automation
- Q2 Migration automation
- Data Validation workflow
- AIO application (FastAPI backend, React frontend)
- Azure monitoring and Key Vault
When to Use:
- Migration planning sessions
- Vendor integration design
- Data flow analysis
- Operations runbook creation
How to View These Diagrams
Option 1: PlantUML Extension (Recommended)
VS Code:
- Install "PlantUML" extension
- Open
.pumlfile inC:\Users\garfield.heron\IdeaProjects\AIO\ - Press
Alt+Dor use Command Palette → "PlantUML: Preview Current Diagram"
JetBrains IDEs:
- Install "PlantUML integration" plugin
- Open
.pumlfile - Preview panel shows rendered diagram
Option 2: Online PlantUML Server
- Go to https://www.plantuml.com/plantuml/uml/
- Copy/paste diagram source from
.pumlfile - View rendered diagram in browser
- Export as PNG/SVG if needed
Option 3: Local PlantUML CLI
# Install PlantUML (requires Java)
java -jar plantuml.jar CMG_Architecture_Overview.puml
# Generates PNG/SVG files
Option 4: Embedded HTML Viewer
Create standalone HTML viewer similar to sftp/Azure_SFTP_Diagrams.html for offline/portable viewing.
Vendor Color Scheme
Consistent color coding across all diagrams:
| Vendor | Hex Color | RGB | Usage |
|---|---|---|---|
| MANTL | #FFB84D |
255, 184, 77 | Account opening system |
| Q2 Digital | #4A90E2 |
74, 144, 226 | Digital banking platform |
| Fiserv Premier | #E74C3C |
231, 76, 60 | Core banking system |
| Bankers' Bank | #27AE60 |
39, 174, 96 | Wire processing |
| Azure | #0078D4 |
0, 120, 212 | Cloud infrastructure |
| RSM | #95A5A6 |
149, 165, 166 | Managed services |
| Entra ID | #00A4EF |
0, 164, 239 | SSO/Authentication |
Key Architecture Discoveries
1. Q2 Integration Model
Finding: Q2 does NOT connect directly to Fiserv.
Architecture:
Q2 Cloud Platform (AWS/Azure)
↓
Q2 On-Premise Device (at bank, managed by RSM)
↓
RSM Network Infrastructure (firewall, routing)
↓
Fiserv Premier Core Banking System
Implications:
- Bank MUST provide on-premise infrastructure
- RSM network is critical dependency
- Q2 cannot bypass bank's security/network layer
2. Authentication vs. Authorization Split
Finding: SSO success doesn't guarantee Q2 login success.
Flow:
- Authentication (Entra ID) → Proves identity ✅
- Authorization (Fiserv Premier) → Determines permissions ✅ or ❌
Problem: If Fiserv is down/throttled, authorization fails even though authentication succeeds.
3. Rate Limiting During Migrations
Finding: Legitimate migration activity triggers security systems.
Pattern:
Mass Operation → High API Volume → Security Alert → Rate Limiting → Service Outage
Examples:
- Mass password resets
- Bulk customer data loads
- Parallel account migrations
- Testing/validation cycles
Solution: Pre-coordinate with vendors, whitelist IPs, raise limits temporarily.
Related Documentation
Project Files
ARCHITECTURE_DIAGRAMS.md- Comprehensive guide to viewing/using diagramsCLAUDE.md- Project context and SFTP specificationssftp/azure_sftp_diagrams.puml- Existing SFTP architecture (9 diagrams)sftp/Azure_SFTP_Diagrams.html- Standalone SFTP diagram viewer
Obsidian Vault (CMG Project)
- Technical Analysis - CNAM Caller ID Issue - 2026-04-22 - 8x8 telephony issue
- Q2 Login Failure - Fiserv Rate Limiting - 2026-04-22 - Detailed incident analysis
- Q2 Production Analysis - Account Linking & Fraud - 2026-04-22 - Production issues
- Report 1 - Linked Account Investigation - 2026-04-22 - Account linking analysis
- Report 2 - Fraud Incident Timeline & Response - 2026-04-22 - SAC code phishing
- Report 3 - Post-Migration Support Dashboard Spec - 2026-04-22 - Monitoring dashboard
Maintenance Notes
When updating diagrams:
- ✅ Keep vendor color scheme consistent
- ✅ Document new issues/findings as annotations
- ✅ Update legends with new components
- ✅ Regenerate PNG/SVG exports for presentations
- ✅ Update this documentation with changes
- ✅ Link to related incident reports in Obsidian
Future Enhancements:
- Create HTML embedded viewer (like Azure SFTP diagrams)
- Export PNG versions for email/presentations
- Add security architecture diagram
- Document disaster recovery flows
- Create monitoring/alerting architecture diagram
Usage Recommendations
For Technical Discussions: → Use "Q2-Fiserv Integration Detail" diagram
For Executive/Stakeholder Presentations: → Use "CMG Architecture Overview" diagram
For Migration Planning: → Use "CMG Data Migration Flow" diagram
For Incident Response: → Reference all three + related Obsidian notes
For Vendor Coordination: → Use "CMG Architecture Overview" + specific integration sections
Questions Answered by These Diagrams
Q: Does Q2 connect directly to Fiserv?
A: No. Q2 requires on-premise device at bank → RSM network → Fiserv.
Q: Why does Fiserv being down block Q2 login?
A: Q2 login flow requires synchronous call to Fiserv for user permissions. No graceful degradation exists.
Q: What caused the Q2 employee login outage?
A: Mass password resets during migration triggered Fiserv rate limiting, blocking Q2's API calls.
Q: How do vendors exchange data with the bank?
A: Via Azure SFTP with isolated containers per vendor (MANTL, Q2, Fiserv, Bankers' Bank).
Q: What's the role of RSM in the architecture?
A: RSM manages network infrastructure, coordinates vendors, and hosts the CMG connection that Q2 uses to reach Fiserv.
Tags: #architecture #plantuml #diagrams #q2 #fiserv #azure #integration #documentation #technical-reference
Next Actions:
- Review diagrams with RSM (Chris)
- Share with Q2 support for architecture validation
- Use in Fiserv escalation discussions
- Update as new findings emerge
- Create presentation-ready exports