Subversion Repositories SmartDukaan

Rev

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

Rev 3118 Rev 3126
Line 5... Line 5...
5
 
5
 
6
import in.shop2020.model.v1.catalog.InventoryServiceException;
6
import in.shop2020.model.v1.catalog.InventoryServiceException;
7
import in.shop2020.serving.utils.EhcacheWrapper;
7
import in.shop2020.serving.utils.EhcacheWrapper;
8
import in.shop2020.serving.utils.FileUtils;
8
import in.shop2020.serving.utils.FileUtils;
9
import in.shop2020.serving.utils.Utils;
9
import in.shop2020.serving.utils.Utils;
10
import in.shop2020.thrift.clients.CatalogServiceClient;
10
import in.shop2020.thrift.clients.CatalogClient;
11
 
11
 
12
import java.io.File;
12
import java.io.File;
13
import java.io.IOException;
13
import java.io.IOException;
14
import java.util.ArrayList;
14
import java.util.ArrayList;
15
import java.util.List;
15
import java.util.List;
Line 44... Line 44...
44
	
44
	
45
	List<Long> items = null;
45
	List<Long> items = null;
46
    
46
    
47
    private List<String> snippets = null;
47
    private List<String> snippets = null;
48
	
48
	
49
	CatalogServiceClient catalogClientService = null;
49
	CatalogClient catalogClientService = null;
50
	
50
	
51
	public BestSellersController() {
51
	public BestSellersController() {
52
		super();
52
		super();
53
		try {
53
		try {
54
			catalogClientService = new CatalogServiceClient();
54
			catalogClientService = new CatalogClient();
55
		} catch (Exception e) {
55
		} catch (Exception e) {
56
			log.error("Unable to get catalog service client.", e);
56
			log.error("Unable to get catalog service client.", e);
57
		}
57
		}
58
	}
58
	}
59
    
59