public IServiceInstance GetLocalServiceInstance() { return(new ThisServiceInstance(InstConfig.GetHostName(false), InstConfig.SecurePortEnabled, InstConfig.MetadataMap, (InstConfig.NonSecurePort == -1) ? EurekaInstanceConfig.Default_NonSecurePort : InstConfig.NonSecurePort, (InstConfig.SecurePort == -1) ? EurekaInstanceConfig.Default_SecurePort : InstConfig.SecurePort, InstConfig.AppName)); }
public IServiceInstance GetLocalServiceInstance() { return(new ThisServiceInstance(InstConfig.GetHostName(false), InstConfig.SecurePortEnabled, InstConfig.MetadataMap, InstConfig.NonSecurePort, InstConfig.AppName)); }