Questions tagged [pact-broker]

The Pact Broker is an HTTP service that allows teams to exchange consumer contracts for HTTP (and other) services that have been created by the Pact tool.

70 questions
1
vote
1 answer

Pact Consumer / Provider based in data type and not in data value

We are currently using Pact-Broker in our Spring Boot application with really good results for our integration tests. Our tests using Pact-Broker are base in a call to a REST API and comparing the response with the value in our provider, always…
Daniel Cano
  • 95
  • 1
  • 2
  • 4
1
vote
1 answer

Can't send tag name for provider in Java to Pact Broker

As you see below ,I have passed to JVM system properties values of "pact.provider.tag", "pact.provider.version", "pact.verifier.publishResults".The results is publishing to the Pact Broker ,but tag name of provider is not publishing.Please advice me…
1
vote
1 answer

fail to publish to Pack-Broker: duplicate key value violation

We are now facing a problem when re-publish pacts to the broker when the version and tag remain the same, but the content of the pact is changed between (re)publish trials Recently our CICD started using a completely new pact broker server, that…
IgalK
  • 21
  • 5
1
vote
0 answers

Setting base url of the Pact broker

I'm running pact-broker-docker in my ECS. Currently verificationResultUrl is pointing to an IP address and so are other URLs of my pact system. I am assuming that is my docker private address. How can I provide base URL to the docker container so…
SpaceX
  • 555
  • 1
  • 6
  • 16
1
vote
1 answer

Start-Process : The system cannot find the file specified from TeamCity Build step but works fine locally

i am trying to run Pact broker can i deploy tool with paramaters which is working fine locally but when i add the build step in TeamCity it is throwing below error Start-Process : This command cannot be run due to the error: The system cannot …
beginner
  • 39
  • 7
1
vote
1 answer

how to run PACT Broker can-i-deploy script?

i have downloaded the zip file https://github.com/pact-foundation/pact_broker-client#can-i-deploy and running the below command in my bash but i am getting error, what i am doing wrong my plan was to run this can-i-deploy from C# code but before…
beginner
  • 39
  • 7
1
vote
1 answer

How to verify Pacts against multiple versions of PACTS published

I have used pact-jvm-provider-maven/ plugin to publish different versions (1.0.0 and 2.0.0) of pacts to Pact-Broker. I'm using following configuration to verify the pacts against the hosted Provider....
Sunil
  • 136
  • 2
  • 12
1
vote
2 answers

How to use Pact Broker badges

It seems I'm missing something vital but I cannot see that the badges are available for my pacts at the URI's given in the examples here: https://github.com/pact-foundation/pact_broker/wiki/Provider-verification-badges Namely:…
Joel Andersson
  • 239
  • 2
  • 7
1
vote
0 answers

In PactBroker, how can I view “Webhooks” column - New PactBroker Version

I setup my pact broker with docker, but I found no Webhooks column there. how can I get the column. I used the latest images pull from dius/pact-broker.
0
votes
1 answer

Pact Async Consumer Test is failing with message null

I am testing to create a Async Pact for a test application, that uses RabbitMQ I got the application running but the test to create the pact fails with the following error. %TESTS …
0
votes
1 answer

contract_requiring_verification_published event not getting detected - Pact - Contract Testing

we are exploring around the things that are mentioned in the https://github.com/pact-foundation/pact-workshop-js and we have hosted the pact broker docker in the local machine, were we are able to see the consumer and provider activities but we are…
0
votes
0 answers

Pact-broker release schedule

I have been looking for a defined release schedule for Pact-broker. I noticed monthly updates on the Pact sight but cannot find one hub for any upgrade schedule. This is the most I could find on anything regarding upgrades: https://docs.pact.io/blog
Maria
  • 1
0
votes
0 answers

Support 'oneOf' keyword in pactflow

I have a question regarding keyword support oneOf in the schema...Using BDCT workflow and we have oneOf keyword in the schema and I had followed the instructions here :…
Raj Ch
  • 1
0
votes
1 answer

pactFileWriteMode overwrite not working anymore in Pact

We got our Pact broker updated to 2.107.1 last week, but since then we are getting issues when we push any changes to pact with the same version number. Before this update it would just overwrite the file with the same version number. We have a…
Aarij Siddiqui
  • 373
  • 2
  • 11
0
votes
0 answers

Kubernetes Postgres ClusterIP service name

I have installed pact broker by looking into this website and also installed Postgres using this website in Kubernetes. I have changed the Postgres service to ClusterIP and I have added the DB connection string as a secret. apiVersion: v1 kind:…
Container-Man
  • 434
  • 1
  • 6
  • 17