Commit a8f2d061 by huangfusuper

注册中心实现修改

parent 03078a69
...@@ -26,12 +26,7 @@ public class DataSourceServiceRegistry extends PluginServiceRegistry { ...@@ -26,12 +26,7 @@ public class DataSourceServiceRegistry extends PluginServiceRegistry {
registryClient = new RegistryClient(registryUrl,null,biz,env); registryClient = new RegistryClient(registryUrl,null,biz,env);
} }
public static void main(String[] args) {
RegistryClient registryClient = new RegistryClient("http://localhost:8080/myth-register",
null,"byit-myth-job","plugin_test");
TreeSet<String> discovery = registryClient.discovery("01Test");
System.out.println(discovery);
}
@Override @Override
public void stop() { public void stop() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment