Revision 49865
Added by Argiro Kokogiannaki over 6 years ago
ProjectHandler.java | ||
---|---|---|
22 | 22 |
|
23 | 23 |
private static Logger logger = Logger.getLogger(ProjectHandler.class); |
24 | 24 |
|
25 |
private String fetchProjectById(String id) throws Exception { |
|
26 |
return searchUtils.fetchProjectXmlFromIndex(id); |
|
25 |
private String fetchProjectById(String id, boolean production) throws Exception {
|
|
26 |
return searchUtils.fetchProjectXmlFromIndex(id, production);
|
|
27 | 27 |
} |
28 | 28 |
|
29 |
public Project fetchProjectByID(String id) throws Exception { |
|
30 |
return fetchProjectByOaf(fetchProjectById(id)); |
|
29 |
public Project fetchProjectByID(String id, boolean production) throws Exception {
|
|
30 |
return fetchProjectByOaf(fetchProjectById(id, production));
|
|
31 | 31 |
} |
32 | 32 |
|
33 | 33 |
public Project fetchProjectByOaf(String oaf) throws Exception { |
Also available in: Unified diff
change migration procedure: search first in beta then in production| add software | change directIndexHandler check for response