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
- Host: GitHub
- URL: https://github.com/davidgamez/parrot-rest
- Owner: davidgamez
- License: lgpl-3.0
- Created: 2017-11-14T04:23:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-05T01:41:39.000Z (over 7 years ago)
- Last Synced: 2025-05-13T19:11:47.184Z (about 1 year ago)
- Topics: continuous-integration, echo-server, integration-testing, java, redis, rest-api, spring-boot, testing
- Language: Java
- Homepage:
- Size: 70.3 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](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)