| Line 45... |
Line 45... |
| 45 |
import com.spice.profitmandi.common.model.ProfitMandiConstants;
|
45 |
import com.spice.profitmandi.common.model.ProfitMandiConstants;
|
| 46 |
import com.spice.profitmandi.common.model.UserInfo;
|
46 |
import com.spice.profitmandi.common.model.UserInfo;
|
| 47 |
import com.spice.profitmandi.common.solr.SolrService;
|
47 |
import com.spice.profitmandi.common.solr.SolrService;
|
| 48 |
import com.spice.profitmandi.common.web.client.RestClient;
|
48 |
import com.spice.profitmandi.common.web.client.RestClient;
|
| 49 |
import com.spice.profitmandi.common.web.util.ResponseSender;
|
49 |
import com.spice.profitmandi.common.web.util.ResponseSender;
|
| 50 |
import com.spice.profitmandi.dao.cart.CartService;
|
- |
|
| 51 |
import com.spice.profitmandi.dao.entity.catalog.Category;
|
50 |
import com.spice.profitmandi.dao.entity.catalog.Category;
|
| 52 |
import com.spice.profitmandi.dao.entity.catalog.Item;
|
51 |
import com.spice.profitmandi.dao.entity.catalog.Item;
|
| 53 |
import com.spice.profitmandi.dao.entity.catalog.TagListing;
|
52 |
import com.spice.profitmandi.dao.entity.catalog.TagListing;
|
| 54 |
import com.spice.profitmandi.dao.entity.fofo.CurrentInventorySnapshot;
|
53 |
import com.spice.profitmandi.dao.entity.fofo.CurrentInventorySnapshot;
|
| 55 |
import com.spice.profitmandi.dao.entity.inventory.ItemAvailabilityCache;
|
54 |
import com.spice.profitmandi.dao.entity.inventory.ItemAvailabilityCache;
|
| Line 67... |
Line 66... |
| 67 |
import com.spice.profitmandi.dao.repository.inventory.ItemAvailabilityCacheRepository;
|
66 |
import com.spice.profitmandi.dao.repository.inventory.ItemAvailabilityCacheRepository;
|
| 68 |
import com.spice.profitmandi.service.authentication.RoleManager;
|
67 |
import com.spice.profitmandi.service.authentication.RoleManager;
|
| 69 |
import com.spice.profitmandi.service.inventory.AvailabilityInfo;
|
68 |
import com.spice.profitmandi.service.inventory.AvailabilityInfo;
|
| 70 |
import com.spice.profitmandi.service.inventory.FofoAvailabilityInfo;
|
69 |
import com.spice.profitmandi.service.inventory.FofoAvailabilityInfo;
|
| 71 |
import com.spice.profitmandi.service.inventory.FofoCatalogResponse;
|
70 |
import com.spice.profitmandi.service.inventory.FofoCatalogResponse;
|
| 72 |
import com.spice.profitmandi.service.inventory.ItemBucketService;
|
- |
|
| 73 |
import com.spice.profitmandi.service.pricing.PricingService;
|
71 |
import com.spice.profitmandi.service.pricing.PricingService;
|
| 74 |
import com.spice.profitmandi.web.res.DealBrands;
|
72 |
import com.spice.profitmandi.web.res.DealBrands;
|
| 75 |
import com.spice.profitmandi.web.res.DealObjectResponse;
|
73 |
import com.spice.profitmandi.web.res.DealObjectResponse;
|
| 76 |
import com.spice.profitmandi.web.res.DealsResponse;
|
74 |
import com.spice.profitmandi.web.res.DealsResponse;
|
| 77 |
import com.spice.profitmandi.web.res.ValidateCartResponse;
|
75 |
import com.spice.profitmandi.web.res.ValidateCartResponse;
|
| Line 109... |
Line 107... |
| 109 |
private Mongo mongoClient;
|
107 |
private Mongo mongoClient;
|
| 110 |
|
108 |
|
| 111 |
@Autowired
|
109 |
@Autowired
|
| 112 |
private CurrentInventorySnapshotRepository currentInventorySnapshotRepository;
|
110 |
private CurrentInventorySnapshotRepository currentInventorySnapshotRepository;
|
| 113 |
|
111 |
|
| 114 |
@Autowired
|
112 |
@Autowired
|
| 115 |
private ItemBucketService itemBucketService;
|
- |
|
| 116 |
|
- |
|
| 117 |
@Autowired
|
- |
|
| 118 |
private UserAccountRepository userAccountRepository;
|
113 |
private UserAccountRepository userAccountRepository;
|
| 119 |
|
114 |
|
| 120 |
@Autowired
|
115 |
@Autowired
|
| 121 |
private ResponseSender<?> responseSender;
|
116 |
private ResponseSender<?> responseSender;
|
| 122 |
|
117 |
|
| 123 |
@Autowired
|
118 |
@Autowired
|
| 124 |
private CategoryRepository repository;
|
- |
|
| 125 |
|
- |
|
| 126 |
@Autowired
|
- |
|
| 127 |
private TagListingRepository tagListingRepository;
|
119 |
private TagListingRepository tagListingRepository;
|
| 128 |
|
120 |
|
| 129 |
@Autowired
|
121 |
@Autowired
|
| 130 |
private ItemRepository itemRepository;
|
122 |
private ItemRepository itemRepository;
|
| 131 |
|
123 |
|
| 132 |
@Autowired
|
124 |
@Autowired
|
| 133 |
private CartService cartService;
|
- |
|
| 134 |
|
- |
|
| 135 |
@Autowired
|
- |
|
| 136 |
private ItemAvailabilityCacheRepository itemAvailabilityCacheRepository;
|
125 |
private ItemAvailabilityCacheRepository itemAvailabilityCacheRepository;
|
| 137 |
|
126 |
|
| 138 |
@Autowired
|
127 |
@Autowired
|
| 139 |
private RoleManager roleManagerService;
|
128 |
private RoleManager roleManagerService;
|
| 140 |
|
129 |
|