Challenge Overview
We want to migrate the retrieve leaderboards functionality written in Node JS and running in Lambda to member service.
This should be implemented in the member-service under the following endpoint:
GET /v3/leaderboards
It should support filter parameter like
/v3/leaderboards/?filter=type%3DMEMBER_SKILL%26name%3Djava Retrieve Top 10 members that have skill java
Existing Node Implementation
Here is the source for the lambda node.js function: https://github.com/appirio-tech/tc-lambda-leaderboards/blob/dev/src/index.js
Please also create a swagger.yaml file to describe the new API.
Notes:
https://www.elastic.co/blog/changing-mapping-with-zero-downtime
About Local Environment
The related source code and local environment setup guide will be provided in forum for development of this challenge. Please check the forum for detail, and raise earlier if you meet any problem.
Final Submission Guidelines
- Code Changes For the migrated endpoint- Deployment Guide and Verification Steps For local environment