public static String initPlugin(final String pluginName, final String config) throws IOException {
        PluginData pluginData = new PluginData();
        pluginData.setEnabled(true);
        pluginData.setName(pluginName);
        pluginData.setConfig(config);
        pluginData.setId(UUID.randomUUID().toString().replace(" ", ""));
        return HttpHelper.INSTANCE.postGateway("/shenyu/plugin/saveOrUpdate", pluginData, String.class);
    }
Init plugin string.

@param pluginName the plugin name
@param config the config
@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