Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • I information
  • Project information
    • Project information
    • Activity
    • Members
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
Collapse sidebar

webGo Information wiki

  • webGo
  • information
  • Wiki
  • Gomenu
  • BYOD flow

Last edited by Martin Lam Mar 22, 2021
Page history

BYOD flow

On page load

sequenceDiagram
  participant App Service
  participant Config Server
  participant Shop Server
  participant POS

  App Service->>+Config Server: Use the token to exchange<br/>the table number after page load
  Config Server->>+Shop Server: Pass the request to shop via a tunnel
  Shop Server-->>-Config Server: Return the validation result
  Config Server-->>-App Service: Use the table number to load order<br/>or display an error
  App Service->>Config Server: Get the config like the theme, buffet menu, etc.
  App Service->>+Config Server: Load the table order to ensure the table is ready
  Config Server->>+Shop Server: Pass the request to shop via a tunnel
  Shop Server->>+POS: Get the detail of the table
  POS-->>-Shop Server: Return the detail of the table
  Shop Server-->>-Config Server: Return the detail of the table
  Config Server-->>-App Service: Serve regular menu or buffet menu<br/>by checking the detail of the table

Place order

sequenceDiagram
  participant App Service
  participant Config Server
  participant Shop Server
  participant POS

  App Service->>+Config Server: Place the table order with an order token
  Config Server->>+Shop Server: Pass the request to shop via a tunnel
  Shop Server->>+POS: Return an error if the order token is in<br/>the success list or the pending list.<br/>Pass to POS if not in the success list<br/>and the pending list.
  POS-->>-Shop Server: Return a status
  Shop Server-->>-Config Server: Return the status
  Config Server-->>-App Service: Display the success message or the error message
Clone repository
  • goFTP
    • notes
    • released apk version
  • goMenu
    • BYOD flow
    • error code UCR integration
    • experimental installation for byod
    • symlink static files list
    • uat environment
  • goPOS
    • clear test data before new shop opening
    • daily clearance run before all transactions processed tenren
    • daily clearance run before all transactions processed
    • missing handle update payment
  • goPick
    • error code table
  • goQueue
    • Components Version Compatibility
    • Features and Compatibility
    • Released APK Version
View All Pages