Recently I wanted to try out a REST call on my local computer, running my microservice locally. The service calls another microservice, in the SIT environment, that required secure HTTP s connection. As I did not have the certificate installed on my workstation, but wanted to fast test the call anyway, I had to find… Continue reading Bypass SSL certification with Spring RestTemplate
Month: December 2019
Using multiple RetsTemplates in Spring Boot application
Recently I had to request information from my Spring Boot application from multiple services via REST. Normally it works so simple as calling a the service URL, like this: ResponseEntity response = restTemplate.getForEntity(url, MyResponse.class); Although in my case both services required different authentication method. The first one was an open service, the second one… Continue reading Using multiple RetsTemplates in Spring Boot application