{"id":18875819,"url":"https://github.com/wiremock/wiremock-grpc-demos","last_synced_at":"2025-04-14T17:31:42.109Z","repository":{"id":196880923,"uuid":"697354413","full_name":"wiremock/wiremock-grpc-demos","owner":"wiremock","description":"Examples of how to use the WireMock gRPC extension in Java and standalone","archived":false,"fork":false,"pushed_at":"2024-08-21T17:19:25.000Z","size":31682,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-21T19:32:40.419Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://wiremock.org/docs/grpc/","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/wiremock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-09-27T14:58:56.000Z","updated_at":"2024-08-21T17:19:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7a905e0-86ec-4385-8728-e558e3e3fcb0","html_url":"https://github.com/wiremock/wiremock-grpc-demos","commit_stats":null,"previous_names":["wiremock/wiremock-grpc-demos"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremock%2Fwiremock-grpc-demos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremock%2Fwiremock-grpc-demos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremock%2Fwiremock-grpc-demos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremock%2Fwiremock-grpc-demos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wiremock","download_url":"https://codeload.github.com/wiremock/wiremock-grpc-demos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223639348,"owners_count":17177816,"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","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-08T06:09:17.192Z","updated_at":"2024-11-08T06:09:17.860Z","avatar_url":"https://github.com/wiremock.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WireMock gRPC Demos\n\n## Java\n\nThis example requires at least Java 11 to be installed.\n\nTo generate all the necessary code and descriptors then run the tests, run the following command:\n\n```bash\ncd java\n./gradlew check\n```\n\n## Standalone\n\nThis example requires `protoc` and at least Java 11 to be installed. Optionally, [grpcurl](https://github.com/fullstorydev/grpcurl)\ncan be used for testing.\n\nTo generate the descriptor file from the .proto file and start the standalone server with gRPC enabled:\n\n```bash\ncd standalone\n./run.sh\n```\n\nIf you have `grpcurl` installed you can test the mock as follows:\n\n```bash\ngrpcurl -d '{\"name\": \"Tom\" }' -plaintext \\\n  -proto ExampleServices.proto \\\n  localhost:8000 com.example.grpc.GreetingService/greeting\n```\n\n## Docker\n\nThis example requires `protoc` and at least Java 11 to be installed. Optionally, [grpcurl](https://github.com/fullstorydev/grpcurl)\ncan be used for testing.\n\nTo generate the descriptor file from the .proto file and start WireMock in Docker with gRPC enabled:\n\n```bash\ncd docker\n./run.sh\n```\n\nIf you have `grpcurl` installed you can test the mock as follows:\n\n```bash\ngrpcurl -d '{\"name\": \"Tom\" }' -plaintext \\\n  -proto ExampleServices.proto \\\n  localhost:8080 com.example.grpc.GreetingService/greeting\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiremock%2Fwiremock-grpc-demos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiremock%2Fwiremock-grpc-demos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiremock%2Fwiremock-grpc-demos/lists"}