public static String initSelectorAndRules(final String pluginName, final String selectorHandler,
                                              final Integer sort, final List<ConditionData> selectorConditionData,
                                              final List<RuleLocalData> ruleDataList) throws IOException {
        SelectorRulesData selectorRulesData = new SelectorRulesData();
        selectorRulesData.setPluginName(pluginName);
        selectorRulesData.setSelectorHandler(selectorHandler);
        selectorRulesData.setSort(sort);
        selectorRulesData.setConditionDataList(selectorConditionData);
        selectorRulesData.setRuleDataList(ruleDataList);
        return HttpHelper.INSTANCE.postGateway("/shenyu/plugin/selectorAndRules", selectorRulesData, String.class);
    }
Init selector and rules string.

@param pluginName the plugin name
@param selectorHandler the selector handler
@param selectorConditionData the selector condition data
@param sort the sort
@param ruleDataList the rule data list
@return the string
@throws IOException the io exception
shenyu-integrated-test/shenyu-integrated-test-common/src/main/java/org/apache/shenyu/integratedtest/common/AbstractPluginDataInit.java