| Line 403... |
Line 403... |
| 403 |
items.addAll(client.getAllItemsByStatus(status.CONTENT_COMPLETE));
|
403 |
items.addAll(client.getAllItemsByStatus(status.CONTENT_COMPLETE));
|
| 404 |
populateEntityIdItemMap();
|
404 |
populateEntityIdItemMap();
|
| 405 |
|
405 |
|
| 406 |
//FIXME Avoiding the finding of accesories, as list of categories for which we need to find accessories is hardocoded in code.
|
406 |
//FIXME Avoiding the finding of accesories, as list of categories for which we need to find accessories is hardocoded in code.
|
| 407 |
// We need to make that configurable. Also creating ticket to improve it.
|
407 |
// We need to make that configurable. Also creating ticket to improve it.
|
| 408 |
/*
|
408 |
try{
|
| 409 |
log.info("Finding accessories");
|
409 |
log.info("Finding accessories");
|
| 410 |
AccessoriesFinder af = new AccessoriesFinder(entityIdItemMap.keySet());
|
410 |
AccessoriesFinder af = new AccessoriesFinder(entityIdItemMap.keySet());
|
| 411 |
Map<Long, Map<Long, List<Long>>> relatedAccessories = af.findAccessories();
|
411 |
Map<Long, Map<Long, List<Long>>> relatedAccessories = af.findAccessories();
|
| 412 |
CreationUtils.storeRelatedAccessories(relatedAccessories);
|
412 |
CreationUtils.storeRelatedAccessories(relatedAccessories);
|
| 413 |
*/
|
413 |
}catch (Exception e) {
|
| - |
|
414 |
log.error("Error while generating accessories" + e);
|
| - |
|
415 |
}
|
| 414 |
|
416 |
|
| 415 |
log.info("Writing JSON file for special pages");
|
417 |
log.info("Writing JSON file for special pages");
|
| 416 |
SpecialPageJSONConvertor bjc = new SpecialPageJSONConvertor();
|
418 |
SpecialPageJSONConvertor bjc = new SpecialPageJSONConvertor();
|
| 417 |
bjc.writeToJSONFile(new File(Utils.EXPORT_JAVASCRIPT_CONTENT_PATH
|
419 |
bjc.writeToJSONFile(new File(Utils.EXPORT_JAVASCRIPT_CONTENT_PATH
|
| 418 |
+ "special-pages.json"));
|
420 |
+ "special-pages.json"));
|