Eran Bergman
08/26/2024, 7:49 PM<http://localhost:8500/pacts/provider/inventory_provider/latest> to see which are the latest pacts targeting my provider inventory_provider
this gives me the list of the latest versions of consumers so I picked one of them and called: (2) localhost:8500/pacts/provider/inventory_provider/consumer/inventory_consumer1/version/1.1.2 which gives the pacts for inventory_provider defined by inventory_consumer1 of version 1.1.2 - this gives me the actual pact
the Pact Broker Client documentation lists only the more "procedural" operations of pushing pacs, managing environments and deployments etc. but is there a Pact CLI command that allows me to perform operations such as (1) and (2) or are these only supported via the REST interface?Matt (pactflow.io / pact-js / pact-go)
Eran Bergman
08/26/2024, 11:12 PM@SpringBootTest - takes several minutes to spin up and state setup calls may take a long time so over all long execution time
I want to see if I would be able manage the downloading of the pacts from Pact Broker myself and basically replace @PactBroker with @PactFolder and potentially even spread the pacts across multiple instances/invocations of the test class so it could be run in parallel on multiple machines in parallelEran Bergman
08/26/2024, 11:12 PMEran Bergman
08/26/2024, 11:48 PM@PactBroker doesn't really let me get involved in the execution/verification phase, it just points to where to get the pacts from and which pacts to fetch (version, tag, environment etc.)