package fr.insee.pogues.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource("classpath:env/${fr.insee.pogues.env:dv}/pogues-bo.properties")
public class ApplicationContext { }

@@ -26,16 +26,158 @@
 onfig;%0A%0A
+import org.apache.http.client.HttpClient;%0Aimport org.apache.http.impl.client.HttpClients;%0Aimport org.springframework.context.annotation.Bean;%0A
 import o
@@ -420,11 +420,108 @@
 ontext %7B
- 
+%0A%0A    @Bean%0A    public HttpClient httpClient()%7B%0A        return HttpClients.createDefault();%0A    %7D%0A
 %7D%0A

Make HttpClient injectable