Architecture
Service Consolidation Mapping - Quick Reference
Service Consolidation Mapping - Quick Reference
Created: 2026-02-01 Purpose: Fast lookup table for service consolidation decisions
Current Service → Target Service Mapping
| Current Repository | Target Service | Priority | Complexity | Notes |
|---|---|---|---|---|
| Identity & Access | ||||
| keycloak | identity-service | P1 | Low | Foundation service |
| peeq-users | identity-service | P1 | Low | User management |
| users | identity-service | P1 | Low | Duplicate of peeq-users |
| Profile Domain | ||||
| athlete-manager | profile-service | P2 | Low | Athlete/expert profiles |
| celebrity | profile-service | P2 | Medium | Legacy expert service |
| fan | profile-service | P2 | Medium | Legacy fan service |
| group-profile | profile-service | P2 | Low | Group/team profiles |
| org-manager | profile-service | P2 | Low | Organization management |
| peeq-celebrity | profile-service | P2 | Medium | Active expert service |
| peeq-fan | profile-service | P2 | Medium | Active fan service |
| peeq-group-profile | profile-service | P2 | Low | Active group service |
| Content Domain | ||||
| class-catalog | content-service | P3 | Medium | Class catalog, SEU/PDU |
| content | content-service | P3 | Medium | Legacy content service |
| inventory | content-service | P3 | Medium | Content inventory |
| media | content-service | P3 | High | Media processing, large codebase |
| peeq-class-catalog | content-service | P3 | Medium | Active class catalog |
| peeq-content | content-service | P3 | Medium | Active content service |
| peeq-inventory | content-service | P3 | Medium | Active inventory |
| peeq-media | content-service | P3 | High | Active media service |
| peeq-tags | content-service | P3 | Low | Content tagging |
| tags | content-service | P3 | Low | Legacy tagging |
| Knowledge & Search | ||||
| peeq-query | knowledge-graph | P5 | Medium | Unified query layer |
| search | knowledge-graph | P5 | Medium | Elasticsearch integration |
| Broadcasting | ||||
| broadcast | broadcast-service | P4 | High | Legacy broadcast |
| peeq-broadcast | broadcast-service | P4 | High | Active broadcast |
| peeq-conference | broadcast-service | P4 | High | Conference (largest service) |
| peeq-conference-sse | broadcast-service | P4 | Medium | Real-time conference events |
| peeq-stream | broadcast-service | P4 | Medium | Stream management |
| webinar | broadcast-service | P4 | High | Webinar platform |
| Shoutouts | ||||
| peeq-shoutout | shoutout-service | P2 | Low | Active shoutout service |
| shoutout | shoutout-service | P2 | Low | Legacy shoutout service |
| Events | ||||
| onsite-event | event-service | P2 | Low | Legacy event service |
| peeq-onsite-event | event-service | P2 | Low | Active event service |
| Commerce | ||||
| peeq-stripe | commerce-service | P4 | High | Stripe integration |
| peeq-subscriptions | commerce-service | P4 | High | Subscription management |
| peeq-transaction | commerce-service | P4 | Medium | Transaction history |
| peeq-wallet | commerce-service | P4 | High | Dwolla wallet integration |
| stripe | commerce-service | P4 | High | Legacy Stripe service |
| subscriptions | commerce-service | P4 | High | Legacy subscriptions |
| transaction | commerce-service | P4 | Medium | Legacy transactions |
| wallet | commerce-service | P4 | High | Legacy wallet service |
| Notifications | ||||
| chat | notification-service | P3 | Medium | Chat messaging |
| notification-service | P3 | Low | Email notifications | |
| message-board | notification-service | P3 | Low | Message boards |
| notifications | notification-service | P3 | Low | Notification hub |
| peeq-email | notification-service | P3 | Low | Active email service |
| peeq-message-board | notification-service | P3 | Low | Active message board |
| peeq-notification-service | notification-service | P3 | Low | Active notification service |
| peeq-sms | notification-service | P3 | Low | SMS notifications |
| peeq-sse | notification-service | P3 | Medium | Server-sent events |
| sms | notification-service | P3 | Low | Legacy SMS service |
| sse | notification-service | P3 | Medium | Legacy SSE service |
| Analytics | ||||
| reporting | analytics-service | P2 | Low | Custom reporting |
| tracking | analytics-service | P2 | Low | Event tracking |
| Journey | ||||
| journey | journey-service | P2 | Low | User journey tracking |
| BPM Processes | ||||
| peeq-broadcast-bpm | bpm-service | P4 | Medium | Broadcast workflows |
| peeq-meet-and-greet-bpm | bpm-service | P2 | Medium | Event workflows |
| peeq-purchase-request-bpm | bpm-service | P4 | Medium | Purchase workflows |
| peeq-recording-meet-greet-keepsake-videos-bpm | bpm-service | P3 | Medium | Content workflows |
| peeq-shoutout-bpm | bpm-service | P2 | Low | Shoutout workflows |
| purchase-request-bpm | bpm-service | P4 | Medium | Legacy purchase workflows |
| shoutout-bpm | bpm-service | P2 | Low | Legacy shoutout workflows |
| GraphQL | ||||
| graphql-migration | api-gateway | P1 | Medium | GraphQL federation |
| graphql-spqr | api-gateway | ARCHIVE | N/A | Old GraphQL library (2024) |
| graphql-spqr-spring-boot-starter | api-gateway | ARCHIVE | N/A | Old GraphQL starter (2024) |
| Frontends (Keep Monorepos) | ||||
| peeq-mono | KEEP | N/A | N/A | Main Angular/Nx/Ionic monorepo |
| frontends | KEEP | N/A | N/A | Newer frontend monorepo |
| peeq-admin-fe | EVALUATE | N/A | Low | Admin frontend (2024) |
| peeq-celeb-fe | EVALUATE | N/A | Low | Expert frontend (2024) |
| peeq-library-fe | EVALUATE | N/A | Low | Library frontend (2024) |
| Infrastructure (Keep) | ||||
| argocd | KEEP | N/A | N/A | ArgoCD core |
| argocd-deployments | KEEP | N/A | N/A | Deployment definitions |
| argocd-previews | KEEP | N/A | N/A | Preview environments |
| argocd-reports | KEEP | N/A | N/A | ArgoCD reporting |
| helm-charts | KEEP | N/A | N/A | Helm charts |
| terraform-environment | KEEP | N/A | N/A | Terraform environment configs |
| terraform-modules | KEEP | N/A | N/A | Reusable Terraform modules |
| github-reusable-workflow | KEEP | N/A | N/A | GitHub Actions workflows |
| renovate-config | KEEP | N/A | N/A | Renovate bot config |
| Libraries | ||||
| core-lib | KEEP | N/A | N/A | Shared core library |
| peeq-shared-lib | ARCHIVE | N/A | N/A | Deprecated (2022) |
| peeq-shared-secret | ARCHIVE | N/A | N/A | Deprecated (2021) |
| Auth Themes (Keep) | ||||
| celeb-keycloak-theme | KEEP | N/A | N/A | Expert Keycloak theme |
| fan-keycloak-theme | KEEP | N/A | N/A | Fan Keycloak theme |
| cibseven-keycloak | KEEP | N/A | N/A | Camunda Keycloak theme |
| peeq-keycloak | EVALUATE | N/A | Low | Legacy Keycloak theme (2024) |
Archive Candidates (75 repos)
Services to Archive
| Repository | Last Commit | Reason | LOC |
|---|---|---|---|
| peeq-broadcast-query | 2021-01-18 | Superseded by knowledge-graph | 64,468 |
| peeq-celeb-broadcast | 2020-11-11 | Superseded by broadcast-service | 10,814 |
| peeq-charity | 2021-09-08 | Feature removed | 1,399 |
| peeq-custom-tixr | 2021-09-08 | Superseded by event-service | 2,161 |
| peeq-dwolla | 2023-01-27 | Integrated into commerce-service | 2,749 |
| peeq-etl | 2022-03-25 | Superseded by dlt-pipelines | 4,387 |
| peeq-external-task-gateway | 2022-10-26 | Integrated into bpm-service | 1,549 |
| peeq-image-processing | 2021-12-08 | Integrated into content-service | 2,993 |
| peeq-integration-test | 2020-11-05 | Deprecated test framework | 1,788 |
| peeq-kibana-deploy | 2022-02-09 | No longer used | 1,308 |
| peeq-load | 2022-03-05 | Load testing tool (use k6 instead) | 499,961 |
| peeq-logging | 2022-03-31 | Centralized logging in place | 1,753 |
| peeq-mux-livestream | 2023-06-27 | Integrated into broadcast-service | 9,573 |
| peeq-recommendation-engine | 2021-12-09 | Integrated into knowledge-graph | 1,354 |
| peeq-sandbox | 2022-06-13 | Sandbox environment no longer used | 67,899 |
| peeq-websocket | 2022-02-19 | Superseded by SSE | 19,720 |
| pvz-connect-be | 2023-08-17 | External integration no longer active | 14,105 |
| peeq-chat | 2024-08-08 | Superseded by chat service | 5,698 |
| peeq-webinar | 2024-08-12 | Superseded by webinar service | 10,021 |
Database Repos to Archive (All)
Reason: Flyway migrations now live in service repos, not separate -db repos
- peeq-broadcast-db, peeq-celebrity-db, peeq-charity-db, peeq-class-catalog-db
- peeq-content-db, peeq-custom-tixr-db, peeq-dwolla-db, peeq-encryption-db
- peeq-fan-db, peeq-flyway-db, peeq-group-profile-db, peeq-inventory-db
- peeq-media-db, peeq-message-board-db, peeq-mux-livestream-db
- peeq-notification-service-db, peeq-onsite-event-db, peeq-shoutout-db
- peeq-sse-db, peeq-stream-db, peeq-stripe-db, peeq-subscriptions-db
- peeq-tags-db, peeq-transaction-db, peeq-wallet-db, node-tracking-db
- And 3 more…
BPM Processes to Archive
- peeq-celeb-broadcast-bpm (2021) - Superseded
- peeq-fan-broadcast-bpm (2021) - Superseded
- peeq-handler-broadcast-bpm (2021) - Superseded
- peeq-mux-livestream-bpm (2023) - Integrated into broadcast-service
Frontend Apps to Archive
- peeq-celeb-fe-ui (2020) - Old expert frontend
- peeq-celebrity-app (2020) - Old expert mobile app
- peeq-fan-app (2020) - Old fan mobile app
- peeq-fan-fe (2023) - Superseded by peeq-mono
- peeq-fan-ionic (2022) - Superseded by peeq-mono
- peeq-handler-fe (2024) - Admin functionality in peeq-admin-fe
- peeq-shared-jitsi-library (2020) - Jitsi integration now in broadcast-service
POCs to Archive
- coolify-poc (2025) - POC completed
- dokploy-poc (2025) - POC completed
- firebase-poc (2025) - POC completed
Other to Archive
- peeq-airbyte (2022) - Superseded by dlt-pipelines
- peeq-celeb-ui (2020) - Old UI components
- peeq-documentation (2022) - Old documentation (598k LOC)
- peeq-encryption (2020) - Empty repo
- peeq-handler-keycloak-theme (2023) - Old theme
- peeq-jitsi-meet (2020) - Old Jitsi integration
- peeq-keycloak-archive (2022) - Already archived (357k LOC)
- peeq-kibana (2021) - Custom Kibana no longer used (360k LOC)
- peeq-meet-greet-operator (2022) - K8s operator no longer used
- peeq-meetandgreet-for-iOS (2021) - Old iOS app (546k LOC)
- peeq-nugets (2021) - .NET packages no longer used
- peeq-reporting (2022) - Superseded by analytics-service
- peeq-scheduler (2021) - Scheduling now in services
- peeq-talent-app (2022) - Old talent app
- peeq-zendesk (2021) - Empty repo
Priority Legend
- P1: Phase 1 (Foundation) - Months 1-3
- P2: Phase 2 (Low-Risk) - Months 3-6
- P3: Phase 3 (Core Domain) - Months 6-12
- P4: Phase 4 (Revenue Critical) - Months 9-15
- P5: Phase 5 (Knowledge/Orchestration) - Months 12-18
Complexity Legend
- Low: Simple consolidation, minimal refactoring
- Medium: Moderate refactoring, some integration work
- High: Extensive refactoring, complex integrations, large codebase
Decision Rules
Consolidate if:
- Same domain (e.g., celebrity + fan → profile)
- Similar functionality (e.g., stripe + subscriptions → commerce)
- Active or low-activity with recent commits
- Part of core platform functionality
Archive if:
- Last commit > 2 years ago (before 2024)
- Functionality superseded by another service
- POC/experimental/sandbox repo
- Separate -db repo (migrations now in service repos)
- Empty or minimal code (< 500 LOC)
- External integration no longer active
Keep if:
- Active monorepo (peeq-mono, frontends)
- Infrastructure (ArgoCD, Helm, Terraform)
- Shared library (core-lib)
- Keycloak theme (celeb, fan, cibseven)
- DevOps tooling (GitHub Actions, Renovate)
Evaluate if:
- Low activity (last commit in 2024)
- Unclear ownership or purpose
- Potential duplication with other repos
Notes
- Total Services: 107+ → 15 (86% reduction)
- Total Repos: 190 → ~35 (82% reduction)
- Archive Candidates: 75 repos (~3.8M LOC)
- Consolidation Effort: 18-20 months (phased approach)
For detailed analysis: Service Consolidation Analysis
For executive summary: Consolidation Summary