@ExecuteOn(TaskExecutors.IO)
    @Get(uri = "distinct-namespaces")
    @Operation(tags = {"Flows"}, summary = "List all distinct namespaces")
    public List<String> listDistinctNamespace(
        @Parameter(description = "A string filter") @Nullable @QueryValue(value = "q") String query
    ) {
        return flowRepository.findDistinctNamespace(tenantService.resolveTenant(), query);
    }
@Test
    void listDistinctNamespace() {
        List<String> namespaces = client.toBlocking().retrieve(
            HttpRequest.GET("/api/v1/flows/distinct-namespaces"), Argument.listOf(String.class));

        assertThat(namespaces.size(), is(5));
    }