Skip to content

REST API to mimic external REST dependencies without modifying the consumer code

License

Notifications You must be signed in to change notification settings

davidgamez/parrot-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI

Parrot REST

Parrot REST is a RestFul service exposes two main endpoints. One POST endpoint to listen and remember REST responses given an URL. The second endpoint is intended to talk or reproduce what was posted in the listening phase. This application might be interesting in semi-integrated testing environments.

For more info visit Parrot-REST API go to the API documentation page

Build/package your application

Parrot-REST is an standard Spring boot application based on maven.

Running the application

From the source code:

mvn spring-boot:run -Dpersistent.type=REDIS

With the released package:

java -jar parrot-rest-0.1.0-SNAPSHOT.jar -Dpersistent.type=MAP

JVM arguments

  • persistent.type (REDIS, MAP): persistent layer to use.
  • spring.redis.url: REDIS URL only applicable if persistent.type is set to REDIS.

Links

Releases

No releases published

Packages

No packages published