Subversion Repositories SmartDukaan

Rev

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

Rev 10090 Rev 10107
Line 243... Line 243...
243
			}
243
			}
244
			catch (TTransportException e) {
244
			catch (TTransportException e) {
245
				logisticsServiceClient = new LogisticsClient("logistics_service_prod_server_host","logistics_service_prod_server_port");
245
				logisticsServiceClient = new LogisticsClient("logistics_service_prod_server_host","logistics_service_prod_server_port");
246
				logisticsClient = logisticsServiceClient.getClient();
246
				logisticsClient = logisticsServiceClient.getClient();
247
			} 
247
			} 
-
 
248
			System.out.println("sku at flipkart " + entry.getValue().getSkuAtflipkart());
-
 
249
			System.out.println("shipping time " + logisticinfo.getShippingTime());
-
 
250
			System.out.println("stock " + stock);
248
			jsonRequest.append("{\"skuId\":"+"\""+entry.getValue().getSkuAtflipkart()+
251
			jsonRequest.append("{\"skuId\":"+"\""+entry.getValue().getSkuAtflipkart()+
249
					"\","+"\"attributeValues\""+":"+
252
					"\","+"\"attributeValues\""+":"+
250
					"{\"procurement_sla\""+":"+"\""+logisticinfo.getShippingTime()+
253
					"{\"procurement_sla\""+":"+"\""+logisticinfo.getShippingTime()+
251
					"\","+"\"stock_count\""+":"+"\""+stock+"\""+"}}");
254
					"\","+"\"stock_count\""+":"+"\""+stock+"\""+"}}");
252
			FlipkartInventorySnapshot inventorySnapshot = new FlipkartInventorySnapshot();
255
			FlipkartInventorySnapshot inventorySnapshot = new FlipkartInventorySnapshot();