Changes to https for example.com

This commit is contained in:
Ryan Baxter
2019-05-22 19:17:24 -04:00
parent 31ccf95a33
commit 9bf73652ac
5 changed files with 9 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ public class FeignClientApplication {
}
}
@FeignClient(name = "example", url = "example.com")
@FeignClient(name = "example", url = "https://example.com")
@RequestMapping("/")
interface RestClient {
@RequestMapping(method = RequestMethod.GET)

View File

@@ -21,7 +21,9 @@ import org.springframework.web.bind.annotation.RequestMethod;
// We disable Hystrix because we are not concerned about testing circuit breakers in this
// test and it eliminates hystrix timeouts from messing with the request
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = {
"myexample.ribbon.listOfServers:example.com", "feign.hystrix.enabled=false" })
"myexample.ribbon.listOfServers:example.com:443",
"myexample.ribbon.IsSecure:true",
"feign.hystrix.enabled=false" })
@DirtiesContext
public class FeignClientWithServerListApplicationTests {