Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APIGateway

A gateway to connect with Cockpit to transfer data between facilitator and provider databases to Cockpit Consoles for data management, provider management, report generation and various monitoring use cases. APIGateway will communicate with IOTGateway via Kafka to receive data from various devices.

Installation Guidelines

Prerequisites

  1. Install and Setup JDK.
  2. Install and setup MongoDB. Use this Guide for setup and populate MongoDB.
  3. Create an agent on API.AI. Please refer to the guide here.

Build and Run

  1. Take a pull/fork from this location on Github.
  2. Go to properties file at location -
    <GIT Directory>/APIGateway/src/main/resources/application.yml
  3. Update the properties here, mainly –
  • API.AI Token
  • MongoDB credentials
  • Server Port
  1. This is a spring boot project so call following command to build the code –
    mvn clean package -Dmaven.test.skip=true -Dspring.profiles.active=de
  2. This would create a jar file in the target directory. Run following command to execute this Jar.
    java – jar <Jar Name> --spring.profiles.active=dev
  3. Test the jar by calling any URL in form –
    http://<host>:<port>/ApiGateway/provider/devices/getDevices

About

A gateway to connect with Cockpit to transfer data between facilitator and provider databases to Cockpit Consoles for data management, provider management, report generation and various monitoring use cases. APIGateway will communicate with IOTGateway via Kafka to receive data from various devices.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages