Skip to main content

Ghasi Melmastoon — Service Index

22 services grouped by bounded context. Each service has the standard 17-doc deep bundle under services/<service>/, and a one-page summary under docs/03-microservices/<service>.md that participates in the strategic doc set. Source intent for the catalog lives in system.md; the canonical end-state stack and contracts are in the README.

When a service bundle and the strategic docs disagree, the strategic docs (docs/01..19-*.md) win until the service bundle is brought to readiness via the audit loop in docs/standards/SERVICE_READINESS.md.

Identity & Tenancy

ServiceResponsibilityDeep bundleCatalog summary
tenant-serviceTenant lifecycle, plan, billing identity, feature flags, settlement currency, theme binding, onboarding statebundlesummary
iam-serviceAuthN (JWT access + refresh), OIDC/SAML SSO, RBAC + ABAC, device binding for the desktop app, API keys, session revocationbundlesummary

Property & Inventory

ServiceResponsibilityDeep bundleCatalog summary
property-serviceProperty + room + room-type catalog, amenities, geo-location, photos, policies, calendar variantsbundlesummary
inventory-serviceAvailability, allocation, overbooking guard, stop-sell windows, room state lifecycle (clean / dirty / OOO / OOS)bundlesummary

Reservations & Pricing

ServiceResponsibilityDeep bundleCatalog summary
reservation-serviceReservation aggregate (book → confirm → check-in → check-out → no-show / cancel), walk-ins, group bookings, modifications, channel portbundlesummary
pricing-serviceRate plans (BAR, weekly, government, corporate, non-refundable), restrictions (MinLOS / CTA / CTD), seasonal calendars, FX snapshot at confirmbundlesummary

Operations

ServiceResponsibilityDeep bundleCatalog summary
housekeeping-serviceHousekeeping board, task assignment, room turnover SLA, AI-suggested cleaning order, offline updates from desktopbundlesummary
maintenance-serviceWork orders, asset registry, preventive schedules, OOS room coordinationbundlesummary
staff-serviceStaff profiles, roles, shifts, lightweight time tracking; integrates with iam-service for identitybundlesummary

Finance

ServiceResponsibilityDeep bundleCatalog summary
billing-serviceFolios, charges, taxes, invoices, refunds, end-of-day reconciliation, cash-drawer accounting, dual-currency lines (transaction + settlement) with FX snapshotbundlesummary
payment-gateway-servicePluggable payment adapters: PayPal, Visa/Debit, cash-on-arrival reconciliation, MFS (JazzCash, Easypaisa, Fawry, M-Pesa, Wave), Sharia-compliant policy enforcementbundlesummary

Communication

ServiceResponsibilityDeep bundleCatalog summary
notification-serviceMulti-channel delivery (email, SMS, push, WhatsApp, Viber), pre-arrival sequences, receipts, post-stay feedback, AI-drafted multilingual messages with provenancebundlesummary

Reporting & Analytics

ServiceResponsibilityDeep bundleCatalog summary
reporting-serviceTwelve canonical reports (occupancy, ADR, RevPAR, GPAR, channel mix, payment mix, EOD, audit log, etc.), scheduled exports (PDF / CSV), offline cache of recent reportsbundlesummary
analytics-serviceCross-cutting KPI rollups, projections from event stream, time-series + cohort aggregates, feeds dashboards on the desktop appbundlesummary

AI & Theming

ServiceResponsibilityDeep bundleCatalog summary
ai-orchestrator-serviceSingle broker for every LLM, embedding, TTS, vision, and moderation call. Vertex AI for cloud, ONNX Runtime Node for edge inference on the Electron desktop. Provenance-tags every output and enforces HITL where action is irreversible or guest-facingbundlesummary
theme-config-serviceTenant theming (logo, color tokens, type ramp), layout presets, content blocks (about, policies, FAQs), RTL/LTR defaults, runtime delivery to web + mobile + desktop surfacesbundlesummary

Storage & Integration

ServiceResponsibilityDeep bundleCatalog summary
file-storage-servicePhotos, invoices, ID documents, signed URL issuance, sensitivity tiers, CMEK for ID-doc tier, retention policies per tenantbundlesummary
lock-integration-servicePluggable lock vendor adapters (TTLock, Salto, Assa Abloy, generic Wiegand / RFID), key lifecycle tied to reservation state machine, vendor-specific failure handling, offline key snapshot for the desktopbundlesummary

Search & BFFs

ServiceResponsibilityDeep bundleCatalog summary
search-aggregation-servicePowers the consumer meta layer; cross-tenant indexing of properties, rooms, prices, availability, amenities; geo + filter + ranking; safe cross-tenant queries with synthetic consumer scopebundlesummary
bff-consumer-serviceBFF for the consumer meta web + the consumer mobile app; collapses search-aggregation, pricing, property, and theme calls into a single contract per screenbundlesummary
bff-tenant-booking-serviceBFF for the tenant-branded booking flow on web + mobile; serves themed shells, runs the booking saga (reservation + inventory + payment), publishes confirmationsbundlesummary
bff-backoffice-serviceBFF for the Electron desktop app; owns the `/sync/v1/pullpush` protocol, packages per-aggregate projections for SQLite, brokers AI calls, and gates the device-bound session modelbundle

Total: 22 services. Each follows the SERVICE_TEMPLATE with 17 canonical docs. See NAMING for service, event, and API conventions, and the enterprise architecture for how the 22 services compose into the platform's three user-facing surfaces (consumer meta, tenant booking, Electron desktop backoffice).