{"id":16119892,"url":"https://github.com/tsegismont/http-proxy-playground","last_synced_at":"2025-10-10T22:34:25.903Z","repository":{"id":218199258,"uuid":"745842528","full_name":"tsegismont/http-proxy-playground","owner":"tsegismont","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-06T13:54:54.000Z","size":5791,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-28T04:34:43.040Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsegismont.png","metadata":{"files":{"readme":"README.adoc","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,"zenodo":null}},"created_at":"2024-01-20T10:05:54.000Z","updated_at":"2025-05-06T13:54:57.000Z","dependencies_parsed_at":"2024-02-07T15:27:17.233Z","dependency_job_id":"6440acd0-b02b-45a3-baea-dd914d4713b2","html_url":"https://github.com/tsegismont/http-proxy-playground","commit_stats":null,"previous_names":["tsegismont/http-proxy-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsegismont/http-proxy-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsegismont%2Fhttp-proxy-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsegismont%2Fhttp-proxy-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsegismont%2Fhttp-proxy-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsegismont%2Fhttp-proxy-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsegismont","download_url":"https://codeload.github.com/tsegismont/http-proxy-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsegismont%2Fhttp-proxy-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005461,"owners_count":26083902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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-10-09T20:55:23.679Z","updated_at":"2025-10-10T22:34:25.860Z","avatar_url":"https://github.com/tsegismont.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= http-proxy-playground\n\nI've implemented the `http-proxy-playround` project to make use of the Vert.x HTTP Proxy and Vert.x Web Proxy APIs and find where the user experience may be improved.\nThe good old https://en.wikipedia.org/wiki/Eating_your_own_dog_food[dogfooding] practice.\n\nThe project is the implementation of an online Pizza Shop with the microservices architecture.\nIt consists in several modules:\n\n* product service\n* order service\n* delivery service\n* edge (a.k.a. proxy or API Gateway) service\n\nThe backend services expose their APIs over HTTP in JSON format.\nThe delivery service also offer a WebSocket endpoint for updates about deliveries.\n\nOrder and delivery data are stored in separate Postgres databases.\n\n\n== Running Postgres Locally\n\n[source,shell]\n----\ndocker run --name http-proxy-playground-postgres -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d postgres\n----\n\n== Deploying to Minikube\n\nAssuming `minikube` and `kubectl` are installed:\n\n[source,shell]\n----\nminikube start --driver=docker\nminikube addons enable metrics-server\nminikube addons enable dashboard\nmvn clean install jib:dockerBuild\nkubectl apply -R -f k8s\n----\n\nWhen the service is ready:\n\n[source,shell]\n----\nxdg-open $(minikube service edge-service --url --https)\n----\n\n== Query endpoints within a container\n\n[source,shell]\n----\ncurl -v --cacert /var/run/secrets/kubernetes.io/serviceaccount/ca.crt --header \"Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)\" \"https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS}/api/v1/namespaces/$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace)/endpoints\"\n----\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsegismont%2Fhttp-proxy-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsegismont%2Fhttp-proxy-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsegismont%2Fhttp-proxy-playground/lists"}