Subversion Repositories SmartDukaan

Rev

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

Rev 1941 Rev 3125
Line 2... Line 2...
2
 
2
 
3
import java.util.List;
3
import java.util.List;
4
 
4
 
5
import org.apache.thrift.TException;
5
import org.apache.thrift.TException;
6
 
6
 
7
import in.shop2020.thrift.clients.HelperServiceClient;
7
import in.shop2020.thrift.clients.HelperClient;
8
import in.shop2020.utils.Report;
8
import in.shop2020.utils.Report;
9
 
9
 
10
public class ReportsUtils {
10
public class ReportsUtils {
11
 
11
 
12
    public static final String USER_NAME = "username", PASSWORD = "password", ROLE = "role";
12
    public static final String USER_NAME = "username", PASSWORD = "password", ROLE = "role";
13
    
13
    
14
    private static HelperServiceClient hsc;
14
    private static HelperClient hsc;
15
    
15
    
16
    static {
16
    static {
17
        try {
17
        try {
18
            hsc = new HelperServiceClient();
18
            hsc = new HelperClient();
19
        } catch (Exception e) {
19
        } catch (Exception e) {
20
            e.printStackTrace();
20
            e.printStackTrace();
21
        }
21
        }
22
    }
22
    }
23
    
23