private <T extends ResourceDTO, OUT> List<OUT> list(final String uri, final QueryCondition condition, final TypeReference<SearchedResources<T>> valueType, final Mapper<T, OUT> mapper) {
        List<OUT> result = Lists.newArrayList();

        int curPage = 1;
        int total;

        do {
            SearchedResources<T> resources = search(uri, curPage, 20, condition, valueType);
            resources.getList().stream()
                    .map(mapper)
                    .forEach(result::add);
            total = resources.getPages();
        } while (++curPage <= total);

        return result;
    }
all meta data list.

@return List
shenyu-e2e/shenyu-e2e-client/src/main/java/org/apache/shenyu/e2e/client/admin/AdminClient.java