Subversion Repositories SmartDukaan

Rev

Rev 7673 | Rev 7709 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7673 Rev 7708
Line 284... Line 284...
284
            log.info("Before getting paused items.");
284
            log.info("Before getting paused items.");
285
            items.addAll(client.getAllItemsByStatus(status.PAUSED));
285
            items.addAll(client.getAllItemsByStatus(status.PAUSED));
286
            // Clean up the data from the solr directories.
286
            // Clean up the data from the solr directories.
287
            log.info("Before removing old resources.");
287
            log.info("Before removing old resources.");
288
            removeOldResources();
288
            removeOldResources();
-
 
289
            try {
-
 
290
            	//Generate prices and availability data for amazon
-
 
291
            	AmazonSCDataGenerator.generatePricesAndAvailability(items);
-
 
292
            } catch (Exception e) {
-
 
293
            	log.info("Could not generate Amazon prices and availability", e);
-
 
294
            }
289
 
295
 
290
        }
296
        }
291
 
297
 
292
/*        if (GENERATION_TYPE.equals(GENERATION_TYPE_INCREMENTAL)) {
298
/*        if (GENERATION_TYPE.equals(GENERATION_TYPE_INCREMENTAL)) {
293
        }
299
        }