@YohanAvishke Researched on Kubernetes and realised that Kubernetes by itself is not enough to perform as a gateway. After some more research, found out about Istio, which is an API gateway.
Can solve after implementing the Kubernate gateway
A mistake in the API documentation
Anjula fix it
Completed the common API
Next week
Piumal keep working on the APIs - Handle users with hardcoded data
Yohan’s task is a blocker to initiate other tasks
API doc changes
Update the API documentation of mentor and mentee endpoints with the related id to identify the user.
Need to validate users with the token before sending mentee and mentor resources.
Get applied mentors, apply for a mentor of Mentee APIs should be using APIs that get the user id with the request. (Eg: Change API path as: me/programs/{program_id}/mentors)
Related threads:
Frontend
Completed the main structure of the admin dashboard
Update the design doc with screenshots of Argon design font styles, add screenshots of the places the typography updates will affect, add reasoning(if possible) for the changes to each and every typographical change : @Gimhan_minion, @Janeth_Fernando
ScholarX
Backend
Had a discussion about the mentor approval concurrency issue
Decided to add a new program state as a solution
Sent a PR for a Mentee API (To get the approved mentors list)
Configured kong ingress controller locally and updated the thread with necessary details
Next week
Add the issue(500 exception) for the get mentees of a mentor : @piumal1999
Add state query param to get state of a program mentor(admin API) : @piumal1999
Just checking! I hope we can add a new coloumn to store the mentors preferences(1st, 2nd and 3rd)! This is not urgent for the Nov release, but it is good to have before next Feb(before the launch for students)
Argon default purple colour: primary colour, and a secondary colour (from site logo)
Update the sef scholarx page with requested changes
Update the info to 2021
Add a google form for mentors to show their interest
ScholarX
Backend
Merged Piumal’s Implement get all mentors and get a mentor by id endpoints PR @jaye
Piumal fixed some minor bugs as well with the above PR
For some endpoints instead of throwing a 404 error, even when there is just no content to show, suggested to use a content not found exception, which sends a status code of 204
Next step:
Finding an alternative for the user authentication part to simulate the app
Piumal have already started on a cookie-based solution: priority
Fix the bug in approve/reject mentor endpoint: priority
Create two issues for mentor approve/rejection and removal APIs: not a priority
Immediately add 204 status code for empty array responses: priority
Add non-admin API to remove my mentee application: not a priority
Add validations to check if a user is accessing invalid an API
If I’m a mentor I cannot apply to other mentors
Frontend
@miluckshan-j finished the UI part of manage mentors view
Suggestion for the next week:
Taking a pull from the backend and wiring the UI with the corresponding backend endpoints
Keeping the buttons disable instead of hiding them
@anjisvj finished implementing the view for apply as a mentee scenario
Next week:
Getting the PR merged
@Gimhan_minion started working on creating mentees for a mentor
Next week:
Finishing the task and sending the PR
Next steps:
Changing the home page program list view into two tabs as mentoring programs and other programs that the particular user is a mentee of (and coming up with a good name for tab) @anjula
Adapting the UI to simulate the whole flow by using cookie-based user logged in deceptor
Suggestion: Using a context to keep the user details and render stuff accordingly
@anjisvj Faced an issue using the confirm mentee endpoint, a 400 status code stating that something is wrong with the cookie, @YohanAvishke and @piumal1999 suppose that it might be a backend problem and looking into it
Creating a new UI for mentees to select a mentor if the mentee was approved by multiple mentors or view the only approved mentor or display a message accordingly if niether.
-Update :
@anjisvj Sent a draft PR completing the basic mentor confirmation user interface
And he’s planning to add secondary views with appropriate messages and complete the PR within the weekend, before 21st
Updating the change program state UI with mentor confirmation state
-Update :
Changing program state task hasn’t been started yet, but @Gimhan_minion is planning to send the PR before next Tuesday