@ -45,6 +51,7 @@ public class DefaultServiceInstance implements ServiceInstance {
@@ -45,6 +51,7 @@ public class DefaultServiceInstance implements ServiceInstance {
privateURIuri;
/**
*@paraminstanceIdtheidoftheinstance.
*@paramserviceIdtheidoftheservice.
@ -55,12 +62,27 @@ public class DefaultServiceInstance implements ServiceInstance {
@@ -55,12 +62,27 @@ public class DefaultServiceInstance implements ServiceInstance {
@ -77,6 +99,19 @@ public class DefaultServiceInstance implements ServiceInstance {
@@ -77,6 +99,19 @@ public class DefaultServiceInstance implements ServiceInstance {
@ -84,7 +119,7 @@ public class DefaultServiceInstance implements ServiceInstance {
@@ -84,7 +119,7 @@ public class DefaultServiceInstance implements ServiceInstance {
@ -148,8 +183,8 @@ public class DefaultServiceInstance implements ServiceInstance {
@@ -148,8 +183,8 @@ public class DefaultServiceInstance implements ServiceInstance {
this.uri=uri;
this.host=this.uri.getHost();
this.port=this.uri.getPort();
Stringscheme=this.uri.getScheme();
if("https".equals(scheme)){
scheme=this.uri.getScheme();
if(secureSchemes.contains(scheme)){
this.secure=true;
}
}
@ -179,4 +214,9 @@ public class DefaultServiceInstance implements ServiceInstance {
@@ -179,4 +214,9 @@ public class DefaultServiceInstance implements ServiceInstance {
@ -87,4 +87,8 @@ public class SimpleDiscoveryProperties implements InitializingBean {
@@ -87,4 +87,8 @@ public class SimpleDiscoveryProperties implements InitializingBean {
@ -73,6 +74,14 @@ public class SimpleDiscoveryClientPropertiesMappingTests {
@@ -73,6 +74,14 @@ public class SimpleDiscoveryClientPropertiesMappingTests {