formatting
This commit is contained in:
@@ -166,7 +166,8 @@ public class ConfigServerConfigDataLoader implements ConfigDataLoader<ConfigServ
|
||||
// , is used as a profile-separator for property sources
|
||||
// from vault
|
||||
// - is the default profile-separator for property sources
|
||||
// TODO This is error prone logic see https://github.com/spring-cloud/spring-cloud-config/issues/2291
|
||||
// TODO This is error prone logic see
|
||||
// https://github.com/spring-cloud/spring-cloud-config/issues/2291
|
||||
if (propertySourceName.matches(".*[-,]" + profile + ".*")) {
|
||||
// // TODO: switch to Options.with() when implemented
|
||||
options.add(Option.PROFILE_SPECIFIC);
|
||||
|
||||
@@ -71,7 +71,7 @@ public class HttpClient4SupportTest {
|
||||
@EnabledOnJre(JRE.JAVA_8)
|
||||
public void httpsProxy() throws GeneralSecurityException, IOException {
|
||||
WireMockServer wireMockProxyServer = new WireMockServer(
|
||||
options().httpDisabled(true).dynamicHttpsPort().enableBrowserProxying(true).trustAllProxyTargets(true));
|
||||
options().httpDisabled(true).dynamicHttpsPort().enableBrowserProxying(true).trustAllProxyTargets(true));
|
||||
WireMockServer wireMockServer = new WireMockServer(options().httpDisabled(true).dynamicHttpsPort());
|
||||
wireMockProxyServer.start();
|
||||
wireMockServer.start();
|
||||
@@ -91,7 +91,7 @@ public class HttpClient4SupportTest {
|
||||
try {
|
||||
httpClient = HttpClient4Support.builder(properties).build();
|
||||
response = httpClient
|
||||
.execute(new HttpGet("https://localhost:" + wireMockServer.httpsPort() + "/test/proxy"));
|
||||
.execute(new HttpGet("https://localhost:" + wireMockServer.httpsPort() + "/test/proxy"));
|
||||
}
|
||||
finally {
|
||||
if (response != null) {
|
||||
|
||||
Reference in New Issue
Block a user