Skip to content

jlau78/practice-feign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PracticeFeign Service

Initial practice application to study Feign clients.

Added RestTemplate client to test the difference between Feign and RestTemplate calls to remote services.

RestTemplate requirements

  • The PracticeApplication initialises the RestTemplate bean. This in turn requires the HttpComponentsClientHttpRequestFactory.
  • The HttpComponentsClientHttpRequestFactory requires the org.apache.httpcomponents:httpclient dependency.

Swagger-ui

TODO

  1. Migrate to org.springdoc.springdoc-openapi-ui
  2. This is required as io.springfox:springfox-swagger2 and Swagger 3 is not compatible with springboot:2.6.x

Running the application

Coingecko API requires TLS v1.2

  1. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages