Fixed Integration Tests for spring-cloud submodules:

* spring-cloud-archaius/basic-config
* spring-cloud-aws
* spring-cloud-bootstrap projects
This commit is contained in:
Ger Roza
2019-04-15 10:00:31 -03:00
parent e41d832038
commit ea06f79651
22 changed files with 97 additions and 41 deletions
@@ -71,7 +71,7 @@ public class GatewayApplication {
InstanceInfo instance = eurekaClient.getNextServerFromEureka("zipkin", false);
if (!(baseUrl != null && instance.getHomePageUrl().equals(baseUrl))) {
baseUrl = instance.getHomePageUrl();
delegate = new HttpZipkinSpanReporter(baseUrl, zipkinProperties.getFlushInterval(), zipkinProperties.getCompression().isEnabled(), spanMetricReporter);
delegate = new HttpZipkinSpanReporter(new RestTemplate(), baseUrl, zipkinProperties.getFlushInterval(), spanMetricReporter);
if (!span.name.matches(skipPattern)) delegate.report(span);
}
if (!span.name.matches(skipPattern)) delegate.report(span);