This expands the scala-pact API in the following ways:
A new pact source: pactBrokerWithVersionSelectors to which you pass a list of ConsumerVersionSelectors, and a list of ProviderVersionTags.
new setting keys for the plugin that allow these values to be set in your pact.sbt to be used when running sbt pactVerify
This feature has been tested successfully using a new set of examples. Following this we will be able to implement features such as pending and WIP pacts!
A large portion of this PR is adding the new examples, new domain models, and adding new decoders to all the various circe version 🙄
The meat of the change is in scala-pact-core, in Verifier. A part of that logic responsible for fetching the pacts from a broker has been broken out into its own class, PactBrokerClient, which is where the new feature is implemented.
adds support for https://github.com/ITV/scala-pact/issues/159
See the original pact-broker issue for details on what this implements https://github.com/pact-foundation/pact_broker/issues/307
This expands the scala-pact API in the following ways:
pactBrokerWithVersionSelectors
to which you pass a list ofConsumerVersionSelectors
, and a list ofProviderVersionTags
.pact.sbt
to be used when runningsbt pactVerify
This feature has been tested successfully using a new set of examples. Following this we will be able to implement features such as pending and WIP pacts!
A large portion of this PR is adding the new examples, new domain models, and adding new decoders to all the various circe version 🙄 The meat of the change is in
scala-pact-core
, inVerifier
. A part of that logic responsible for fetching the pacts from a broker has been broken out into its own class,PactBrokerClient
, which is where the new feature is implemented.