1
0
mirror of https://github.com/pcvolkmer/etl-processor.git synced 2025-04-19 17:26:51 +00:00

refactor: rename method for custom rest template configuration

This commit is contained in:
Paul-Christian Volkmer 2024-04-22 19:13:47 +02:00
parent 4db38ef2f0
commit eabbbfbb68

View File

@ -72,7 +72,7 @@ public class GpasPseudonymGenerator implements Generator {
public GpasPseudonymGenerator(GPasConfigProperties gpasCfg, RetryTemplate retryTemplate) {
this.retryTemplate = retryTemplate;
this.restTemplate = getRestTemplete();
this.restTemplate = getCustomRestTemplete();
this.gPasUrl = gpasCfg.getUri();
this.psnTargetDomain = gpasCfg.getTarget();
@ -217,7 +217,7 @@ public class GpasPseudonymGenerator implements Generator {
return sslContext;
}
protected RestTemplate getRestTemplete() {
protected RestTemplate getCustomRestTemplete() {
if (customSslContext == null) {
return new RestTemplate();
}