use of com.opentext.ia.sdk.dto.Tenant in project infoarchive-sip-sdk by Enterprise-Content-Management.
the class ArchiveClients method appResourceCache.
private static ApplicationIngestionResourcesCache appResourceCache(String applicationName, ArchiveConnection connection, RestClient restClient) throws IOException {
ApplicationIngestionResourcesCache resourceCache = new ApplicationIngestionResourcesCache(applicationName);
Services services = connection.getServices();
ProductInfo productInfo = getProductInfo(restClient, services);
Tenant tenant = getTenant(restClient, services);
Application application = getApplication(restClient, tenant, applicationName);
cacheResourceUris(restClient, services, productInfo, application, resourceCache);
return resourceCache;
}
Aggregations