/oisp-backend

Primary LanguageJavaApache License 2.0Apache-2.0

IoT Analytics Advanced Analytics Backend

Advanced Analytics Backend is an app which provides API to ingest observations to HBase and retrieve them. It is a part of IoT Analytics solution and requires dp-dashboard to manage metadata about users, accounts, devices and their components.

When you install this application, dashboard will get an ability to support data ingestion.

You can find dashboard API documentation for Data API on pages:

  1. Data API
  2. Advanced Data Inquiry API

Requirements

  1. Gradle 2.4
  2. Java 1.8
  3. Cloud Foundry CLI and Trusted Analytics Platform account (https://github.com/trustedanalytics)

Deployment manual

On Trusted Analytics Platform (https://github.com/trustedanalytics)

To install backend in your Trusted Analytics Platform space, login into TAP and execute:

  1. Create instances with specified name for each of required services from marketplace:

    • Hbase broker with name myhbase
    • Kafka broker with name mykafka
    • Zookeeper broker with name myzookeeper
  2. Create following user-provided services with properties filled with real values:

     cf cups kafka-ups -p "{\"topic\":\"example_topic_name\",\"enabled\":true,\"partitions\":1,\"replication\":1,\"timeout_ms\":10000}"
     cf cs kerberos shared kerberos-service
    
  3. ./cf-deploy.sh

  4. Check logs and wait for application start.