Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
search-commons
Commits
98bf3267
Commit
98bf3267
authored
Sep 05, 2019
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/eu/dariah/de/search/query/meta/SruQueryExecutionServiceImpl.java
View file @
98bf3267
...
...
@@ -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
;
...
...
src/main/java/eu/dariah/de/search/service/ResourceIndexingServiceImpl.java
View file @
98bf3267
...
...
@@ -64,7 +64,7 @@ public class ResourceIndexingServiceImpl implements ResourceIndexingService {
if
(!
initialized
)
{
try
{
logger
.
debug
(
"Initializing new indexing client..."
);
indexingService
.
init
(
index
,
type
,
data
model
Id
,
endpointId
);
indexingService
.
init
(
index
,
type
,
data
source
Id
,
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment