Revision 57125
Added by Argiro Kokogiannaki over 4 years ago
ProjectHandler.java | ||
---|---|---|
22 | 22 |
|
23 | 23 |
private static Logger logger = Logger.getLogger(ProjectHandler.class); |
24 | 24 |
|
25 |
private String fetchProjectById(String id, boolean production) throws Exception {
|
|
26 |
return searchUtils.fetchProjectXmlFromIndex(id, production);
|
|
25 |
private String fetchProjectById(String id) throws Exception { |
|
26 |
return searchUtils.fetchProjectXmlFromIndex(id); |
|
27 | 27 |
} |
28 | 28 |
|
29 |
public Project fetchProjectByID(String id, boolean production) throws Exception {
|
|
30 |
return fetchProjectByOaf(fetchProjectById(id, production));
|
|
29 |
public Project fetchProjectByID(String id) throws Exception { |
|
30 |
return fetchProjectByOaf(fetchProjectById(id)); |
|
31 | 31 |
} |
32 | 32 |
|
33 | 33 |
public Project fetchProjectByOaf(String oaf) throws Exception { |
Also available in: Unified diff
Search utils, Project Handler, IndexResultHandler:
get search service url from properties
remove isProduction parameter
remove dedup result methods used in migration