Implement rating API in BPP adapter plugin
Closed this issue · 1 comments
vishi24 commented
Description
Modify the rating API based on the new approach that can handle new domains with configuration changes or minimal code-level changes.
Goals
- Development of rating API with the new approach and make a call back for on_rating.
Expected Outcome
Rating API as per the new approach should work seamlessly with all the existing domains and should be able to accommodate new domains. It should be working correctly and providing the latest status on an order to the user.
Acceptance Criteria
- Rating API working with all current domains.
- API must update the rating of the service/product/provider and update the rating table also.
- On making a rating call, it should call back on_rating with the correct response to the request.
Implementation Details
Add logic on the rating endpoint to update the rating correctly associated with the service/product/provider.
Create JSONata file for transforming the query response to BECKN format.
Transform the query response to BECKN format using transformer and JSONata.
Mockups / Wireframes
NA
Product Name
Beckn
Project Name
strapi-plugin
Organization Name:
FIDE
Domain
NA
Tech Skills Needed:
Strapi
Node
Complexity
Medium
Category
Feature
Sub Category
API