Demonstrate pact
A full end to end demonstration of consumer driven contract testing using pact framework.
- Ability to run pact broker locally using docker containers
- Run and publish pacts for jvm and js consumers
- Verify against a running microservice
docker-compose up --build
Access at http://localhost:80
Development tracked on waffle.io
https://waffle.io/shavo007/pact-demo
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker-eblocal.html
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/applications-sourcebundle.html
http://www.eq8.eu/blogs/25-common-aws-elastic-beanstalk-docker-issues-and-solutions
eb init
eb local run
eb local open
eb local status
eb use Sample-env-1
eb deploy eb use Sample-env-1
https://store.docker.com/community/images/shanelee007/docker-pact-postgres
Blog: http://shavo007.github.io/2016/07/19/consumer-driven-contract-testing-using-pact/
Docker compose file: https://gist.github.com/shavo007/6660cd3230188a094b5d7d3e0647d769