regurgitator-extensions-jetty

regurgitator is a lightweight, modular, extendable java framework that you configure to ‘regurgitate’ canned or clever responses to incoming requests; useful for quickly mocking or prototyping services without writing any code. simply configure, deploy and run.

start your reading here: regurgitator-all

running regurgitator using jetty

regurgitator-extensions-jetty enables both the regurgitator servlet and the global metadata servlet to run in a small jetty server; allowing you to containerization mocks with software such as docker

RegurgitatorJettyServer usage

RegurgitatorJettyServer command line arguments

java RegurgitatorJettyServer [port] [config file] [context path] [global properties file] [context path]

eg.

java -cp rock-paper-scissors.jar uk.emarte.regurgitator.extensions.jetty.RegurgitatorJettyServer 8090 "classpath:/rock-paper-scissors.xml" "/rockpaperscissors/*" "classpath:/global.properties" "/global/*"

above example from the reference project here: project, Dockerfile

regurgitator can alternatively be run in an application / web server, e.g. Tomcat, see here


api docs: 0.1.4 0.1.3 0.1.2