Inventory submission
Sequence diagram for an Inventory Location Measurement Submission:
sequenceDiagram
iOS->>+Firestore Venue Inventory Measurements: Save in Couchbase
Firestore Venue Inventory Measurements->>+UI Screen: Display count
iOS->>+Firestore Offline Operation: Push change offline
Firestore Offline Operation->>+Wisk Queue: Done by the Firestore listener
Wisk Queue->>+Wisk Horizon: Schedule in Queue
Wisk Horizon->>+Wisk Queue: Time to execute
Wisk Queue->>+Wisk API Realtime: Execute the offline operation on the API
Wisk API Realtime->>+Wisk DB Inventory Location Measurement: save in Postgres
Wisk API Realtime->>+Wisk DB Timeline: Save raw operation in Postgres
Wisk API Realtime->>Firestore Venue Inventory Measurements: Save in Couchbase
Firestore Venue Inventory Measurements->>iOS: Reaches back to client
iOS->>UI Screen: UI Refreshed
The services that are involved are:
- iOS
- wisk-firestore-listener
- wisk-queue
- wisk-horizon
- wisk-api-realtime
- wisk-couchbase
The database involved are:
- wisk-db
- inventory/inventory_locations/inventory_location_measurements
- timeline
- wisk-queue
- jobs
- redis (for the wisk-horizon)
- couchbase (for wisk-couchbase)
- firestore (for the iOS)