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