Subversion Repositories SmartDukaan

Rev

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

Rev 35929 Rev 36003
Line 295... Line 295...
295
                } catch (Exception e) {
295
                } catch (Exception e) {
296
                    LOGGER.warn("Invalid batchSize provided, defaulting to {}", batchSize);
296
                    LOGGER.warn("Invalid batchSize provided, defaulting to {}", batchSize);
297
                }
297
                }
298
            }
298
            }
299
            LOGGER.info("Starting migration for warehouse.inventoryItem.originalInventoryItemId with batchSize={}", batchSize);
299
            LOGGER.info("Starting migration for warehouse.inventoryItem.originalInventoryItemId with batchSize={}", batchSize);
300
            migrations.migrateWarehouseOriginalInventoryItemId(batchSize);
300
            //migrations.migrateWarehouseOriginalInventoryItemId(batchSize);
301
            LOGGER.info("Migration completed.");
301
            LOGGER.info("Migration completed.");
302
            System.exit(0);
302
            System.exit(0);
303
        }
303
        }
304
        if (args.containsOption("processSchemeOut")) {
304
        if (args.containsOption("processSchemeOut")) {
305
            System.out.println("Process schemeOut");
305
            System.out.println("Process schemeOut");
Line 572... Line 572...
572
            }
572
            }
573
            if (args.containsOption("1")) {
573
            if (args.containsOption("1")) {
574
                if (args.containsOption("test")) {
574
                if (args.containsOption("test")) {
575
                    //scheduledTasks.sendPartnerInvestmentDetails(args.getOptionValues("email"));
575
                    //scheduledTasks.sendPartnerInvestmentDetails(args.getOptionValues("email"));
576
                    System.out.println("Calling test method");
576
                    System.out.println("Calling test method");
-
 
577
                    try {
577
                    scheduledTasks.test();
578
                        scheduledTasks.test();
-
 
579
                    } catch (Throwable e) {
-
 
580
                        throw new RuntimeException(e);
-
 
581
                    }
578
                    System.exit(0);
582
                    System.exit(0);
579
 
583
 
580
                    if (args.containsOption("migrateVendorItemPricing")) {
584
                    if (args.containsOption("migrateVendorItemPricing")) {
581
                        scheduledTasks.migrateVendorItemPricing();
585
                        scheduledTasks.migrateVendorItemPricing();
582
                        System.exit(0);
586
                        System.exit(0);