Files
spring-cloud-core-tests/feign-eager-instantiation/src/main/java/demo/ExampleClient.java
Spring Operator d99e14fd89 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://cloud.spring.io/spring-cloud-static/spring-cloud.html with 1 occurrences migrated to:
  https://cloud.spring.io/spring-cloud-static/spring-cloud.html ([https](https://cloud.spring.io/spring-cloud-static/spring-cloud.html) result 200).
* [ ] http://example.com with 1 occurrences migrated to:
  https://example.com ([https](https://example.com) result 200).

# Ignored
These URLs were intentionally ignored.

* http://foo/bar with 1 occurrences
* http://localhost with 18 occurrences
* http://localhost:7777 with 1 occurrences
* http://localhost:8000/src/main/resources/health.json with 1 occurrences
* http://localhost:8080 with 1 occurrences
* http://localhost:8080/hystrix.stream with 1 occurrences
* http://localhost:8888 with 1 occurrences
* http://nosuchservice with 1 occurrences
* http://simple/ with 1 occurrences
* http://user with 2 occurrences
* http://user::password@localhost:8761/eureka/ with 1 occurrences
2019-03-26 03:24:35 -05:00

13 lines
376 B
Java

package demo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@FeignClient(name = "example", url = "https://example.com")
public interface ExampleClient {
@RequestMapping(value = "/", method = RequestMethod.GET)
String get();
}