use of com.opentext.ia.sdk.client.impl.ApplicationIngestionResourcesCache in project infoarchive-sip-sdk by Enterprise-Content-Management.
the class ArchiveClients method appResourceCache.
private static ApplicationIngestionResourcesCache appResourceCache(RestClient restClient, ServerConfiguration configuration) {
try {
ApplicationIngestionResourcesCache resourceCache = new ApplicationIngestionResourcesCache(configuration.getApplicationName());
Services services = restClient.get(configuration.getBillboardUri(), Services.class);
Tenant tenant = getTenant(restClient, services);
Application application = getApplication(restClient, tenant, configuration.getApplicationName());
cacheResourceUris(resourceCache, restClient, application);
return resourceCache;
} catch (IOException e) {
throw new RuntimeIoException(e);
}
}
Aggregations