Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36451 62 d 22 h amit /trunk/profitmandi-dao/src/main/ Add reference field to catalog.offer and catalog.scheme for payout collation  
36081 99 d 19 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Use JDK serialization for Redis caches with Map<Integer,...> keys

GenericJackson2JsonRedisSerializer converts Map Integer keys to String
during JSON serialization. On deserialization, map.get(Integer) returns
null since keys are now Strings. This broke allOffers, offer.slabpayout,
catalog.published_yearmonth, and offer.achievement caches.

Fix: Use JdkSerializationRedisSerializer for these specific caches to
preserve exact Java types. Added Serializable to 9 model classes in the
offer object graph: CreateOfferRequest, TargetSlab, ItemCriteriaPayout,
ItemCriteria, PartnerCriteria, PayoutSlab, AmountModel, QtyAmountModel,
DateRangeModel.
 
35600 157 d 3 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fix Redis serialization bug and add 15-min cache manager

- Fix SerializationException for publishedOffersWithAchievement cache
- Add @JsonIgnore to computed getters getBillingStartDate/getBillingEndDate
- Add @JsonIgnoreProperties(ignoreUnknown=true) to CreateOfferRequest,
ItemCriteriaPayout, TargetSlab for backward compatibility with cached data

- Add redisVeryShortCacheManager (15 min TTL) for frequently changing data
- brandStockPrices, partnerInvestments, partnerSales, partnerDailyInvestment
now use 15-min cache instead of 60-min
 
35394 199 d 13 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Improved performance  
34652 389 d 21 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/ Fixed!  
32969 867 d 21 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/ Changed billing date to 90 days  
32846 900 d 13 h ranu /trunk/ offer ui fixed  
32845 900 d 20 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/ Took Raveendra Changes  
32024 1143 d 0 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ Added billing of past 30 days as well from start date  
32021 1143 d 22 h amit.gupta /trunk/ Fixed additional scheme logic  
31903 1156 d 3 h amit.gupta /trunk/ Added changes related to new scheme rollout policy  
31779 1186 d 3 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/ Fixed net availability to SaholicCIS Table  
31608 1228 d 3 h amit.gupta /trunk/ Added process timestamp of CreateOfferRequest  
31190 1319 d 22 h amit.gupta /trunk/ Added logic for Booster handling, New Partners are not allowed to participate in booster offers  
30978 1379 d 3 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ Fixed report for processing  
30651 1470 d 22 h amit.gupta /trunk/ Added processing of sellin  
29839 1634 d 22 h amit.gupta /trunk/ Fixed texrt  
29795 1636 d 4 h amit.gupta /trunk/ Added base Criteria flag  
29785 1638 d 20 h amit.gupta /trunk/ Fixed price circular  
29687 1664 d 3 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/  
29574 1697 d 3 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/  
29573 1697 d 3 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/  
28967 1782 d 22 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/  
28541 1826 d 20 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/  
28153 1915 d 22 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/  
28029 1940 d 21 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/  
28028 1940 d 21 h amit.gupta /trunk/ Fixed dashboard  
28019 1941 d 20 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/  
27918 1946 d 20 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Aded changes for Target Type  
27878 1949 d 23 h amit.gupta /trunk/  
27360 2066 d 4 h tejbeer /trunk/ change  
27353 2066 d 17 h tejbeer /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/ change  
26694 2231 d 0 h tejbeer /trunk/ change  
26675 2233 d 3 h tejbeer /trunk/ cg  
26674 2233 d 15 h tejbeer /trunk/ change  
26588 2256 d 19 h tejbeer /trunk/ offer change