Skip to content

Thread safe project to increment, fetch and list "named counters"

Notifications You must be signed in to change notification settings

harrypotter90/counter-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multimodule Spring Boot REST application It is a thread safe application exposed rest apis to create, increment and fetch named counters. Application is designed to handle concurrent requests.

-Rest apis can be accessed on

http://<server>:<port>/<context>/counter/increment/<countername>
http://<server>:<port>/<context>/counter/value/<countername>
http://<server>:<port>/<context>/counter/list

To Build and to create package -Execute 'mvn clean package' -Executeable war will be created in innometrics-webservice/target -War can be deployed on any webserver like Tomcat

APIs exposed and description-

To increment a counter- http://://counter/increment/

To get counter value http://://counter/value/

To list all counters- http://://counter/list

Technologies used- Spring Boot JAX-RS Java 7 Junit 4

About

Thread safe project to increment, fetch and list "named counters"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages