Skip to content

jpzk/tracking-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements: Linux host with git and docker

Installation

  git clone git@github.com:jpzk/tracking-service.git
  cd tracking-service 

  docker build -t trackingservice .
  docker run -i --name trackingservicec -v /var/data/tracking:/var/data/tracking -p 8888:8888 -p 9990:9990 -t trackingservice 

The API endpoint is served on container port 8888 and on the host system it is 80. The API endpoint is served on container port 9990 and on the host system it is 81.

Usage

Now we only need to start the finatra service by

java -jar /trackingservice/tracking-api.jar &

Use the client in example-cpuusage-api/client/generator.py to send requests to API which runs on port 80.

About

Event Tracking API example with Finatra in Scala

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published