๐ ๏ธ Potential Solutions
Update the exist search input to accept and search by loyalty ID, and communicate with loyalty service to get the consumer information.
โ Proposed Solution
Updated the exist search bar inside the home screen to accept the loyalty id. Adding a new line in this message to indicate the new kind of data (loyalty id) and a new validation to the input that will expect the LoyaltyId(UUID) format.
Update the admin app to consume the loyaltyId and communicate to loyalty API. Creating a new method to communicate the AdminApp to Intl Loyalty Middleware service. This method will receive the loyaltyId and will return the specific loyalty user attributes, cognitoID(User ID) and email.
All this idea already validate in a POC.
Country Solution
To the above flow works, a new information is necessary. The Loyalty Service expect in all call, the country in ISO format be specified (ES, PT, UK, โฆ). Current the Admin App doesnโt have a way to delivery this properly. After an AWS analyses, was found that majority of the users are roles admin, and this role follow this format: ISO country + โ-adminโ. Based on this, is possible ready this information in the search page, split this to get the country code and send with the loyaltyId, making possible all the flow without any other configuration or creation (except the code mentioned in this document).
โ ๏ธPotential Challenges
Was made a POC to map all the challenges and no one appear.
๐ฐ Cost
No additional cost will be necessary.
๐๏ธ Configuration
No configuration will be necessary.
๐ Metrics
To be defined by Design/Data Team.
๐๏ธ Delivery Plan
Link to the task or list of all the tasks required to deliver the solution, along with its progress.
๐งโ๐ QA Plan
To be defined by QA Team.
โ ๏ธ Call-outs
No call-outs
0 Comments