I am designing an endpoint to list some information about executions of various workflows. This is available in the example:
io.temporal.samples.listworkflows. When I run this code using a TestWorkflowEnvironment I get the exception:
io.grpc.StatusRuntimeException: UNIMPLEMENTED: Method temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions is unimplemented at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:271) at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:252) ...
I wonder if there is a mode in which I must put the TestWorkflowEnvironment in order for this to work or if ListWorkflowExecutionsResponse is not supported when using TestWorkflowEnvironment?