From 140f2dce118105f232f741d2d53759e7a9bef151 Mon Sep 17 00:00:00 2001 From: James Robinson Date: Mon, 6 Nov 2023 14:23:25 +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 ded60ca4f..97c0e1878 100644 --- a/spec/service_consumers/pact_helper.rb +++ b/spec/service_consumers/pact_helper.rb @@ -31,7 +31,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'))}"