Commit 98bf3267 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1327: Separate IndexingService from ResourceEnrichmentService

Task-Url: https://pm.winseda.de/issues/1327
parent 5e65a99d
Pipeline #11911 failed with stages
in 9 seconds
......@@ -109,7 +109,7 @@ public class SruQueryExecutionServiceImpl extends BaseResultService implements Q
continue;
}
String result = restTemplate.getForObject(opacEndpoint.getUrl(), String.class);
//String result = restTemplate.getForObject(opacEndpoint.getUrl(), String.class);
String entityId = null;
String alias = null;
......
......@@ -64,7 +64,7 @@ public class ResourceIndexingServiceImpl implements ResourceIndexingService {
if (!initialized) {
try {
logger.debug("Initializing new indexing client...");
indexingService.init(index, type, datamodelId, endpointId);
indexingService.init(index, type, datasourceId, endpointId);
enrichmentService.init(datamodelId);
} catch (ProcessingConfigException e) {
logger.error("Failed to initialize indexing client", e);
......@@ -94,4 +94,4 @@ public class ResourceIndexingServiceImpl implements ResourceIndexingService {
return 0;
}
}
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment