Expand description
Manages interactions with Pact plugins
Functionsยง
- drop_
plugin_ access - Decrement access to the plugin. If the current access count is zero, shut down the plugin
- get_
mock_ server_ results - Gets the results from a running mock server.
- increment_
plugin_ access - Increment access to the plugin.
- init_
handshake - Internal function: public for testing
- install_
plugin_ from_ url - Tries to download and install the plugin from the given URL, returning the manifest for the plugin if successful.
- load_
plugin - Load the plugin defined by the dependency information. Will first look in the global plugin registry.
- load_
plugin_ manifest - Return the plugin manifest for the given plugin. Will first look in the global plugin manifest registry.
- lookup_
plugin - Look up the plugin in the global plugin register
- lookup_
plugin_ manifest - Lookup the plugin manifest in the global plugin manifest registry.
- prepare_
validation_ for_ interaction - Sets up a transport request to be made. This is the first phase when verifying, and it allows the users to add additional values to any requests that are made.
- publish_
updated_ catalogue - Publish the current catalogue to all plugins
- shutdown_
mock_ server - Shutdowns a running mock server. Will return any errors from the mock server.
- shutdown_
plugin - Shutdown the given plugin
- shutdown_
plugins - Shut down all plugin processes
- start_
mock_ server Deprecated - Starts a mock server given the catalog entry for it and a Pact
- start_
mock_ server_ v2 - Starts a mock server given the catalog entry for it and a Pact.
Any transport specific configuration must be passed in the
test_contextfield under thetransport_configkey. Note that the next version of the interface will pass the transport specific configuration in its own field. - verify_
interaction - Executes the verification of the interaction that was configured with the prepare_validation_for_interaction call