Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DOP inserts this information in DynamoDB and after the flow of delivery gets this information in the same flow above.

Example table structure:

Code Block
languagejson
Pk: restaurant#idstore 
Sk: idstore
Rules: {
  flagRuleOne: true // Flag to active or desactive the rule
  ruleOne: 50.00 // rule value
  flagRuleTwo: false // Flag to active or desactive the rule
  ruleTwo: 00 // rule value
  flagRuleThree: // Flag to active or desactive the rule, it doesn’t have other value
}
Date: datetime
User: userX

Detailed solutions

Our biggest question is what is the best way to achieve this integration.
It doesn't make sense for DOP to store this directly in DynamoDB, we believe that the best way is to use a service that will be in charge of manipulating this information.
For this we have two options:

...