Subversion Repositories SmartDukaan

Rev

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

Rev 10039 Rev 10450
Line 130... Line 130...
130
		CatalogClient catalogServiceClient = null;
130
		CatalogClient catalogServiceClient = null;
131
		Map<Long,ItemInventory> availability= new HashMap<Long,ItemInventory>();
131
		Map<Long,ItemInventory> availability= new HashMap<Long,ItemInventory>();
132
		try {
132
		try {
133
			catalogServiceClient = new CatalogClient();
133
			catalogServiceClient = new CatalogClient();
134
		} catch (TTransportException e) {
134
		} catch (TTransportException e) {
135
			// TODO Auto-generated catch block
-
 
136
			e.printStackTrace();
135
			e.printStackTrace();
137
		}
136
		}
138
		in.shop2020.model.v1.catalog.CatalogService.Client catalogClient = catalogServiceClient.getClient();
137
		in.shop2020.model.v1.catalog.CatalogService.Client catalogClient = catalogServiceClient.getClient();
139
		try {
138
		try {
140
			List<Item> aliveItems = catalogClient.getAllAliveItems();
139
			List<Item> aliveItems = catalogClient.getAllAliveItems();