Skip to content

dimosr/service-call4j-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of ServiceCall-4j library

This repo contains a demo of how the ServiceCall-4j library can be used. It consists of:

  • a Java web application, making remote calls to a "supposedly" remote dependency
  • a monitoring application, where metrics are emitted about the calls to the dependency

Getting started

To start the web application, execute the following command:

mvn tomcat7:run

The application is available in the location: http://localhost:8080/ServiceCall4j-Demo

To start the graphite monitoring application:

docker run -d\
 --name graphite\
 --restart=always\
 -p 80:80\
 -p 2003-2004:2003-2004\
 -p 2023-2024:2023-2024\
 -p 8125:8125/udp\
 -p 8126:8126\
 hopsoft/graphite-statsd

The graphite web interface is accessible in http://localhost:80/webapp Metrics can be emitted through carbon in port 2023

About

A demo application making use of service-call4j library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published