public List<PluginDTO> listPlugins() {
        List<PluginDTO> result = Lists.newArrayList();

        int cur = 1;
        int total;
        do {
            ResponseEntity<ShenYuResult> response = template.exchange(
                    baseURL + "/plugin-template?currentPage={cur}&pageSize={page}",
                    HttpMethod.GET,
                    new HttpEntity<>(basicAuth),
                    ShenYuResult.class,
                    cur,
                    30
            );
            ShenYuResult rst = assertAndGet(response, "query success");

            PaginatedResources<PluginDTO> pagination = Assertions.assertDoesNotThrow(
                () -> mapper.readValue(rst.getData().traverse(), PAGINATED_PLUGINS_TYPE_REFERENCE),
                "checking cast to PaginatedResources<T>"
            );
            result.addAll(pagination.getDataList());

            total = pagination.getPage().getTotalPage();
        } while (++cur < total);
        return result;
    }
List all plugins.

@return a list of {@link PluginDTO}s
shenyu-e2e/shenyu-e2e-client/src/main/java/org/apache/shenyu/e2e/client/admin/AdminClient.java