Releases: quii/mockingjay-server
Releases · quii/mockingjay-server
Docker alpine madness
Correct docker file tag
1.5.9 docker problems
Fixes header checks
Merge pull request #43 from Lexcenture/header-comparison Header comparison
Better error handling on file loading problems with CDC mode
Connecting to HTTPS servers in Docker
There was a a problem where MJ could not connect to HTTPS servers for the CDC check if it was being run inside docker containers, this is now fixed.
Autoreload of config
In this release MJ will listen for file system changes to your config file and apply them. This should help facilitate a smoother workflow when iterating over your config
Even lighter docker image!
Thanks @jossy
Lighter docker image
1.5.2 dammit
master
Vastly improved CDC failure messages
This release improves the output on failed CDCs by
- Using a consistent logger so the formatting is good
- Rather than a simple "JSON is incompatible" message, it now finds every problem there is and gives you a list of what's wrong
Example:
Chriss-Air:mockingjay-server quii$ mockingjay-server -config=examples/incompatible.yaml -realURL=http://localhost:9090
mocking-jay: 2016/01/31 10:13:47 ✗ Test endpoint (GET /hello) is incompatible with http://localhost:9090
mocking-jay: 2016/01/31 10:13:47 JSON err on field 'proclomation' : Missing field
mocking-jay: 2016/01/31 10:13:47 JSON err on field 'message' : Field is not a float in other JSON
mocking-jay: 2016/01/31 10:13:47 ✗ Test endpoint 2 (DELETE /world) is incompatible with http://localhost:9090
mocking-jay: 2016/01/31 10:13:47 Got 200 expected 400
mocking-jay: 2016/01/31 10:13:47 ✗ Failing endpoint (POST /card) is incompatible with http://localhost:9090
mocking-jay: 2016/01/31 10:13:47 Exact body match did not pass
This should hopefully make debugging API problems a lot easier.