|
|
|
|
@ -63,7 +63,7 @@ public class AdminBizTest {
|
|
|
|
|
public void registry() throws Exception {
|
|
|
|
|
AdminBiz adminBiz = buildClient();
|
|
|
|
|
|
|
|
|
|
RegistryRequest registryParam = new RegistryRequest(RegistTypeEnum.EXECUTOR.name(), "xxl-job-executor-example", "127.0.0.1:9999");
|
|
|
|
|
RegistryRequest registryParam = new RegistryRequest(RegistTypeEnum.EXECUTOR.name(), "xxl-job-executor-sample", "127.0.0.1:9999");
|
|
|
|
|
|
|
|
|
|
Response<String> returnT = adminBiz.registry(registryParam);
|
|
|
|
|
assertTrue(returnT.isSuccess());
|
|
|
|
|
@ -78,7 +78,7 @@ public class AdminBizTest {
|
|
|
|
|
public void registryRemove() throws Exception {
|
|
|
|
|
AdminBiz adminBiz = buildClient();
|
|
|
|
|
|
|
|
|
|
RegistryRequest registryParam = new RegistryRequest(RegistTypeEnum.EXECUTOR.name(), "xxl-job-executor-example", "127.0.0.1:9999");
|
|
|
|
|
RegistryRequest registryParam = new RegistryRequest(RegistTypeEnum.EXECUTOR.name(), "xxl-job-executor-sample", "127.0.0.1:9999");
|
|
|
|
|
|
|
|
|
|
Response<String> returnT = adminBiz.registryRemove(registryParam);
|
|
|
|
|
assertTrue(returnT.isSuccess());
|
|
|
|
|
|