Skip to content

kntajus/sampleapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pre-requisites

These instructions assume you have the necessary software (e.g. Docker, Docker Compose) installed already.

How to run

Run docker compose up from this directory.

How to test

Run curl -v http://localhost:8080/ports/ZACPT. Note the 404 Not Found response as there is no data yet.

Run curl -X POST -v http://localhost:8080/update to request that the data store be populated from the sample JSON file. (In the interest of simplicity, the data file has been made available to the service via a docker volume and is in a known location.)

Run curl -v http://localhost:8080/ports/ZACPT again to retrieve the data for the requested port.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published