{"id":20877431,"url":"https://github.com/t1/quarkus-wiremock-demo","last_synced_at":"2026-05-27T18:32:19.804Z","repository":{"id":261478714,"uuid":"864971535","full_name":"t1/quarkus-wiremock-demo","owner":"t1","description":"Demonstrates how to use the Quarkus WireMock Extension","archived":false,"fork":false,"pushed_at":"2026-03-25T21:36:27.000Z","size":75,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2026-03-26T20:49:26.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/t1.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-29T16:49:39.000Z","updated_at":"2026-03-25T21:36:20.000Z","dependencies_parsed_at":"2024-11-06T19:41:07.248Z","dependency_job_id":"11aeee37-2ac9-48a0-b14b-4a75b6a4a5cd","html_url":"https://github.com/t1/quarkus-wiremock-demo","commit_stats":null,"previous_names":["t1/quarkus-wiremock-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/t1/quarkus-wiremock-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1%2Fquarkus-wiremock-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1%2Fquarkus-wiremock-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1%2Fquarkus-wiremock-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1%2Fquarkus-wiremock-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t1","download_url":"https://codeload.github.com/t1/quarkus-wiremock-demo/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1%2Fquarkus-wiremock-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33579665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T06:57:00.745Z","updated_at":"2026-05-27T18:32:19.781Z","avatar_url":"https://github.com/t1.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Quarkus WireMock Extension Demo\n\nDemonstrates how to use the https://docs.quarkiverse.io/quarkus-wiremock/dev/index.html[Quarkus WireMock Extension]... with a little helper for the mocking.\n\nThe two interesting classes are:\n\n- https://github.com/t1/quarkus-wiremock-demo/blob/trunk/src/test/java/com/github/t1/WireMocker.java[`WireMocker`] - allows to do the stubbing a litte bit like Mockito with JAX-RS API interfaces.\nReduce boilerplate code for the mocking.\n- https://github.com/t1/quarkus-wiremock-demo/blob/trunk/src/test/java/com/github/t1/NameServiceStandardMappings.java[`NameServiceStandardMappings`] - a WireMock extension that adds default stubs.\n\nThe latter would be very useful when running Quarkus in dev mode, but this doesn't work:\nthe extension is not loaded for the dev mode if the `META-INF/services/...Extension` file is in `src/test/resources`... OTOH we don't want to put it in `src/main/resources` because it's only for dev-testing.\nActually, Quarkus starts a _second_ `WireMock` dev-service when running the tests in dev mode.\n\nThe only solution I found, is to put mappings files in `src/test/resources/mappings/*.json`.\n\n== Running\n\nTo see it all in action, simply run:\n\n[source,shell]\n----\nmvn quarkus:dev\n----\n\nThen type `o` to see the test output, and `r` to run the tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft1%2Fquarkus-wiremock-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft1%2Fquarkus-wiremock-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft1%2Fquarkus-wiremock-demo/lists"}