| Line 479... |
Line 479... |
| 479 |
inventoryServiceClient = new InventoryClient();
|
479 |
inventoryServiceClient = new InventoryClient();
|
| 480 |
transactionServiceClient = new TransactionClient();
|
480 |
transactionServiceClient = new TransactionClient();
|
| 481 |
//catalogServiceClient = new CatalogClient();
|
481 |
//catalogServiceClient = new CatalogClient();
|
| 482 |
catalogServiceClient = new CatalogClient("catalog_service_server_host_amazon","catalog_service_server_port");
|
482 |
catalogServiceClient = new CatalogClient("catalog_service_server_host_amazon","catalog_service_server_port");
|
| 483 |
} catch (Exception e) {
|
483 |
} catch (Exception e) {
|
| 484 |
// TODO Auto-generated catch block
|
- |
|
| 485 |
e.printStackTrace();
|
484 |
e.printStackTrace();
|
| 486 |
}
|
485 |
}
|
| 487 |
in.shop2020.model.v1.inventory.InventoryService.Client inventoryClient = inventoryServiceClient.getClient();
|
486 |
in.shop2020.model.v1.inventory.InventoryService.Client inventoryClient = inventoryServiceClient.getClient();
|
| 488 |
in.shop2020.model.v1.order.TransactionService.Client transactionClient = transactionServiceClient.getClient();
|
- |
|
| 489 |
in.shop2020.model.v1.catalog.CatalogService.Client catalogClient = catalogServiceClient.getClient();
|
487 |
in.shop2020.model.v1.catalog.CatalogService.Client catalogClient = catalogServiceClient.getClient();
|
| 490 |
SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");
|
488 |
SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");
|
| 491 |
//Date date_today = dateFormat.parse(dateFormat.format(new Date()));
|
489 |
//Date date_today = dateFormat.parse(dateFormat.format(new Date()));
|
| 492 |
List<Date> dates = new ArrayList<Date>();
|
490 |
List<Date> dates = new ArrayList<Date>();
|
| 493 |
Calendar cal = Calendar.getInstance();
|
491 |
Calendar cal = Calendar.getInstance();
|