Repository navigation
Add pre-app recommendation on the RDK platform - #12872
Conversation
🤖 Gemini Suggested Commit Message💡 Pro Tips for a Better Commit Message:
|
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new pre-app recommendation service to handle YouTube recommendations within the RDK shared platform service. The reviewer provided highly actionable feedback to improve the architecture, robustness, and security of the implementation. Key recommendations include refactoring the platform service to use a dedicated subclass instead of polluting the base class with service-specific fields, improving error handling and robustness in the Send method (such as verifying file write results and returning appropriate error codes), and addressing a security vulnerability by restricting directory creation permissions from 0777 to 0700.
0629395 to
867717c
Compare
867717c to
cd2ca00
Compare
Implement com.google.youtube.tv.Recommendations platform service for RDK following starboard/linux/shared/pre_app_recommendation_service.cc, using /opt/persistent/rdkservices/Cobalt/ for partner ID override and recommendation storage with default partner ID rdk-demo. The RDK UI application should be updated to display the recommendation Bug: 564664560
cd2ca00 to
933b250
Compare
niranjanyardi
left a comment
There was a problem hiding this comment.
+2 lgtm assuming this was tested on a device
Refer to original PR: #12872 Implement com.google.youtube.tv.Recommendations platform service for RDK following starboard/linux/shared/pre_app_recommendation_service.cc, using /opt/persistent/rdkservices/Cobalt/ for partner ID override and recommendation storage with default partner ID rdk-demo. The RDK UI application should be updated to display the recommendation Bug: 564664560 (cherry picked from commit d1b01c4)
Refer to original PR: #12872 Implement com.google.youtube.tv.Recommendations platform service for RDK following starboard/linux/shared/pre_app_recommendation_service.cc, using /opt/persistent/rdkservices/Cobalt/ for partner ID override and recommendation storage with default partner ID rdk-demo. The RDK UI application should be updated to display the recommendation Bug: 564664560 (cherry picked from commit d1b01c4)
Refer to original PR: #12872 Implement com.google.youtube.tv.Recommendations platform service for RDK following starboard/linux/shared/pre_app_recommendation_service.cc, using /opt/persistent/rdkservices/Cobalt/ for partner ID override and recommendation storage with default partner ID rdk-demo. The RDK UI application should be updated to display the recommendation Bug: 564664560 (cherry picked from commit d1b01c4)
Implement com.google.youtube.tv.Recommendations platform service for RDK following starboard/linux/shared/pre_app_recommendation_service.cc, using /opt/persistent/rdkservices/Cobalt/ for partner ID override and recommendation storage with default partner ID rdk-demo.
The RDK UI application should be updated to display the recommendation
Bug: 564664560