private <T extends ResourceDTO> List<T> getSearch(final String uri, final TypeReference<List<T>> valueType) {
        ResponseEntity<ShenYuResult> response = template.exchange(baseURL + uri, HttpMethod.GET, new HttpEntity<>(basicAuth), ShenYuResult.class);
        ShenYuResult rst = assertAndGet(response, "query success");
        return Assertions.assertDoesNotThrow(
            () -> mapper.readValue(rst.getData().traverse(), valueType),
            "checking cast to SearchedResources<T>"
        );
    }
Fetch the rules by the given conditions.

@param keyword   expected selectors included the word. return all if absent.
@param selectors expected selectors under specified plugins. return all if absent.
@return paginated info with list of {@link RuleDTO}s
shenyu-e2e/shenyu-e2e-client/src/main/java/org/apache/shenyu/e2e/client/admin/AdminClient.java