form3tech-oss / pact-proxy Goto Github PK
View Code? Open in Web Editor NEWA proxy that can inject additional behaviour into provider mocks without modifying the generated pacts
A proxy that can inject additional behaviour into provider mocks without modifying the generated pacts
We think it would be useful to be able to set global configuration options on the pact proxy server.
In particular, to control the retry timing for WaitForInteraction
We would also like to add some new features which should perhaps be disabled by default, so config would be useful for this as well.
Currently pact-proxy
returns a 500 response with an empty body when a pact does not match.
This causes problems debugging for two reasons:
Our client code will retry multiple times on a 500 error, which fills the logs with noise.
Our swagger client tries to unmarshall the empty body which gives a misleading error on the client side.
We would like to override the default error status code and response body. This could be configurable at a global level.
It would be useful in integration tests to be able to get more information about the interactions and requests made to the pact proxy, for example details of the actual request(s) and response(s).
This would be useful for more detailed assertions, e.g. what specific UUIDs were posted, as well as for capturing those UUIDs for use in the workflow tests.
As this may use more memory on the pact-proxy server, we could make this feature disabled by default and enable it based on some environment variable or config setting.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.