From b3a8dc86bca68d3892227ec66096e4c75045952f Mon Sep 17 00:00:00 2001 From: James Robinson Date: Mon, 6 Nov 2023 14:27:44 +0000 Subject: [PATCH] Update Pact Broker URL We are currently migrating our Pact Broker instance from PaaS to Heroku. `gds-api-adapters` has already been updated to publish pacts to both instances, now we need to update each of our API providers to fetch from the new instance instead of the old one. --- spec/service_consumers/pact_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/service_consumers/pact_helper.rb b/spec/service_consumers/pact_helper.rb index e2237c88..7c6d55cf 100644 --- a/spec/service_consumers/pact_helper.rb +++ b/spec/service_consumers/pact_helper.rb @@ -34,7 +34,7 @@ def url_encode(str) if ENV["PACT_URI"] pact_uri(ENV["PACT_URI"]) else - base_url = "https://pact-broker.cloudapps.digital" + base_url = "https://govuk-pact-broker-6991351eca05.herokuapp.com" path = "pacts/provider/#{url_encode(name)}/consumer/#{url_encode(consumer_name)}" version_modifier = "versions/#{url_encode(ENV.fetch('PACT_CONSUMER_VERSION', 'branch-main'))}"