| 7283 |
kshitij.so |
1 |
package in.shop2020.support.controllers;
|
|
|
2 |
|
| 7524 |
kshitij.so |
3 |
import java.io.File;
|
| 7741 |
kshitij.so |
4 |
import java.io.FileInputStream;
|
| 7524 |
kshitij.so |
5 |
import java.io.IOException;
|
| 7365 |
kshitij.so |
6 |
import java.util.HashMap;
|
| 7283 |
kshitij.so |
7 |
import java.util.List;
|
|
|
8 |
import java.util.Map;
|
|
|
9 |
|
| 7591 |
kshitij.so |
10 |
import javax.servlet.ServletContext;
|
| 7283 |
kshitij.so |
11 |
import javax.servlet.ServletRequest;
|
|
|
12 |
import javax.servlet.http.HttpServletRequest;
|
| 7591 |
kshitij.so |
13 |
import javax.servlet.http.HttpSession;
|
| 7283 |
kshitij.so |
14 |
|
|
|
15 |
import in.shop2020.model.v1.catalog.Amazonlisted;
|
|
|
16 |
import in.shop2020.model.v1.catalog.CatalogServiceException;
|
|
|
17 |
import in.shop2020.model.v1.catalog.Item;
|
|
|
18 |
import in.shop2020.model.v1.inventory.AmazonInventorySnapshot;
|
|
|
19 |
import in.shop2020.model.v1.catalog.CatalogService.Client;
|
|
|
20 |
import in.shop2020.model.v1.inventory.InventoryServiceException;
|
| 7741 |
kshitij.so |
21 |
import in.shop2020.model.v1.order.AmazonOrder;
|
| 7591 |
kshitij.so |
22 |
import in.shop2020.support.utils.ReportsUtils;
|
| 7283 |
kshitij.so |
23 |
import in.shop2020.thrift.clients.CatalogClient;
|
|
|
24 |
import in.shop2020.thrift.clients.InventoryClient;
|
| 7365 |
kshitij.so |
25 |
import in.shop2020.thrift.clients.LogisticsClient;
|
| 7741 |
kshitij.so |
26 |
import in.shop2020.thrift.clients.TransactionClient;
|
| 7365 |
kshitij.so |
27 |
import in.shop2020.logistics.DeliveryType;
|
|
|
28 |
import in.shop2020.logistics.LogisticsInfo;
|
|
|
29 |
import in.shop2020.logistics.LogisticsServiceException;
|
|
|
30 |
import in.shop2020.logistics.PickUpType;
|
| 7283 |
kshitij.so |
31 |
|
| 7524 |
kshitij.so |
32 |
import org.apache.commons.io.FileUtils;
|
| 7365 |
kshitij.so |
33 |
import org.apache.commons.lang.xwork.StringUtils;
|
| 7741 |
kshitij.so |
34 |
import org.apache.poi.hssf.usermodel.HSSFSheet;
|
|
|
35 |
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
| 7591 |
kshitij.so |
36 |
import org.apache.struts2.convention.annotation.InterceptorRef;
|
|
|
37 |
import org.apache.struts2.convention.annotation.InterceptorRefs;
|
| 7283 |
kshitij.so |
38 |
import org.apache.struts2.convention.annotation.Result;
|
|
|
39 |
import org.apache.struts2.convention.annotation.Results;
|
|
|
40 |
import org.apache.struts2.interceptor.ServletRequestAware;
|
|
|
41 |
import org.apache.thrift.TException;
|
| 7741 |
kshitij.so |
42 |
import org.apache.thrift.transport.TTransportException;
|
| 7283 |
kshitij.so |
43 |
import org.slf4j.Logger;
|
|
|
44 |
import org.slf4j.LoggerFactory;
|
|
|
45 |
|
|
|
46 |
import com.opensymphony.xwork2.ValidationAwareSupport;
|
|
|
47 |
|
|
|
48 |
@SuppressWarnings("serial")
|
| 7591 |
kshitij.so |
49 |
@InterceptorRefs({
|
|
|
50 |
@InterceptorRef("defaultStack"),
|
|
|
51 |
@InterceptorRef("login")
|
|
|
52 |
})
|
| 7283 |
kshitij.so |
53 |
@Results({
|
| 7524 |
kshitij.so |
54 |
@Result(name = "redirect", location = "${url}", type = "redirect"),
|
|
|
55 |
@Result(name="authsuccess", type="redirectAction", params = {"actionName" , "reports"})
|
|
|
56 |
})
|
|
|
57 |
public class AmazonListController extends ValidationAwareSupport implements ServletRequestAware {
|
| 7283 |
kshitij.so |
58 |
|
|
|
59 |
private static Logger logger = LoggerFactory.getLogger(AmazonListController.class);
|
|
|
60 |
|
| 7591 |
kshitij.so |
61 |
private HttpServletRequest request;
|
|
|
62 |
private HttpSession session;
|
|
|
63 |
private ServletContext context;
|
| 7283 |
kshitij.so |
64 |
private String url;
|
|
|
65 |
private String id;
|
|
|
66 |
private String itemId;
|
|
|
67 |
private String isFba;
|
|
|
68 |
private String isNonFba;
|
|
|
69 |
private String isInventoryOverride;
|
|
|
70 |
private String fbaPrice;
|
|
|
71 |
private String sellingPrice;
|
|
|
72 |
private String saholicPrice;
|
| 7365 |
kshitij.so |
73 |
private String isTime;
|
|
|
74 |
private String handlingTime;
|
|
|
75 |
private String customHandlingTime;
|
| 7461 |
kshitij.so |
76 |
private String holdInventory;
|
|
|
77 |
private String defaultInventory;
|
| 7524 |
kshitij.so |
78 |
private String fileUploadFileName;
|
|
|
79 |
private String fileUploadContentType;
|
|
|
80 |
private File file;
|
| 7283 |
kshitij.so |
81 |
|
|
|
82 |
public String index() {
|
| 7591 |
kshitij.so |
83 |
if(!ReportsUtils.canAccessReport((Long)session.getAttribute(ReportsUtils.ROLE), request.getServletPath())) {
|
|
|
84 |
return "authfail";
|
|
|
85 |
}
|
| 7283 |
kshitij.so |
86 |
return "index";
|
|
|
87 |
}
|
|
|
88 |
|
|
|
89 |
public List<Amazonlisted> fetchItems() throws TException {
|
| 7408 |
kshitij.so |
90 |
Client CatalogClient = new CatalogClient("catalog_service_server_host_amazon","catalog_service_server_port").getClient();
|
| 7283 |
kshitij.so |
91 |
return CatalogClient.getAllAmazonListedItems();
|
|
|
92 |
}
|
|
|
93 |
|
| 7408 |
kshitij.so |
94 |
public Amazonlisted fetchItemDetail() throws NumberFormatException, TException {
|
|
|
95 |
Client CatalogClient = new CatalogClient("catalog_service_server_host_amazon","catalog_service_server_port").getClient();
|
| 7283 |
kshitij.so |
96 |
return CatalogClient.getAmazonItemDetails(Long.valueOf(id));
|
|
|
97 |
}
|
|
|
98 |
|
| 7408 |
kshitij.so |
99 |
public Item getSaholicItem(String id) throws NumberFormatException, CatalogServiceException, TException {
|
|
|
100 |
Client CatalogClient = new CatalogClient("catalog_service_server_host_amazon","catalog_service_server_port").getClient();
|
| 7283 |
kshitij.so |
101 |
return CatalogClient.getItem(Long.valueOf(id));
|
|
|
102 |
}
|
| 7365 |
kshitij.so |
103 |
|
|
|
104 |
|
|
|
105 |
|
| 7283 |
kshitij.so |
106 |
public String update() throws NumberFormatException, TException{
|
| 7408 |
kshitij.so |
107 |
Client CatalogClient = new CatalogClient("catalog_service_server_host_amazon","catalog_service_server_port").getClient();
|
| 8029 |
kshitij.so |
108 |
if ( Double.valueOf(sellingPrice) > Double.valueOf(saholicPrice) ) {
|
| 7365 |
kshitij.so |
109 |
addActionError("Failed To Do Changes");
|
| 7283 |
kshitij.so |
110 |
}
|
|
|
111 |
else {
|
| 7365 |
kshitij.so |
112 |
boolean flag=false;
|
| 7591 |
kshitij.so |
113 |
long delay = Long.valueOf(customHandlingTime);
|
| 7365 |
kshitij.so |
114 |
if ( Boolean.valueOf(isTime)) {
|
|
|
115 |
flag = true;
|
|
|
116 |
}
|
| 7461 |
kshitij.so |
117 |
changeItemInventory();
|
| 7365 |
kshitij.so |
118 |
CatalogClient.updateAmazonItemDetails(Long.valueOf(itemId),Double.valueOf(fbaPrice),Double.valueOf(sellingPrice),Boolean.valueOf(isFba),Boolean.valueOf(isNonFba),Boolean.valueOf(isInventoryOverride),delay,flag);
|
| 7283 |
kshitij.so |
119 |
}
|
| 7591 |
kshitij.so |
120 |
//setUrl("/amazon-list/");
|
|
|
121 |
return "index";
|
| 7283 |
kshitij.so |
122 |
|
|
|
123 |
}
|
|
|
124 |
|
| 7741 |
kshitij.so |
125 |
public String upload() throws IOException, TException {
|
| 7524 |
kshitij.so |
126 |
File fileToCreate = new File("/tmp/", "Amazon-shipping.xls");
|
|
|
127 |
FileUtils.copyFile(this.file, fileToCreate);
|
| 7741 |
kshitij.so |
128 |
FileInputStream iFile = new FileInputStream(new File(file.getAbsolutePath()));
|
|
|
129 |
HSSFWorkbook workbook = new HSSFWorkbook(iFile);
|
|
|
130 |
HSSFSheet sheet = workbook.getSheetAt(0);
|
| 7762 |
kshitij.so |
131 |
Map<Long,Map<String,String>> amazonOrderMap = new HashMap<Long,Map<String,String>>();
|
| 7741 |
kshitij.so |
132 |
for (int iterator=sheet.getFirstRowNum();iterator<=sheet.getLastRowNum();iterator++){
|
|
|
133 |
TransactionClient tcl = new TransactionClient();
|
|
|
134 |
List<AmazonOrder> orders = tcl.getClient().getAmazonOrderByAmazonOrderId(sheet.getRow(iterator).getCell(0).getStringCellValue());
|
|
|
135 |
for (AmazonOrder order : orders){
|
| 7753 |
kshitij.so |
136 |
if (StringUtils.equals(order.getStatus(), "Order-Payment-Success")){
|
| 7762 |
kshitij.so |
137 |
Map<String,String> dateMap = new HashMap<String,String>();
|
|
|
138 |
dateMap.put(sheet.getRow(iterator).getCell(1).getStringCellValue(), sheet.getRow(iterator).getCell(2).getStringCellValue());
|
|
|
139 |
amazonOrderMap.put(order.getOrderId(), dateMap);
|
| 7741 |
kshitij.so |
140 |
}
|
|
|
141 |
}
|
|
|
142 |
}
|
|
|
143 |
TransactionClient tcl = new TransactionClient();
|
|
|
144 |
tcl.getClient().updateTimestampForAmazonOrder(amazonOrderMap);
|
| 7524 |
kshitij.so |
145 |
return "authsuccess";
|
|
|
146 |
}
|
|
|
147 |
|
| 7461 |
kshitij.so |
148 |
private void changeItemInventory() throws NumberFormatException, TException {
|
|
|
149 |
Client CatalogClient = new CatalogClient("catalog_service_server_host_amazon","catalog_service_server_port").getClient();
|
| 7524 |
kshitij.so |
150 |
|
| 7461 |
kshitij.so |
151 |
if (StringUtils.isEmpty(holdInventory)) {
|
|
|
152 |
holdInventory = "0";
|
|
|
153 |
}
|
|
|
154 |
if (StringUtils.isEmpty(defaultInventory)) {
|
|
|
155 |
defaultInventory = "0";
|
|
|
156 |
}
|
| 7524 |
kshitij.so |
157 |
|
| 7461 |
kshitij.so |
158 |
CatalogClient.updateItemInventory(Long.valueOf(itemId),Long.valueOf(holdInventory),Long.valueOf(defaultInventory));
|
|
|
159 |
}
|
|
|
160 |
|
|
|
161 |
|
| 7283 |
kshitij.so |
162 |
public Map<Long, Long> getAvailableItemInventory(String itemId) throws NumberFormatException, InventoryServiceException, TException{
|
|
|
163 |
InventoryClient inventoryServiceClient = new InventoryClient();
|
|
|
164 |
in.shop2020.model.v1.inventory.InventoryService.Client inventoryClient = inventoryServiceClient.getClient();
|
|
|
165 |
in.shop2020.model.v1.inventory.ItemInventory thriftItemInventory = inventoryClient.getItemInventoryByItemId(Long.valueOf(itemId));
|
|
|
166 |
return thriftItemInventory.getAvailability();
|
|
|
167 |
|
|
|
168 |
}
|
|
|
169 |
|
|
|
170 |
public Map<Long, Long> getReservedItemInventory(String itemId) throws NumberFormatException, InventoryServiceException, TException{
|
|
|
171 |
InventoryClient inventoryServiceClient = new InventoryClient();
|
|
|
172 |
in.shop2020.model.v1.inventory.InventoryService.Client inventoryClient = inventoryServiceClient.getClient();
|
|
|
173 |
in.shop2020.model.v1.inventory.ItemInventory thriftItemInventory = inventoryClient.getItemInventoryByItemId(Long.valueOf(itemId));
|
|
|
174 |
return thriftItemInventory.getReserved();
|
|
|
175 |
|
|
|
176 |
}
|
|
|
177 |
|
|
|
178 |
public String getWarehouseName(String warehouseId) throws NumberFormatException, TException {
|
|
|
179 |
InventoryClient inventoryServiceClient = new InventoryClient();
|
|
|
180 |
return inventoryServiceClient.getClient().getWarehouseName(Long.valueOf(warehouseId));
|
|
|
181 |
}
|
|
|
182 |
|
|
|
183 |
public AmazonInventorySnapshot getInventoryForAmazonItem(String itemId) throws NumberFormatException, TException {
|
|
|
184 |
InventoryClient inventoryServiceClient = new InventoryClient();
|
| 7365 |
kshitij.so |
185 |
try {
|
|
|
186 |
return inventoryServiceClient.getClient().getAmazonInventoryForItem(Long.valueOf(itemId));
|
|
|
187 |
}
|
|
|
188 |
catch (Exception e){
|
|
|
189 |
return null;
|
|
|
190 |
}
|
| 7283 |
kshitij.so |
191 |
}
|
|
|
192 |
|
| 7365 |
kshitij.so |
193 |
public Long getTimetoShip(String itemId) throws LogisticsServiceException, TException{
|
|
|
194 |
LogisticsClient logisticsClient = new LogisticsClient();
|
|
|
195 |
return logisticsClient.getClient().getLogisticsInfo("110001", Long.valueOf(itemId), DeliveryType.COD, PickUpType.COURIER).getShippingTime();
|
|
|
196 |
|
|
|
197 |
}
|
|
|
198 |
|
| 7762 |
kshitij.so |
199 |
public Map<Long, Item> getAliveItemMap() throws TTransportException, InterruptedException{
|
| 7753 |
kshitij.so |
200 |
List<Item> itemList = null;
|
|
|
201 |
int retry=0;
|
|
|
202 |
while(true){
|
| 7762 |
kshitij.so |
203 |
try {
|
|
|
204 |
if (retry==3)
|
|
|
205 |
break;
|
|
|
206 |
Client CatalogClient = new CatalogClient("catalog_service_server_host_amazon","catalog_service_server_port").getClient();
|
|
|
207 |
itemList = CatalogClient.getAllAliveItems();
|
| 7753 |
kshitij.so |
208 |
break;
|
| 7762 |
kshitij.so |
209 |
} catch ( NullPointerException e) {
|
|
|
210 |
retry++;
|
|
|
211 |
System.out.println("Unable to fetch alive items.Retrying");
|
|
|
212 |
Thread.sleep(3000);
|
|
|
213 |
e.printStackTrace();
|
|
|
214 |
} catch (TException e) {
|
|
|
215 |
retry++;
|
|
|
216 |
System.out.println("Unable to fetch alive items.Retrying");
|
|
|
217 |
Thread.sleep(3000);
|
|
|
218 |
e.printStackTrace();
|
|
|
219 |
}
|
| 7753 |
kshitij.so |
220 |
}
|
| 7603 |
kshitij.so |
221 |
Map<Long, Item> itemMap = new HashMap<Long, Item>();
|
| 7365 |
kshitij.so |
222 |
for (Item o : itemList) {
|
| 7603 |
kshitij.so |
223 |
itemMap.put((Long) o.getId(), o);
|
| 7365 |
kshitij.so |
224 |
}
|
|
|
225 |
return itemMap;
|
|
|
226 |
}
|
| 8070 |
kshitij.so |
227 |
|
|
|
228 |
public String runAsinJob() throws IOException, InterruptedException {
|
|
|
229 |
ProcessBuilder testProcess = new ProcessBuilder("/bin/bash");
|
|
|
230 |
String[] command = {"/bin/bash", "-c", "sudo /root/code/trunk/AmazonFeeds/Test.sh &"};
|
|
|
231 |
testProcess.command(command);
|
|
|
232 |
logger.info(testProcess.command().toString());
|
|
|
233 |
Process process = testProcess.start();
|
|
|
234 |
process.waitFor();
|
|
|
235 |
logger.info(String.valueOf(process.exitValue()));
|
|
|
236 |
return "asinjob";
|
| 7365 |
kshitij.so |
237 |
|
| 8070 |
kshitij.so |
238 |
}
|
|
|
239 |
|
| 7283 |
kshitij.so |
240 |
public String edit() {
|
| 7591 |
kshitij.so |
241 |
if(!ReportsUtils.canAccessReport((Long)session.getAttribute(ReportsUtils.ROLE), request.getRequestURI().substring(request.getContextPath().length()).split("/")[1])) {
|
|
|
242 |
return "authfail";
|
|
|
243 |
}
|
| 7283 |
kshitij.so |
244 |
return "edit";
|
|
|
245 |
}
|
|
|
246 |
|
|
|
247 |
public String show() {
|
|
|
248 |
return "show";
|
|
|
249 |
}
|
|
|
250 |
|
|
|
251 |
public String editNew() {
|
|
|
252 |
return "editNew";
|
|
|
253 |
}
|
|
|
254 |
|
|
|
255 |
public void setId(String id) {
|
|
|
256 |
this.id = id;
|
|
|
257 |
}
|
|
|
258 |
|
|
|
259 |
public void setUrl(String url) {
|
|
|
260 |
this.url = url;
|
|
|
261 |
}
|
|
|
262 |
|
|
|
263 |
public String getUrl() {
|
|
|
264 |
return url;
|
|
|
265 |
}
|
|
|
266 |
|
|
|
267 |
public String getId() {
|
|
|
268 |
return id;
|
|
|
269 |
}
|
|
|
270 |
|
|
|
271 |
public void setItemId(String itemId) {
|
|
|
272 |
this.itemId = itemId;
|
|
|
273 |
}
|
|
|
274 |
|
|
|
275 |
public String getItemId() {
|
|
|
276 |
return itemId;
|
|
|
277 |
}
|
|
|
278 |
|
|
|
279 |
public void setIsFba(String isFba) {
|
|
|
280 |
this.isFba = isFba;
|
|
|
281 |
}
|
|
|
282 |
|
|
|
283 |
public String getIsFba() {
|
|
|
284 |
return isFba;
|
|
|
285 |
}
|
|
|
286 |
|
|
|
287 |
public void setIsNonFba(String isNonFba) {
|
|
|
288 |
this.isNonFba = isNonFba;
|
|
|
289 |
}
|
|
|
290 |
|
|
|
291 |
public String getIsNonFba() {
|
|
|
292 |
return isNonFba;
|
|
|
293 |
}
|
|
|
294 |
|
|
|
295 |
public void setIsInventoryOverride(String isInventoryOverride) {
|
|
|
296 |
this.isInventoryOverride = isInventoryOverride;
|
|
|
297 |
}
|
|
|
298 |
|
|
|
299 |
public String getIsInventoryOverride() {
|
|
|
300 |
return isInventoryOverride;
|
|
|
301 |
}
|
|
|
302 |
|
|
|
303 |
public void setSellingPrice(String sellingPrice) {
|
|
|
304 |
this.sellingPrice = sellingPrice;
|
|
|
305 |
}
|
|
|
306 |
|
|
|
307 |
public String getSellingPrice() {
|
|
|
308 |
return sellingPrice;
|
|
|
309 |
}
|
|
|
310 |
|
|
|
311 |
public void setFbaPrice(String fbaPrice) {
|
|
|
312 |
this.fbaPrice = fbaPrice;
|
|
|
313 |
}
|
|
|
314 |
|
|
|
315 |
public String getFbaPrice() {
|
|
|
316 |
return fbaPrice;
|
|
|
317 |
}
|
| 7365 |
kshitij.so |
318 |
|
| 7283 |
kshitij.so |
319 |
public void setSaholicPrice(String saholicPrice) {
|
|
|
320 |
this.saholicPrice = saholicPrice;
|
|
|
321 |
}
|
|
|
322 |
|
|
|
323 |
public String getSaholicPrice() {
|
|
|
324 |
return saholicPrice;
|
|
|
325 |
}
|
|
|
326 |
|
| 7365 |
kshitij.so |
327 |
public void setIsTime(String isTime){
|
|
|
328 |
this.isTime = isTime;
|
|
|
329 |
}
|
|
|
330 |
|
| 7461 |
kshitij.so |
331 |
public String getIsTime(){
|
| 7365 |
kshitij.so |
332 |
return isTime;
|
|
|
333 |
}
|
|
|
334 |
|
|
|
335 |
public void setHandlingTime(String handlingTime){
|
|
|
336 |
this.handlingTime = handlingTime;
|
|
|
337 |
}
|
|
|
338 |
|
| 7461 |
kshitij.so |
339 |
public String getHandlingTime(){
|
| 7365 |
kshitij.so |
340 |
return handlingTime;
|
|
|
341 |
}
|
| 7800 |
kshitij.so |
342 |
|
| 7365 |
kshitij.so |
343 |
public void setCustomHandlingTime(String customHandlingTime){
|
|
|
344 |
this.customHandlingTime = customHandlingTime;
|
|
|
345 |
}
|
|
|
346 |
|
| 7461 |
kshitij.so |
347 |
public String getCustomHandlingTime(){
|
| 7365 |
kshitij.so |
348 |
return customHandlingTime;
|
|
|
349 |
}
|
| 7524 |
kshitij.so |
350 |
|
| 7461 |
kshitij.so |
351 |
public void setHoldInventory(String holdInventory){
|
|
|
352 |
this.holdInventory = holdInventory;
|
|
|
353 |
}
|
| 7365 |
kshitij.so |
354 |
|
| 7461 |
kshitij.so |
355 |
public String getHoldInventory(){
|
|
|
356 |
return holdInventory;
|
|
|
357 |
}
|
| 7524 |
kshitij.so |
358 |
|
| 7461 |
kshitij.so |
359 |
public void setDefaultInventory(String defaultInventory){
|
|
|
360 |
this.defaultInventory = defaultInventory;
|
|
|
361 |
}
|
|
|
362 |
|
|
|
363 |
public String getDefaultInventory(){
|
|
|
364 |
return defaultInventory;
|
|
|
365 |
}
|
|
|
366 |
|
| 7524 |
kshitij.so |
367 |
public File getFile() {
|
|
|
368 |
return file;
|
|
|
369 |
}
|
|
|
370 |
|
|
|
371 |
public void setFile(File file) {
|
|
|
372 |
this.file = file;
|
|
|
373 |
}
|
|
|
374 |
|
|
|
375 |
public String getFileUploadContentType() {
|
|
|
376 |
return fileUploadContentType;
|
|
|
377 |
}
|
|
|
378 |
|
|
|
379 |
public void setFileUploadContentType(String fileUploadContentType) {
|
|
|
380 |
this.fileUploadContentType = fileUploadContentType;
|
|
|
381 |
}
|
|
|
382 |
|
|
|
383 |
public String getFileUploadFileName() {
|
|
|
384 |
return fileUploadFileName;
|
|
|
385 |
}
|
|
|
386 |
|
|
|
387 |
public void setFileUploadFileName(String fileUploadFileName) {
|
|
|
388 |
this.fileUploadFileName = fileUploadFileName;
|
|
|
389 |
}
|
|
|
390 |
|
| 7591 |
kshitij.so |
391 |
public void setServletRequest(HttpServletRequest req) {
|
|
|
392 |
this.request = req;
|
|
|
393 |
this.session = req.getSession();
|
| 7283 |
kshitij.so |
394 |
}
|
|
|
395 |
|
| 8070 |
kshitij.so |
396 |
public static void main(String[] args) throws NumberFormatException, InventoryServiceException, TException, IOException {
|
| 7283 |
kshitij.so |
397 |
AmazonListController call = new AmazonListController();
|
| 8070 |
kshitij.so |
398 |
//System.out.println(call.runAsinJob());
|
| 7283 |
kshitij.so |
399 |
}
|
|
|
400 |
}
|