Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36081 48 d 4 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.
 
32021 1092 d 7 h amit.gupta /trunk/ Fixed additional scheme logic  
31903 1104 d 12 h amit.gupta /trunk/ Added changes related to new scheme rollout policy  
26675 2181 d 12 h tejbeer /trunk/ cg  
26588 2205 d 5 h tejbeer /trunk/ offer change