StorePick Webshop Orders

Overview

This lambda function will get the data from the API and it will get the data on the basis of nextpagetoken and all as an additional parameter and get the response and check with the order history api with minimum 5 retries option and it form the assync call with the refunds api and will give the refund of each order getting in order history and it combine with nextpagetoken and forwaded to salesforce

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-7645.

Bitbucket repository

webshop service orders.

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.

Components


Diagrams

webshop service Order API

_images/orders_api.PNG