Open georgeaf99 opened 8 years ago
The original decision was to create multiple micro-services for each of these new components. For now, it would incur a great deal of overhead to attempt to put our service on different EBS environments. However, it is important that it is easy to separate delivery.py and run it as its own micro-service in the future.
Delegators should be able to create receipts using the quote they received from postmates.py and only actually schedule the delivery when the quote has been paid for in full.
To Do:
Optional/Discuss More:
We need to have generic API endpoints that support the chosen backend for a service. When integrating the postmates API we need to have the following endpoints:
/delivery/get_quote /delivery/create_delivery /delivery/status_change
We also need to have a table in the database for outstanding deliveries. This table will have a transaction_uuid as hash key and timestamp as a range key.