| Line 73... |
Line 73... |
| 73 |
|
73 |
|
| 74 |
private static final int EBAYSOURCE = 6;
|
74 |
private static final int EBAYSOURCE = 6;
|
| 75 |
private static final int SNAPDEALSOURCE = 7;
|
75 |
private static final int SNAPDEALSOURCE = 7;
|
| 76 |
private static final int FLIPKARTSOURCE = 8;
|
76 |
private static final int FLIPKARTSOURCE = 8;
|
| 77 |
private static final int HOMESHOP18SOURCE = 4;
|
77 |
private static final int HOMESHOP18SOURCE = 4;
|
| - |
|
78 |
|
| - |
|
79 |
private static final long DEFAULTQUANTIYSTEP = 1;
|
| - |
|
80 |
private static final long DEFAULTMINBUYQTY =1;
|
| 78 |
|
81 |
|
| 79 |
List<Item> privateDealitemList;
|
82 |
List<Item> privateDealitemList;
|
| 80 |
|
83 |
|
| 81 |
static {
|
84 |
static {
|
| 82 |
try {
|
85 |
try {
|
| Line 667... |
Line 670... |
| 667 |
try {
|
670 |
try {
|
| 668 |
CatalogClient catalogServiceClient = new CatalogClient();
|
671 |
CatalogClient catalogServiceClient = new CatalogClient();
|
| 669 |
Client catalogClient = catalogServiceClient.getClient();
|
672 |
Client catalogClient = catalogServiceClient.getClient();
|
| 670 |
InventoryClient inventoryServiceClient = new InventoryClient();
|
673 |
InventoryClient inventoryServiceClient = new InventoryClient();
|
| 671 |
in.shop2020.model.v1.inventory.InventoryService.Client inventoryClient = inventoryServiceClient.getClient();
|
674 |
in.shop2020.model.v1.inventory.InventoryService.Client inventoryClient = inventoryServiceClient.getClient();
|
| 672 |
|
- |
|
| 673 |
in.shop2020.model.v1.catalog.Item tItem = new in.shop2020.model.v1.catalog.Item();
|
675 |
in.shop2020.model.v1.catalog.Item tItem = new in.shop2020.model.v1.catalog.Item();
|
| - |
|
676 |
item.setQuantityStep(DEFAULTQUANTIYSTEP);
|
| - |
|
677 |
item.setMinimumBuyQuantity(DEFAULTMINBUYQTY);
|
| 674 |
setThriftItemParams(tItem, item);
|
678 |
setThriftItemParams(tItem, item);
|
| 675 |
itemId = catalogClient.addItem(tItem);
|
679 |
itemId = catalogClient.addItem(tItem);
|
| 676 |
tItem.setId(itemId);
|
680 |
tItem.setId(itemId);
|
| 677 |
Client catalogClientProd = new CatalogClient("catalog_service_server_host_prod","catalog_service_server_port").getClient();
|
681 |
Client catalogClientProd = new CatalogClient("catalog_service_server_host_prod","catalog_service_server_port").getClient();
|
| 678 |
catalogClientProd.addItem(tItem);
|
682 |
catalogClientProd.addItem(tItem);
|