Skip to content

solanolabs/predix-rmd-analytics-ref-app

 
 

Repository files navigation

view github pages # predix-rmd-ref-analytics-app

###Analytics Flow Data arrives via the Ingestion Flow and is stored. A message is placed in a queue which kicks off an Analytic Orchestration. The Analytics uses data from Predix Asset and Predix Timeseries, produces a result, which is then stored back to Predix Asset or Predix Timeseries or potentially to/from any other datastore.

##Setting up your environment Reference App accesses code repos at https://github.com/PredixDev and a maven repository at https://artifactory.predix.io. Artifactory is password protected, follow instructions here to set up.

The best experience is to use a DevBox which has all the tools and settings pre-installed.

Follow the instructions in the below link on how to setup your development environment: https://www.predix.io/resources/tutorials/journey.html#1607

##Getting Acquainted with RMD Reference App

RMD Analytics App uses RMD Reference App as a pre-requisite to set up Predix Asset, Predix Timeseries and Predix UAA. Go through the following tutorial to get acquainted with and install the Predix RMD Reference application

##Installing RMD Analytics App

Tutorial coming soon. In the mean time, from a command window navigate to the RMD Analytics directory and run the installer. At the end of the install script follow the instructions provided to execute the Analytics flow.

python scripts/installAnalyticsRefApp.py

##Predix Hello World Go through the following tutorial on how to build a simple hello world application using Predix components.

https://www.predix.io/resources/tutorials/journey.html#1719

##Microservices The Analytics part of the reference App consists of several microservices. Each microservice can be individually managed and scaled, leveraging the Cloud Foundry infrastructure. These services can be mixed and matched for your next Predix application depending on which services you need to integrate with.

The names of services, apps and ids, e.g. the default UAA configuration configured, for the RMD Analytics reference application is located under scripts/refAnalyticsAppConfig.py folder

rmdAppClientId = "app_client_id"
rmdAppSecret = "secret"
uaaAdminSecret = "secre"

###FDH-Router-service - DataExchange ###RMD-Analytics-service ###RMD-Orchestration-service ###RabbitMQ-service

##APIs The reference app defines some apis and message bodies that are needed to communicate between microservices.

Analytics

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%