Skip to content

Latest commit

 

History

History
179 lines (167 loc) · 4.55 KB

README.md

File metadata and controls

179 lines (167 loc) · 4.55 KB
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>

demo.sysl

Package
Backend
External
Frontend

Integration Diagram

%% AUTOGENERATED CODE -- DO NOT EDIT!

graph TD
    DeliveryServer
    Sizzle
    Mobile
 Mobile["Mobile"] --> ProductServer["ProductServer"]
 Mobile["Mobile"] --> OrderServer["OrderServer"]
    Dashboard
 Dashboard["Dashboard"] --> PaymentServer["PaymentServer"]
 PaymentServer["PaymentServer"] --> Visa["Visa"]
 PaymentServer["PaymentServer"] --> MasterCard["MasterCard"]
    Common
    Visa
    PaymentServer
    Dine-in_Customer
 Dine-in_Customer["Dine-in Customer"] --> Dashboard["Dashboard"]
 Dine-in_Customer["Dine-in Customer"] --> Mobile["Mobile"]
    Website
 Website["Website"] --> IdentityServer["IdentityServer"]
 IdentityServer["IdentityServer"] --> MegaDatabase["MegaDatabase"]
 Website["Website"] --> ProductServer["ProductServer"]
 Website["Website"] --> OrderServer["OrderServer"]
 Website["Website"] --> PaymentServer["PaymentServer"]
    IdentityServer
    MegaDatabase
    Cache
    MasterCard
    Online_Customer
 Online_Customer["Online Customer"] --> Website["Website"]
    ProductServer
    OrderServer

End Point Analysis Integration Diagram

%% AUTOGENERATED CODE -- DO NOT EDIT!

graph TD
 subgraph 1["Common"]
 end
 subgraph 2["Visa"]
  Pay --> ...
 end
 subgraph 3["Dine-in Customer"]
  Review --> Mobile-Review
  Menu --> Mobile-Menu
  Order --> Mobile-Order
  PlaceOrder --> Mobile-PlaceOrder
  Pay --> Dashboard-Pay
 end
 subgraph 4["Website"]
  Login --> IdentityServer-Authenticate
  Profile --> IdentityServer-CustomerProfile
  Profile --> ok_Customer
  PlaceOrder --> OrderServer-UpdateOrderStatus
  Review --> OrderServer-Review
  Signup --> IdentityServer-NewCustomer
  ChangePassword --> IdentityServer-UpdatePassword
  ChangePassword --> ok
  Menu --> ProductServer-Menu
  Order --> OrderServer-Order
  Pay --> PaymentServer-Pay
 end
 subgraph 5["IdentityServer"]
  NewCustomer --> MegaDatabase-InsertCustomer
  NewCustomer --> ok_Customer
  Authenticate --> 200_MegaDatabase.Empty
  Authenticate --> 401_UnauthorizedError
  CustomerProfile --> MegaDatabase-SelectCustomer
  CustomerProfile --> ok_Customer
  UpdatePassword --> ok
 end
 subgraph 6["PaymentServer"]
  Pay --> Visa-Pay
  Pay --> MasterCard-POST/pay
  Pay --> 500NotSupportedError
  Pay --> 200
 end
 subgraph 7["Online Customer"]
  Signup --> Website-Signup
  Login --> Website-Login
  Login --> Website-Profile
  Changepassword --> Website-ChangePassword
  Menu --> Website-Menu
  Order --> Website-Order
  PlaceandPayOrder --> Website-PlaceOrder
  PlaceandPayOrder --> Website-Pay
  Review --> Website-Review
 end
 subgraph 8["ProductServer"]
  Menu --> ok_Products
 end
 subgraph 9["OrderServer"]
  Order --> ok_Order
  Order --> ok_Order
  UpdateOrderStatus --> ok_Order
  Review --> ok_Order
 end
 subgraph 10["MegaDatabase"]
  InsertCustomer --> ...
  InsertCustomer --> ok
  SelectCustomer --> ...
  SelectCustomer --> ok
 end
 subgraph 11["Cache"]
 end
 subgraph 12["MasterCard"]
  POST/pay --> error
  POST/pay --> ok_SimpleObj
 end
 subgraph 13["Sizzle"]
  Frontend --> Application
  Backend --> IdentityServer
  Backend --> ProductServer
  Backend --> OrderServer
  Backend --> PaymentServer
  Backend --> DeliveryServer
  Backend --> Database
  External --> MasterCard
  External --> Visa
 end
 subgraph 14["Mobile"]
  PlaceOrder --> OrderServer-UpdateOrderStatus
  Review --> OrderServer-Review
  Menu --> ProductServer-Menu
  Order --> OrderServer-Order
 end
 subgraph 15["Dashboard"]
  Pay --> PaymentServer-Pay
 end
 subgraph 16["DeliveryServer"]
 end
 Mobile-Review --> Review
 Mobile-Menu --> Menu
 Mobile-Order --> Order
 Mobile-PlaceOrder --> PlaceOrder
 Dashboard-Pay --> Pay
 IdentityServer-Authenticate --> Authenticate
 IdentityServer-CustomerProfile --> CustomerProfile
 OrderServer-UpdateOrderStatus --> UpdateOrderStatus
 OrderServer-Review --> Review
 IdentityServer-NewCustomer --> NewCustomer
 IdentityServer-UpdatePassword --> UpdatePassword
 ProductServer-Menu --> Menu
 OrderServer-Order --> Order
 PaymentServer-Pay --> Pay
 MegaDatabase-InsertCustomer --> InsertCustomer
 MegaDatabase-SelectCustomer --> SelectCustomer
 Visa-Pay --> Pay
 MasterCard-POST/pay --> POST/pay
 Website-Signup --> Signup
 Website-Login --> Login
 Website-Profile --> Profile
 Website-ChangePassword --> ChangePassword
 Website-Menu --> Menu
 Website-Order --> Order
 Website-PlaceOrder --> PlaceOrder
 Website-Pay --> Pay
 Website-Review --> Review