/SpringBootAerospike

Car Fleet Project using Aerospike Spring Boot Docker

Primary LanguageJava

Car Fleet Project

This example is for visualizing and managing a car fleet using Aerospike + Spring Boot Integration. Really can be used for any connected device fleet / collection. Provides following REST API -

  • GET - /fleet/cars returns the list of Cars from the Aerospike Instance running as a Docker container
  • POST - /fleet/cars returns the list of Cars and creates the Car which we post.
  • Sample data : { "vin": "3XDFL906", "brand": "Porsche", "model": "Carrera", "battery": 100, "zipCode": 94304, "coordinates": "(37.445099, -122.160362)" }

Applications

Capacity Planning - To manage capacity of recharge stations
Monitoring - To monitor the cars and report status
Notifications - To notify owners and agency of impending problems

Technology Stack

Docker
Aerospike, AMC, Aerospike Tools Docker Container(s)
Spring Boot
REST API

Aerospike Management Console - test namespace

Alt text

Alt text

Aerospike Query Language - sample data

Alt text

Alt text

Current Fleet REST Response

Alt text

Further Development

Enhance data models
Build other data models
Use Telemetry Data and corresponding integration(s)