Skip to content

This repository contains the example IoT Services Reference application that implements a number of REST API's that support the IoT Reporting application and IoT Device Raspberry Pi Sense HAT application, which in combination demonstrate a simple, scalable, Cloud based IoT application.

Notifications You must be signed in to change notification settings

markreha/cloudservices

Repository files navigation

IoT Services Reference Application

The example IoT Services Reference application implements a number of REST API's that support the IoT Services Reference application and IoT Device Raspberry Pi Sense HAT application, which in combination demonstrate a simple, scalable, Cloud based IoT application. Get the Cloud Workshop SDK!

IoT Services Logical Architecture

Architecture & Technologies

The IoT Services Reference application is designed and implemented in Java using the Spring Framework (Spring Core and Spring JDBC) that implements its published REST API's based on the JAX-RS framework using the Jackson and Jersey implementation libraries.

The JavaDoc for the entire application can be found here

REST API's

The IoT Services Reference application publishes 3 API's, one of which is an API used for testing and the remaining 2 API's to save and retrieve IoT Weather Data. It should be noted that the REST endpoint is secured by using HTTPS and Basic HTTP Authentication. All REST API's are based off of the [hostname]/cloudservices/weather URL.

IoT Services UML Diagram

The REST API's include:

  • GET at /test: will return a test string and is used to test the endpoint
  • GET at /get: will return IoT Weather data for a specified Device ID, From Date, and End Date
  • POST at /save: will save IoT Weather data from the a specified WeatherSensorModel

The REST API's are published using the Swagger API here and here.

Building

The instructions for building the IoT Services Reference application can be found here.

DevOps

The instructions for supporting DevOps in the IoT Services Reference application can be found here.

About

This repository contains the example IoT Services Reference application that implements a number of REST API's that support the IoT Reporting application and IoT Device Raspberry Pi Sense HAT application, which in combination demonstrate a simple, scalable, Cloud based IoT application.

Resources

Stars

Watchers

Forks

Packages

No packages published