GitHub
10/13/2023, 5:55 AMBeth (pactflow.io/Pact Broker/pact-ruby)
GitHub
10/13/2023, 5:55 AMpulls
, releases
, deployments
Beth (pactflow.io/Pact Broker/pact-ruby)
GitHub
10/13/2023, 5:55 AMBeth (pactflow.io/Pact Broker/pact-ruby)
GitHub
10/13/2023, 5:55 AMpulls
, releases
, deployments
Beth (pactflow.io/Pact Broker/pact-ruby)
GitHub
10/13/2023, 5:56 AMreleases
, deployments
Chandra Muddam
10/16/2023, 5:15 AMFrancois Nguyen
10/24/2023, 6:31 PM$version = 1.0.0.0
$buildId = $(Build.BuildId) # e.g. 12345
$uri = "$brokerUri/pacts/provider/$provider/consumer/$consumer/version/$version_$buildId"
I was expecting the version to be 1.0.0.0_12345 but in the broker the consumer version is shown only as 12345.
At https://docs.pact.io/pact_broker/pacticipant_version_numbers i read
When publishing a pact or a verification, the resource is associated with a particular version of the pacticipant (application), which is identified by a version number. Just to make it very clear - the version number that is specified in the URL of a pact or a verification is the application version number, not the pact version. Pact versioning is done for you behind the scenes by the Broker, and is based on the content of the pact.How do I set the pact version? I don't see any version reference in my c# source using PACT.V3 (I know i need to upgrade to V4) Thanks
MANALI KHANNA
10/26/2023, 7:12 AMserver {
listen 80 default_server;
server_name localhost:9292;
location / {
rewrite ^(.*)$ /pact$request_uri permanent;
}
location /pact {
proxy_pass <http://localhost:9292>;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
Even after mutiple tries, its showing up the broker page on / and /pact is giving a 404. Do I need to change any other configs to configure the web server?Bruno Tacca
10/26/2023, 1:39 PMrecord-deployment
?AlanB
10/26/2023, 2:41 PMmainBranch: true
Our consumer microservices mainBranch are set to main
. There is a contract for the version on main.
Yet the "for-verification" list is missing microservice(s).
In the broker UI, the consumer is listed along with its providers.
However, a query of "latest version from branch..." main
returns no results.
So we are a bit confused.
Thanks for any help.
PS: The only way I've been able to resolve this issue, is to delete the consumer pacticipant completely from the broker, and run the CI pipelines again.Gurubabu Jampala
10/27/2023, 3:29 AMcontract_requiring_verification_published
event will trigger when consumer publish contract for the first time?
As per the documentation, the event would get triggered when consumer publishing the contract for the first time, but when I am publishing I can see only two events are triggering, which are contract_published
, contract_content_changed (first time untagged pact published).
Can some please help me what I might have missed in my consumer service configuration?
Note: _If provider already verified with main branch
or deployed/released
then the contract_requiring_verification_published
event is getting triggered._
Here are the documentation links which I was referring:
https://docs.pact.io/blog/2021/10/11/contract-requiring-verification-published-webhook-event
https://docs.pact.io/pact_nirvana/notes_1
#pact-brokerTarek Ben Guiza
10/30/2023, 9:34 AMRuth
10/30/2023, 8:58 PMJamesC
11/01/2023, 7:45 PMBeth (pactflow.io/Pact Broker/pact-ruby)
Siyuan shen
11/08/2023, 4:25 AMOleksandr Yanov
11/09/2023, 9:33 AMJose Maria
11/09/2023, 8:16 PM│ /pact_broker/vendor/bundle/ruby/3.2.0/gems/pg-1.5.3/lib/pg/connection.rb:696:in `async_connect_or_reset': connection to server at "10.111.189.45", port 5432 failed: Connection refused (PG::ConnectionBad) │
│ Is the server running on that host and accepting TCP/IP connections?
Then, I can also see that the pact-broker-postgresql
fails with the following error message
2023-11-09 20:10:56.490 GMT [141] FATAL: password authentication failed for user "bn_broker" │
│ 2023-11-09 20:10:56.490 GMT [141] DETAIL: Connection matched pg_hba.conf line 1: "host all all 0.0.0.0/0 md5":
I've checked the README.md and try with both approaches but with no luck
• Automatic Database Credential Creation
• Specifying Password for PostgreSQL to UseAlanB
11/10/2023, 5:51 PM<http://yourbroker/integrations>
the page displays a Response Body that appears to be JSON.
However, when I curl
to this url, the response I get back was surprising. Its formatted plaintext. Graphviz?
Is there any way of getting this back in JSON format?
It would be much better for scripting, if it was JSON.
ThanksUlises Cervino
11/12/2023, 10:51 AMdescribe-environment
describe-pacticipant
and describe-version
and none seem to have the info I need. I’d love to see a table like
| Version | Environment |
| UUID | ENV1 |
...
Slackbot
11/14/2023, 11:29 AMRoger Liu
11/15/2023, 7:14 AMJose Maria
11/17/2023, 12:18 PMSpecify Credentials via Secret
Configure the Pact Broker to use an existing Secret to retrieve the user password as a means to connect to the database. Ensure that the Kubernetes Secret has the password in the user-password field and ensure that you have set externalDatabase.config.auth.existingSecret value to the name of the secret. To configure the username, you can use the username value.
In my situation, I'm provided with a secret that contains the encoded db password among other db details. The issue is that the field doesn't match user-password
and unfortunately it cannot be changed as it's used across different areas.
Is there any way I can map the field name to the required one so that I can use the right external db configuration?Ulises Cervino
11/21/2023, 11:31 AMcan-i-deploy
to a given environment? we have a provider that’s rolled out (recorded) to our integration environment but not production, and as a result it’s blocking our production rollouts (even if we don’t use the provider --yet-- in production)Ulises Cervino
11/21/2023, 11:32 AM--ignore=
worksUlises Cervino
11/21/2023, 11:32 AM