Skip to content

Latest commit

 

History

History

demo-adder

#demo-adder

3 implementations of a sample analytic for the Predix Analytics platform. Specific details on how to package these analytics can be found within the implementation folders:

Analytic template

This analytic takes in 2 numbers and returns their sum. This structure is outlined in this analytic template.

Input format

The expected JSON input data format is as follows: {"number1": 123, "number2": 456}

Output format

The JSON output format from the analytic is as follows: {"result":579}

For more information on developing analytics for the Predix Analytics platform, see Analytic Development in the Predix Analytics Services documentation on Predix IO.