Skip to content

Commit

Permalink
test(ci): add support for AllowOverridePactUrl for webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Oct 7, 2024
1 parent 5cdecdd commit a72e289
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import au.com.dius.pact.provider.junit5.MessageTestTarget;
import au.com.dius.pact.provider.junit5.PactVerificationContext;
import au.com.dius.pact.provider.junit5.PactVerificationInvocationContextProvider;
import au.com.dius.pact.provider.junitsupport.AllowOverridePactUrl;
import au.com.dius.pact.provider.junitsupport.Provider;
import au.com.dius.pact.provider.junitsupport.loader.PactBroker;
import au.com.dius.pact.provider.junitsupport.loader.PactBrokerAuth;
Expand All @@ -24,6 +25,7 @@
import org.springframework.messaging.Message;

@Provider("pactflow-example-provider-java-kafka")
@AllowOverridePactUrl
@PactBroker(scheme = "https", host = "${PACT_BROKER_HOST}", authentication = @PactBrokerAuth(token = "${PACT_BROKER_TOKEN}"))
public class ProductsKafkaProducerTest {
private static final Logger LOGGER = LoggerFactory.getLogger(ProductsKafkaProducerTest.class);
Expand Down

0 comments on commit a72e289

Please sign in to comment.