| Line 86... |
Line 86... |
| 86 |
password = "cafe@nes";
|
86 |
password = "cafe@nes";
|
| 87 |
mailer = new GmailUtils();
|
87 |
mailer = new GmailUtils();
|
| 88 |
//sendTo = new String[]{"vikram.raghav@shop2020.in"};
|
88 |
//sendTo = new String[]{"vikram.raghav@shop2020.in"};
|
| 89 |
sendTo = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
|
89 |
sendTo = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
|
| 90 |
"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
|
90 |
"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
|
| 91 |
"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in","amar.kumar@shop2020.in"};
|
91 |
"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in"};
|
| 92 |
itemIdpendingOrdersMap = new HashMap<Long,Long>();
|
92 |
itemIdpendingOrdersMap = new HashMap<Long,Long>();
|
| 93 |
CatalogClient catalogServiceClient = null;
|
93 |
CatalogClient catalogServiceClient = null;
|
| 94 |
try {
|
94 |
try {
|
| 95 |
catalogServiceClient = new CatalogClient();
|
95 |
catalogServiceClient = new CatalogClient();
|
| 96 |
} catch (TTransportException e1) {
|
96 |
} catch (TTransportException e1) {
|
| Line 622... |
Line 622... |
| 622 |
}
|
622 |
}
|
| 623 |
|
623 |
|
| 624 |
}
|
624 |
}
|
| 625 |
|
625 |
|
| 626 |
public static void handleLogin() throws ClientProtocolException, IOException{
|
626 |
public static void handleLogin() throws ClientProtocolException, IOException{
|
| 627 |
HttpGet get = new HttpGet("http://selleraccounts.snapdeal.com/keymaker/login");
|
627 |
HttpGet get = new HttpGet("http://selleraccounts.snapdeal.com/login?service=http%3A%2F%2Fseller.snapdeal.com%2Fj_spring_cas_security_check");
|
| 628 |
HttpResponse response = null;
|
628 |
HttpResponse response = null;
|
| 629 |
try {
|
629 |
try {
|
| 630 |
response = client.execute(get);
|
630 |
response = client.execute(get);
|
| 631 |
} catch (ClientProtocolException e) {
|
631 |
} catch (ClientProtocolException e) {
|
| 632 |
// TODO Auto-generated catch block
|
632 |
// TODO Auto-generated catch block
|