Adam Rodger (pact-net)
05/26/2022, 7:58 PMset_publish_options
on the FFI and add anything other than a broker source then it'll simply not publish anything and log an error instead.Adam Rodger (pact-net)
05/26/2022, 8:05 PMAdam Rodger (pact-net)
05/26/2022, 8:07 PM<https://ci.example.org/broker>
, so you can't just extract the host and reuse that.
It'd also be very hacky to use some kind of fixed string in the path and take everything up to that path. Pact broker URLs always have /pacts/
in them somewhere, but you can't just assume that's the only place that'll be. Again, someone could run their broker at <https://ci.example.org/pacts>
and now string splitting is just asking for trouble.Beth (pactflow.io/Pact Broker/pact-ruby)