public static BindingData newBindingData(final String selectorName, final String pluginName, final String url) {
        BindingData bindingData = new BindingData();
        bindingData.setName(selectorName);
        bindingData.setPluginName(pluginName);
        bindingData.setType("http");
        BindingData.Discovery discovery = new BindingData.Discovery();
        discovery.setDiscoveryType("local");
        discovery.setProps("{}");
        bindingData.setDiscovery(discovery);
        BindingData.DiscoveryUpstream discoveryUpstream = new BindingData.DiscoveryUpstream();
        discoveryUpstream.setUrl(url);
        discoveryUpstream.setProtocol("http://");
        discoveryUpstream.setStatus(0);
        discoveryUpstream.setWeight(50);
        discoveryUpstream.setNamespaceId(SYS_DEFAULT_NAMESPACE_NAMESPACE_ID);
        bindingData.setDiscoveryUpstreams(Collections.singletonList(discoveryUpstream));
        return bindingData;
    }
newBindingData.

@param selectorName selectorName
@param pluginName   pluginName
@param url          url
@return BindingData
shenyu-e2e/shenyu-e2e-common/src/main/java/org/apache/shenyu/e2e/template/ResourceDataTemplate.java