Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

RDK Interface Providers

WebPA Provider

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

...

APIDescription
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

...