Is it possible to upload protobuf descriptor files via admin APIs?
l
Lee Turner
11/30/2024, 12:56 PM
The wiremock gRPC extension readme has all the info you need I think - https://github.com/wiremock/wiremock-grpc-extension
Reloading gRPC descriptor files
If you plan to update your gRPC descriptor files at runtime, you can inform WireMock to reload all file descriptors via a POST to the admin API endpoint /__admin/ext/grpc/reset
Lee Turner
11/30/2024, 12:59 PM
Actually, this is just a reload, not an upload so you will still need to get the new descriptor files uploaded
p
Prakash Nath Jha
12/02/2024, 2:39 AM
so basically we always need to load it at start time of the Wiremock server
l
Lee Turner
12/02/2024, 7:17 AM
I think so. Unless there is another way you can upload your descriptor files and then reload them.