aws-samples / retail-demo-store

AWS Retail Demo Store is a sample retail web application and workshop platform demonstrating how AWS infrastructure and services can be used to build compelling customer experiences for eCommerce, retail, and digital marketing use-cases
MIT No Attribution
726 stars 515 forks source link

Fix delivery status in the order service 521 #522

Closed Adibuer-lab closed 1 year ago

Adibuer-lab commented 1 year ago

Issue #, if available: #521

Description of changes: Aded PUT route to orders/id/{orderid} to api gateway change dynamo client to resource so no custom (de)serialisation needed stop mutating orders, use deepcopy instead to create copies of orders when updating rather than references to previous orders

Description of testing performed to validate your changes (required if pull request includes CloudFormation or source code changes): unit tests

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.