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 2... Line 2...
2
 
2
 
3
import in.shop2020.model.v1.catalog.InventoryServiceException;
3
import in.shop2020.model.v1.catalog.InventoryServiceException;
4
import in.shop2020.serving.utils.EhcacheWrapper;
4
import in.shop2020.serving.utils.EhcacheWrapper;
5
import in.shop2020.serving.utils.FileUtils;
5
import in.shop2020.serving.utils.FileUtils;
6
import in.shop2020.serving.utils.Utils;
6
import in.shop2020.serving.utils.Utils;
7
import in.shop2020.thrift.clients.CatalogServiceClient;
7
import in.shop2020.thrift.clients.CatalogClient;
8
 
8
 
9
import java.io.File;
9
import java.io.File;
10
import java.io.IOException;
10
import java.io.IOException;
11
import java.util.ArrayList;
11
import java.util.ArrayList;
12
import java.util.List;
12
import java.util.List;
Line 41... Line 41...
41
	
41
	
42
	List<Long> items = null;
42
	List<Long> items = null;
43
	
43
	
44
	private List<String> snippets = null;
44
	private List<String> snippets = null;
45
	
45
	
46
	CatalogServiceClient catalogClientService = null;
46
	CatalogClient catalogClientService = null;
47
	
47
	
48
	
48
	
49
	
49
	
50
	public LatestArrivalsController() {
50
	public LatestArrivalsController() {
51
		super();
51
		super();
52
		try {
52
		try {
53
			catalogClientService = new CatalogServiceClient();
53
			catalogClientService = new CatalogClient();
54
		} catch (Exception e) {
54
		} catch (Exception e) {
55
			log.error("Unable to get catalog service client.", e);
55
			log.error("Unable to get catalog service client.", e);
56
		}
56
		}
57
	}
57
	}
58
    
58