class VnfmAdapterCreateVnfTaskConfiguration {

    @Bean
    public HttpRestServiceProvider databaseHttpRestServiceProvider(
            @Qualifier(CONFIGURABLE_REST_TEMPLATE) @Autowired final RestTemplate restTemplate,
            @Autowired final VnfmBasicHttpConfigProvider etsiVnfmAdapter) {
        if (trustStore != null) {
            setTrustStore(restTemplate);
        }
        return getHttpRestServiceProvider(restTemplate, new BasicHttpHeadersProvider(etsiVnfmAdapter.getAuth()));
    }

}