Initial practice application to study Feign clients.
Added RestTemplate client to test the difference between Feign and RestTemplate calls to remote services.
- The PracticeApplication initialises the RestTemplate bean. This in turn requires the HttpComponentsClientHttpRequestFactory.
- The HttpComponentsClientHttpRequestFactory requires the org.apache.httpcomponents:httpclient dependency.
TODO
- Migrate to org.springdoc.springdoc-openapi-ui
- This is required as io.springfox:springfox-swagger2 and Swagger 3 is not compatible with springboot:2.6.x
- You need to run this application with the
-Dhttps.protocols=TLSv1.2
VM argument as the coingecko API requires v1.2 TLS and the JVM uses an older version by default.