<Is there a way to add a Component referencing a W...
# stackoverflow
r
Is there a way to add a Component referencing a WireMockContainer to a Dapr testcontainer? I am trying to test a spring boot application using dapr. For my test set up I want to start a Dapr testcontainer and have a Conmponent that references a Wiremock testcontainer to stub http calls. class TestcontainersConfiguration { private static final Network network = Network.newNetwork(); @Bean @ServiceConnection public DaprContainer daprContainer(WireMockContainer wireMockContainer) { // Get the network alias instead of the base URL String wireServiceUrl...