YPB Command Center

10 apps — 13 APIs — Portal

AboutdevJIM-RAYNOR

Viewing as: admin(role-based filtering coming via Clerk)

Platform Status

Live diagnostics from all APIs and infrastructure

⚔️

API Status

checking 13...

Live diagnostics from /api/diagnostics/version — Protoss APIs + Zerg processors

Orders APIEXECUTOR-TASSADAR

Order ingestion, CRUD, classification, webhook → Service Bus

fa-tassadar-dev.azurewebsites.net
Inventory APIHIERARCH-ARTANIS

ShipStation sync, stock levels, forecasting, replenishment alerts

fa-artanis-dev.azurewebsites.net
Quotes APIPRELATE-ZERATUL

Quote generation, pricing engine, PDF export, history

fa-zeratul-dev.azurewebsites.net
COA APIPRAETOR-FENIX

Certificate generation, PDF stamping, verification endpoints

fa-fenix-dev.azurewebsites.net
Payments APITEMPLAR-ALDARIS

Stripe integration, approval workflows, accounts receivable

fa-aldaris-dev.azurewebsites.net
Clients APIMATRIARCH-VORAZUN

CRM profiles, client tiers, encrypted credential storage

fa-vorazun-dev.azurewebsites.net
Brand Studio APIHIGHLORD-ALARAK

Template management, AI generation, design asset storage

fa-alarak-dev.azurewebsites.net
Catalog APISENTINEL-URUN

Products, pricing tiers, categories, SKU management

fa-urun-dev.azurewebsites.net
Fulfillment APIEXECUTOR-SELENDIS

Order orchestration, tracking, ops metrics, revenue

fa-selendis-dev.azurewebsites.net
Shipping APINAVIGATOR-ROHANA

ShipStation integration layer, rate shopping, label generation

fa-rohana-dev.azurewebsites.net
QuickBooks APICONSERVATOR-CLOLARION

Invoicing, financial sync, AR/AP reconciliation

fa-clolarion-dev.azurewebsites.net
Users APIWARDEN-TALANDAR

Roles, permissions, IBO profiles, Clerk identity sync

fa-talandar-dev.azurewebsites.net
🦎

Zerg Processors

Order ProcessorBROODMOTHER-ZAGARA

Service Bus trigger — async order processing pipeline

fa-zagara-dev.azurewebsites.net
☁️

Azure Resources

YPB Starcraft subscription

Managed by Terraform (EVOLUTION-ABATHUR) — East US 2

🗄️
Cosmos DBHIVEDatabase

Source of truth — 12 containers, shared autoscale 1,000 RU/s, free tier enabled

cosmos-hive-dev
🔐
Key VaultCARAPACESecrets

Protective shell — all API keys, connection strings, managed identity access

kv-carapace-ypb-dev
📡
Service BusNYDUSMessaging

Transport tunnels — orders-inbound + notifications queues

sb-nydus-dev
📈
App InsightsMonitoring

Azure telemetry — Function App performance, errors, and dependencies

appinsights-dev
📝
Log AnalyticsLogging

Centralized log sink for all Azure resources — 30 day retention (dev)

log-dev-eastus2
Consumption PlanCompute

Shared serverless plan for all 13 Function Apps — pay per execution

EastUS2Plan
🗄️

Cosmos DB Containers

HIVE / hive-01
tassadarHPK
Orders/clientId → /yearMonth → /orderId
tassadarOrders
Orders data — HPK distributes writes across clients and time periods to prevent hot partitions from high-volume clinics
Partition: /clientId → /yearMonth → /orderId
Writer: EXECUTOR-TASSADAR
zeratulHPK
Quotes/clientId → /yearMonth
zeratulQuotes
Quote proposals — HPK by client and month for efficient per-client quote history queries
Partition: /clientId → /yearMonth
Writer: PRELATE-ZERATUL
aldarisHPK
Payments/clientId → /yearMonth
aldarisPayments
Payment records — HPK by client and month for AR reporting and payment history
Partition: /clientId → /yearMonth
Writer: TEMPLAR-ALDARIS
selendisHPK
Fulfillment/clientId → /orderId
selendisFulfillment
Fulfillment tracking — HPK by client and order for multi-writer access (ZAGARA processor + ROHANA shipping)
Partition: /clientId → /orderId
Writer: EXECUTOR-SELENDIS
artanisHPK
Analytics/clientId → /period → /metricType
artanisAnalytics
Analytics metrics — 3-level HPK prevents hot partitions on period-based writes, queryable per client per time range
Partition: /clientId → /period → /metricType
Writer: HIERARCH-ARTANIS
clolarionHPK
Invoices/clientId → /yearMonth
clolarionInvoices
QuickBooks invoice sync — HPK by client and month for financial period queries
Partition: /clientId → /yearMonth
Writer: CONSERVATOR-CLOLARION
vorazun
Clients/id
vorazunClients
Client profiles and CRM data — simple key, one document per client, point reads by ID
Partition: /id
Writer: MATRIARCH-VORAZUN
horner
Inventory/sku
hornerInventory
Stock levels and forecasting — simple key by SKU, ~100-500 products, even distribution
Partition: /sku
Writer: HIERARCH-ARTANIS
fenix
COA/sku
fenixCOA
Certificates of Analysis — simple key by SKU, one COA per batch per product, low write volume
Partition: /sku
Writer: PRAETOR-FENIX
urun
Catalog/sku
urunCatalog
Product catalog — simple key by SKU, read-heavy reference data, rarely written
Partition: /sku
Writer: SENTINEL-URUN
talandar
Users/userId
talandarUsers
User accounts and permissions — simple key, one document per user, high cardinality
Partition: /userId
Writer: WARDEN-TALANDAR
alarak
Brand Assets/clientId
alarakBrand Assets
White-label design templates and brand assets — simple key by client, each client owns their assets
Partition: /clientId
Writer: HIGHLORD-ALARAK