Skip to content

Commit

Permalink
Specify service destination
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Mar 11, 2024
1 parent 2b469d4 commit 109b203
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Service destination
%prod.quarkus.rest-client.hackernews-api-server.url=https://hacker-news.firebaseio.com/v0
%dev.quarkus.rest-client.hackernews-api-server.url=http://localhost:${quarkus.wiremock.devservices.port}
%test.quarkus.rest-client.hackernews-api-server.url=http://localhost:${quarkus.wiremock.devservices.port}

# WireMock Dev Service (%dev and %test scope)
%dev.quarkus.wiremock.devservices.enabled=true
Expand Down
1 change: 1 addition & 0 deletions src/test/java/org/acme/GreetingResourceIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import io.quarkus.test.junit.QuarkusIntegrationTest;
import org.junit.jupiter.api.Disabled;

// FIXME: https://github.com/quarkiverse/quarkus-wiremock/issues/106
@QuarkusIntegrationTest
@Disabled
public class GreetingResourceIT extends GreetingResourceTest {
Expand Down
1 change: 1 addition & 0 deletions src/test/java/org/acme/WireMockDevServiceResourceIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import io.quarkus.test.junit.QuarkusIntegrationTest;
import org.junit.jupiter.api.Disabled;

// FIXME: https://github.com/quarkiverse/quarkus-wiremock/issues/106
@QuarkusIntegrationTest
@Disabled
public class WireMockDevServiceResourceIT extends WireMockDevServiceResourceTest {
Expand Down

0 comments on commit 109b203

Please sign in to comment.