RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
To use webpa support provided by Automatics, partner needs to implement following APIs.
...
Default WebPA provider implementation in Core
Add the WebPaProviderImpl in RDKM Provider to Automatics Core as default implementation.
Add the impl under package: com.automatics.
...
webpa.
...
impl
In BeanUtils.java, add the logic:
If partner has provided, their custom webpa provider, then it should be given higher preference. If it is not given, then use default provider in Automatics-Core.
Bean Name - webpaProvider
...
API | Description |
---|---|
Map<String, String> getRequestHeaderAuthData(WebPaType methodType) | Authentication headers if any required for WebPa communication. This invokes providing auth token in request header. |
String getDeviceMacAddress(Dut dut); | The mac address to be used for fetching/updating webpa params |
...