Use the server administration tool

You can materialize data feed results in Terracotta DB using the MashZone NextGen server administration tool.

You can use the server administration tool for scheduling the materializing procedure.

Procedure

  1. Open a command window and move to the <MashZone NextGen installation>/prestocli/bin directory.
  2. Run the following command.

    padmin materializeFeed -a alias -i input-parameters [-l prestoURL] -u username -w password

    -a alias: Is the alias of the Materialized Feed configuration.

    -i input-parameters: Is the list of input parameters of the data feed and their values to be used for calculating the data feed results. The list is represented in JSON as name/value pairs, for example, {\"param1\": \"ABC\", \"numberList\":[ \"123\", \"456\"]}. If the input parameters are not defined, default values as defined in the data feed are used.

    -u username: Is the MashZone NextGen username to log in with. This account must have MashZone NextGen administrator permissions.

    -w password: Is the MashZone NextGen password to log in with.

The data feed results are calculated and materialized using the configured Terracotta DB connection.

General messages and errors from the export process are sent to the command window (stdout).

After the feed calculation and the subsequent materialization of results is completed, you can access the feed results using the Terracotta DB source operator.

Tip

Additional information like duration or potential execution errors are available in the MashZone NextGen log file.