Commit ff339057 by Ryan Baxter

Updating property names

parent 69739420
...@@ -1536,7 +1536,7 @@ path rendering the `users` path unreachable. ...@@ -1536,7 +1536,7 @@ path rendering the `users` path unreachable.
The default HTTP client used by zuul is now backed by the Apache HTTP Client instead of the The default HTTP client used by zuul is now backed by the Apache HTTP Client instead of the
deprecated Ribbon `RestClient`. To use `RestClient` or to use the `okhttp3.OkHttpClient` set deprecated Ribbon `RestClient`. To use `RestClient` or to use the `okhttp3.OkHttpClient` set
`ribbon.restclient.enabled=true` or `spring.cloud.httpclient.ok.enabled=true` respectively. `ribbon.restclient.enabled=true` or `ribbon.okhttp.enabled=true` respectively.
=== Cookies and Sensitive Headers === Cookies and Sensitive Headers
......
...@@ -61,7 +61,7 @@ import static org.mockito.Mockito.mockingDetails; ...@@ -61,7 +61,7 @@ import static org.mockito.Mockito.mockingDetails;
*/ */
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = OkHttpClientConfigurationTestApp.class, value = {"feign.okhttp.enabled: true", @SpringBootTest(classes = OkHttpClientConfigurationTestApp.class, value = {"feign.okhttp.enabled: true",
"spring.cloud.httpclient.ok.enabled: true", "ribbon.eureka.enabled = false", "ribbon.okhttp.enabled: true"}) "spring.cloud.httpclientfactories.ok.enabled: true", "ribbon.eureka.enabled = false", "ribbon.okhttp.enabled: true"})
@DirtiesContext @DirtiesContext
public class OkHttpClientConfigurationTests { public class OkHttpClientConfigurationTests {
......
...@@ -58,7 +58,7 @@ import lombok.NoArgsConstructor; ...@@ -58,7 +58,7 @@ import lombok.NoArgsConstructor;
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = FeignHttpClientUrlTests.TestConfig.class, webEnvironment = WebEnvironment.DEFINED_PORT, value = { @SpringBootTest(classes = FeignHttpClientUrlTests.TestConfig.class, webEnvironment = WebEnvironment.DEFINED_PORT, value = {
"spring.application.name=feignclienturltest", "feign.hystrix.enabled=false", "spring.application.name=feignclienturltest", "feign.hystrix.enabled=false",
"spring.cloud.httpclient.ok.enabled=false" }) "spring.cloud.httpclientfactories.ok.enabled=false" })
@DirtiesContext @DirtiesContext
public class FeignHttpClientUrlTests { public class FeignHttpClientUrlTests {
......
...@@ -63,7 +63,7 @@ import lombok.NoArgsConstructor; ...@@ -63,7 +63,7 @@ import lombok.NoArgsConstructor;
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = FeignOkHttpTests.Application.class, webEnvironment = WebEnvironment.RANDOM_PORT, value = { @SpringBootTest(classes = FeignOkHttpTests.Application.class, webEnvironment = WebEnvironment.RANDOM_PORT, value = {
"spring.application.name=feignclienttest", "feign.hystrix.enabled=false", "spring.application.name=feignclienttest", "feign.hystrix.enabled=false",
"feign.okhttp.enabled=true", "spring.cloud.httpclient.ok.enabled=true" }) "feign.okhttp.enabled=true", "spring.cloud.httpclientfactories.ok.enabled=true" })
@DirtiesContext @DirtiesContext
public class FeignOkHttpTests { public class FeignOkHttpTests {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment