StorePick Webshop Order Details

Overview

API that provides full details on the order, including: main details, address if available, items details, refunds and payment information (does not include route). The Lambda will retrieve the specific order details. If cancellationReasonId is provided in the response then include order cancellation reasons API as well. Call the effective product proposition API, refunds API, refundables API, refund request API

Account Needed

AWS accounts will be required for DEV/SIT/PROD.

References

  1. Python Service with infrastructure as code.

  2. Unit tests & code coverage at about 90%+

  3. Configuration for multiple environments, DEV/SIT/PRD

Document

Ref

Architecture Document

Solution Architecture.

Jira Story

Technical Elaboration - SPDP-6770.

Bitbucket repository

storepick-webshop-service-order-details.

Testing Approach

We will be using a BDD approach where the behaviour will be tested first the code will be developed to match the tested behaviour.

Deployment strategy

The deployment is handled by a jenkins multibranch pipeline,sk-feature. The commit in the develop branch will automatically deploy the application to the aws environments. The release is done by standard process of tagging the release branch, and by building and deploying from the tags. The tag format is sit-v*-<commit> for nonprod and prd-v*-<commit> for the production release. These tags are manually built on jenkins after the change request has been approved. The release branch is merged to the stable master branch after the successful production deployment.

Diagrams

Order details Lambda work flow diagram

_images/seq-storepick-webshop-service-order-details.png