in polaris-synchronizer/api/src/main/java/org/apache/polaris/tools/sync/polaris/catalog/PolarisCatalog.java [74:90]
public void initialize(String name, Map<String, String> props) {
this.name = name;
this.properties = props;
if (resourcePaths == null) {
this.properties.put("prefix", props.get("warehouse"));
resourcePaths = ResourcePaths.forCatalogProperties(this.properties);
}
super.initialize(name, props);
if (authenticationSession == null || httpClient == null || this.objectMapper == null) {
this.authenticationSession = new AuthenticationSessionWrapper(this.properties);
this.httpClient = HttpClient.newBuilder().build();
this.objectMapper = new ObjectMapper();
}
}