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
0
votes
1 answer

Pact flow for Event Driven Applications

Although Pact supports testing of messages, I find that the recommended flow in the "Pact Nirvana" doesn't quite match the flow that I understand an Event Driven Application needs. Let's say we have an Order management service and a Shipping…
Rafaesp
  • 613
  • 6
  • 17
0
votes
1 answer

Using Pact-Broker Behind Reverse Proxy And URL Rewrite in Kubernetes & Istio

I deployed the pact-broker docker image (latest version) in a local Kubernetes cluster with the following deployment. apiVersion: apps/v1 kind: Deployment metadata: name: my-pact-broker ... spec: containers: - name: my-pact-broker …
athurner
  • 91
  • 5
0
votes
1 answer

Database Support for Pact Broker

We are planning to implement customize Pact Broker and implement it as our own application in our workplace rather using any existing docker image. I know Pact Broker is recommended to use with PostgreSQL and also supports MySQL, but just wanted to…
Ankur
  • 1
  • 1
0
votes
1 answer

Role of IMockProviderService.VerifyInteractions in Pact?

What is the Role of IMockProviderService.VerifyInteractions in Pact? and what is the best practice to use it?
Amit
  • 72
  • 2
  • 13
0
votes
1 answer

Pact CDC Testing Best Practice

I've read articles like this one that suggest verifying contracts on the provider side that exist in a consumer's feature branch, in effect allowing the contract to be "pre-verified" before being merged to master. However, I've read other…
Keith Bennett
  • 733
  • 11
  • 25
0
votes
1 answer

unable to publish result to pact broker

I am trying to publish verification result on pact broker host on localhost:9292 using the below command: curl -XPOST -H 'Content-Type: application/json' -d@/home/ec2-user/pact-ruby/example/zoo-app/spec/pacts/zoo_app-animal_service.json…
Aarti
  • 1
0
votes
1 answer

Database other than PSQL for pact broker

Can we use SQL server as the database for pact broker? I don't see any documentation related to that anywhere. The problem is that I don't have PostgreSQL at my workplace and I was asked to evaluate whether SQL server serves the purpose. Please help
ShefZee
  • 95
  • 7
0
votes
1 answer

Pact-broker : Cannot able to see pact broker screen in http://localhost:8080/

I'm new to pact. followed the instructions https://github.com/DiUS/pact_broker-docker/blob/master/POSTGRESQL.md to set up the pact-broker in dockerized environment. The containers Up and running. In browser, I can see postgres listening at…
Arun Febi
  • 119
  • 9
0
votes
2 answers

Persistence of data in each iteration of PactVerify in the provider

What is the best way to perform a test of contracts, when the endpoint of the provider performs a persistence of data? For example, the registration of a client. Should I consider the rollback of the data in the pipeline?
0
votes
1 answer

Unable to publish the 'Last Verified' status in PACT Broker

For microservices contract tests, am using PACT with gradle 4.4 and here is my build.gradle: buildscript { repositories { mavenCentral() } dependencies { classpath 'au.com.dius:pact-jvm-provider-gradle_2.12:3.5.22' } } apply plugin:…
Sai
  • 309
  • 1
  • 4
  • 15
0
votes
1 answer

Pact does not send provider-verification result to pact broker if junit 5 test fails

I have created a REST-service with spring. Now I want to use pact and junit 5 to test the consumer-provider-communication. I have already a running pact-broker (from https://github.com/jaimeniswonger/pact-broker-openshift). The consumer-test works…
0
votes
1 answer

Get dependency map API [pact-broker]

Is there a way to get full dependency map of all contracts from the Pact Broker (preferably in json format)? There is an API call used in the graph: https:///groups/.csv to get data to draw the graph, but that is not great for…
Ilya B.
  • 25
  • 5
0
votes
2 answers

how to connect pact-broker docker container to local postgresql database?

My dockerfile is as follows: FROM phusion/passenger-ruby24:0.9.26 ENV APP_HOME=/home/app/pact_broker/ RUN rm -f /etc/service/nginx/down /etc/nginx/sites-enabled/default COPY container / RUN gem update --system # USER app COPY pact_broker/config.ru…
aphexlog
  • 1,503
  • 3
  • 16
  • 43
0
votes
1 answer

using pact-broker webhooks locally?

I have setup the pact broker locally and able to publish the pacts which are also verified by the provider successfully. I am at the point to use webhook which kicks off a build of the provider project if the pact content has changed since the…
0
votes
1 answer

Not able to install dockerized Pact-broker on centos

I'm trying to setup pact broker in centos machine using the instructions mentioned at https://github.com/DiUS/pact_broker-docker I have installed docker and installed postgresql (not in docker container, but as separate service). I tried running…
Sunil
  • 136
  • 2
  • 12