Updating property names
This commit is contained in:
@@ -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
|
||||
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
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ import static org.mockito.Mockito.mockingDetails;
|
||||
*/
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@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
|
||||
public class OkHttpClientConfigurationTests {
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ import lombok.NoArgsConstructor;
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@SpringBootTest(classes = FeignHttpClientUrlTests.TestConfig.class, webEnvironment = WebEnvironment.DEFINED_PORT, value = {
|
||||
"spring.application.name=feignclienturltest", "feign.hystrix.enabled=false",
|
||||
"spring.cloud.httpclient.ok.enabled=false" })
|
||||
"spring.cloud.httpclientfactories.ok.enabled=false" })
|
||||
@DirtiesContext
|
||||
public class FeignHttpClientUrlTests {
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ import lombok.NoArgsConstructor;
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@SpringBootTest(classes = FeignOkHttpTests.Application.class, webEnvironment = WebEnvironment.RANDOM_PORT, value = {
|
||||
"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
|
||||
public class FeignOkHttpTests {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user