How santhansai11/cloud-native-devops-project works
This repository contains the OpenTelemetry Astronomy Shop: a microservice e-commerce application, with deployment infrastructure described separately in the README. Its user workflow is browsing products and prices, managing a cart, and submitting an order; checkout coordinates fulfillment and confirmation. The graph emphasizes source-supported runtime relationships and preserves other substantial shop services as independent capabilities. Several service implementations are unsampled, so their internal links are omitted rather than inferred.
Main entry points: main.go Checkout Service · ProductCatalog.service.ts Product Browsing · index.tsx Web Storefront · CartService.cs Cart Service
Components 24
Storefront
- Web Storefront
src/frontend/pages/index.tsx - Product Browsing
src/frontend/services/ProductCatalog.service.ts - Catalog Gateway
src/frontend/gateways/rpc/ProductCatalog.gateway.ts - Currency Gateway
src/frontend/gateways/rpc/Currency.gateway.ts - Cart UI
src/frontend/providers/Cart.provider.tsx - Checkout UI
src/frontend/components/CheckoutForm/CheckoutForm.tsx - Mobile App
src/react-native-app/app/(tabs)/index.tsx
Commerce Services
- Product Catalog
src/product-catalog/main.go - Cart Service
src/cart/src/services/CartService.cs - Valkey Cart Store
src/cart/src/cartstore/ValkeyCartStore.cs - Checkout Service
src/checkout/main.go - Currency Service
src/currency/src/server.cpp
Order Fulfillment
- Shipping Service
src/shipping/src/shipping_service.rs - Quote Calculation
src/shipping/src/shipping_service/quote.rs - Email Service
src/email/email_server.rb - Order Event Producer
src/checkout/kafka/producer.go
Shop Capabilities
- Ad Service
src/ad/src/main/java/oteldemo/AdService.java - Recommendations
src/recommendation/recommendation_server.py - Fraud Detection
src/fraud-detection/src/main/kotlin/frauddetection/main.kt - Accounting Consumer
src/accounting/Consumer.cs - Quote Service
src/quote/app/routes.php - Payment Service
src/payment/charge.js - Feature Flag UI
src/flagd-ui/src/components/basic/BasicView.tsx
Other components
- Shopper
Connections 13
- Shopper → Web Storefront: browses
README.md - Web Storefront → Product Browsing: shows products
- Product Browsing → Catalog Gateway: requests products
src/frontend/services/ProductCatalog.service.ts - Product Browsing → Currency Gateway: converts prices
src/frontend/services/ProductCatalog.service.ts - Shopper → Cart UI: manages cart
- Shopper → Checkout UI: submits order
- Checkout Service → Cart Service: reads and empties
src/checkout/main.go - Cart Service → Valkey Cart Store: reads and writes
src/cart/src/services/CartService.cs - Checkout Service → Shipping Service: requests shipping
src/checkout/main.go - Shipping Service → Quote Calculation: calculates quote
src/shipping/src/shipping_service.rs - Checkout Service → Currency Service: converts amounts
src/checkout/main.go - Checkout Service → Email Service: sends confirmation
src/checkout/main.go - Checkout Service → Order Event Producer: publishes order
src/checkout/main.go