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:
parent
4db38ef2f0
commit
eabbbfbb68
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user