Versions Compared

Key

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

...

RDK Interface Providers

WebPA Provider

Default WebPA provider implementation in Core

Add the WebPaProviderImpl in RDKM Provider to Automatics Core as default implementation.

...

Automatics core provides default implementation of webPA provider.

Partners can configure the autherization data for communicating with webpa server via the automatics properties.

Package: com.automatics.webpa.impl

...

class: WebPaProviderImpl

User can configure the autherization to communicate with the webpa server via the property this "WEBPA_AUTH_KEY". So this property can be configured in the automatics too and user can be configure this authentication. Property is "WEBPA_AUTH_KEY".

If partner has provided

...

custom implementation this webpa provider

...

then they can add the implementation in their partner java api project then automatics will get the higher preference to the partner provider implementation.

For custom partner needs to configure this partner-applicationContext.xml.( class="com.rdkm.provider.webpa.WebPaProviderImpl")


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

...