Configuring the RPAS Metric Summary Template

The RPAS (Retail Predictive Application Server) Metric Summary Templates are pre-configured to render metrics sourced from the RPAS services as metric summary tiles in Retail Home. There are templates for all metric summary and table reports.

Two-Metric RPAS Tile State Parameters

The template has the following features:

  • It allows RPAS services to be called with a configurable context value called the Tile State Context. This context value will be passed a query parameter (tileStateContext) to the RPAS services. The RPAS services can inspect this value to mutate business logic when calculating the metrics.

  • It is tailored for RPAS services standards for REST invocation. Specifically, RPAS Services will be called with the following characteristics:

    • The REST request header "X-Requested-By" is always included with a value of "true".

    • The REST request header "Accept-Version" is always excluded.

Administrators for Retail Home can use the "Add/Edit Custom Tile State Report" dialog to specify the Tile State Context value to be sent to the supporting RPAS service.

Administrators can also specify additional headers to be included and excluded in the REST service calls through the dialog.