Skip to content

Showing how to build and automatically deploy gRPC descriptors into WireMock Cloud

Notifications You must be signed in to change notification settings

wiremock-inc/wiremock-cloud-grpc-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WireMock Cloud gRPC examples

This project demonstrates an automated workflow for pushing a gRPC API definition into WireMock Cloud so that it can be mocked.

Building with Maven

The example in the maven directory does the following:

  • Build the set of .proto files under src/main/proto into a descriptor file.
  • Push this into a specific WireMock Cloud mock API via the WireMock Cloud's API. The API ID is determined from the MOCK_API_ID env var.

A GitHub Actions workflow does this on each push to main.

Building directly with protoc

The example in the protoc directory does the following:

  • Build the set of .proto files under proto into the descriptor file build/services.dsc.
  • Push this into a specific WireMock Cloud mock API via the WireMock Cloud's API. The API ID is determined from the MOCK_API_ID env var.

About

Showing how to build and automatically deploy gRPC descriptors into WireMock Cloud

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages