An open API service indexing awesome lists of open source software.

https://github.com/davidgamez/parrot-rest

REST API to mimic external REST dependencies without modifying the consumer code
https://github.com/davidgamez/parrot-rest

continuous-integration echo-server integration-testing java redis rest-api spring-boot testing

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

[![CircleCI](https://circleci.com/gh/davidgamez/parrot-rest.svg?style=svg)](https://circleci.com/gh/davidgamez/parrot-rest)

# 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](https://davidgamez.github.io/parrot-rest/release/api-guide.html)

## 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
- [API documentation page](https://davidgamez.github.io/parrot-rest/release/api-guide.html)
- [Contributing](https://github.com/davidgamez/parrot-rest/blob/master/docs/CONTRIBUTING.md)