|
|
@ -95,6 +95,7 @@ public class PolarisServiceRegistry implements ServiceRegistry<Registration> {
|
|
|
|
instanceRegisterRequest.setService(registration.getServiceId());
|
|
|
|
instanceRegisterRequest.setService(registration.getServiceId());
|
|
|
|
instanceRegisterRequest.setHost(registration.getHost());
|
|
|
|
instanceRegisterRequest.setHost(registration.getHost());
|
|
|
|
instanceRegisterRequest.setPort(registration.getPort());
|
|
|
|
instanceRegisterRequest.setPort(registration.getPort());
|
|
|
|
|
|
|
|
instanceRegisterRequest.setWeight(polarisDiscoveryProperties.getWeight());
|
|
|
|
instanceRegisterRequest.setToken(polarisDiscoveryProperties.getToken());
|
|
|
|
instanceRegisterRequest.setToken(polarisDiscoveryProperties.getToken());
|
|
|
|
if (null != heartbeatExecutor) {
|
|
|
|
if (null != heartbeatExecutor) {
|
|
|
|
instanceRegisterRequest.setTtl(ttl);
|
|
|
|
instanceRegisterRequest.setTtl(ttl);
|
|
|
|