Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

pvardanega/accelerometer-rest-to-cassandra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

accelerometer-rest-to-cassandra

REST API receiving accelorometers data and storing them into Cassandra. Each acceleration contains:

  • date when it has been captured as a timestamp (eg, 1428773040488)
  • acceleration force along the x axis (unit is m/s²)
  • acceleration force along the y axis (unit is m/s²)
  • acceleration force along the z axis (unit is m/s²)

Prerequisites

Start the application

gradle build && java -jar build/libs/accelerometer-rest-to-cassandra-1.0.jar

Use the API

{
  "timestamp": 1428773040488,
  "x": 0.98,
  "y": 6.43,
  "z": 9.01,
}
  • returned status: 201 CREATED

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages