{"id":20442594,"url":"https://github.com/masonm/wiremock-dynamic-proxy","last_synced_at":"2026-04-16T16:02:37.627Z","repository":{"id":146551434,"uuid":"86210417","full_name":"MasonM/wiremock-dynamic-proxy","owner":"MasonM","description":"Wiremock extension to determine proxy URL from request","archived":false,"fork":false,"pushed_at":"2017-04-24T05:23:38.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-24T01:47:45.326Z","etag":null,"topics":["deprecated","wiremock"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MasonM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-03-26T05:41:07.000Z","updated_at":"2017-05-13T21:51:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"8053c8c4-09f6-4b3c-af8b-6fe2172001e4","html_url":"https://github.com/MasonM/wiremock-dynamic-proxy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/MasonM/wiremock-dynamic-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fwiremock-dynamic-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fwiremock-dynamic-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fwiremock-dynamic-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fwiremock-dynamic-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MasonM","download_url":"https://codeload.github.com/MasonM/wiremock-dynamic-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fwiremock-dynamic-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31893265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["deprecated","wiremock"],"created_at":"2024-11-15T09:41:43.977Z","updated_at":"2026-04-16T16:02:37.589Z","avatar_url":"https://github.com/MasonM.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\nThis is a deprecated Wiremock extension that allows dynamically determining the `proxyBaseURL` from a request header.\nIt's no longer necessary, since this functionality was added in Wiremock 2.6.0 with https://github.com/tomakehurst/wiremock/pull/641\n\nI'm keeping this around as an example of a simple Wiremock extension.\n\n# Building\n\nRun `gradle jar` to build the JAR, which will be placed in `build/libs/`.\n\n# Example usage\n\nRunning standalone server:\n\n```\njava \\\n        -cp wiremock-standalone.jar:wiremock-dynamic-proxy-0.1.jar \\\n        com.github.tomakehurst.wiremock.standalone.WireMockServerRunner \\\n        --extensions=\"com.github.masonm.wiremock.DynamicProxyTransformer\"\n```\n\nCreating a stub mapping where the \"X-Dest\" header from the request is used as the `proxyBaseUrl`:\n```\ncurl -d '{\n    \"request\": {\n        \"method\": \"GET\",\n        \"urlPattern\": \".*\"\n    },\n    \"response\": {\n        \"transformers\": [\"dynamic-proxy\"],\n        \"transformerParameters\": {\n                \"headerName\": \"X-Dest\"\n        }\n    }\n}' http://localhost:8080/__admin/mappings\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasonm%2Fwiremock-dynamic-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasonm%2Fwiremock-dynamic-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasonm%2Fwiremock-dynamic-proxy/lists"}