๐ ๏ธ Potential Solutions
Enhance existing search input to accept and search by loyalty ID, and communicate with loyalty service to get the consumer information.
โ Proposed Solution
Enhance the existent search bar inside the home screen to accept the loyalty id.
For that, it can be added a new line to indicate the new type of data (loyalty id) and a new validation to the input that will expect the LoyaltyId(UUID) format.
Enhance admin app to consume the loyaltyId and communicate to loyalty API.
For that, it can be created a new method in AdminApp to communicate with Intl Loyalty Middleware service. This method will receive the loyaltyId and country and will return the specific loyalty user attributes, cognitoID(User ID) and email.
This idea is validated in this POC
How to get input data?
Since loyaltyId information are stored in distributed tables per country. Loyalty Middleware API requires country as part of the inputs. For that, proposed solution intends to pass the operator country using the following logic. Go through operators user groups and check by the <country>-admin groups.
Based on that, admin-app needs to provide this country as part of the inputs.
What if there are more than 1 country?
Then admin-app needs execute one query per country and stop the search once it finds a customer. E.g.: In Iberia region (euw3) there are only 2 countries ( Portugal and Spain). Since itโs a support tool with few operators, no issues with performance is expected.
โ ๏ธPotential Challenges
Not applicable
๐ฐ Cost
Not applicable
๐๏ธ Configuration
Operators needs to be assigned to <country>-admin user groups.
๐ 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