Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36999 18 d 19 h amit /trunk/profitmandi-dao/src/main/ Price-hike deduction (self-contained): revert hike logic from price-drop flow + remove deduct_on_hike flag; add GRN hook (PurchaseServiceImpl, before schemes) and on-demand executor endpoint that debit under-charged units billed in the hike's [affected_on, created_on] window. Idempotent per (hike, imei).  
36521 70 d 21 h amit /trunk/ Added RequestCachingFilter  
36305 93 d 5 h amit /trunk/profitmandi-dao/src/main/ Batch processing infrastructure + per-partner offer processing + partner limit optimization + investment cache eviction on billing/payment/cancellation with 3hr TTL  
36081 116 d 17 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.
 
36057 117 d 20 h ranu /trunk/ code commit via websocket instead of selenium for agent status  
36049 118 d 23 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Redesign offer caching: separate definition from achievement, per-partner Redis cache, deep-copy before mutation, centralized eviction  
35956 136 d 0 h amit /trunk/profitmandi-dao/src/main/ Mail outbox pattern: persist mail in transaction, send async after commit. Fixes lock contention between /cancelOrder and /om/addBillingDetailsForGrouppedOrders caused by SMTP calls inside transactions holding DB locks.  
35600 174 d 1 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
 
35547 187 d 21 h amit /trunk/ Real-time Solr updates for TagListing changes

- Add Spring ApplicationEvent for TagListing changes (price, status, create, delete)
- Add async listener for incremental Solr updates (updateSingleCatalog)
- Add failure tracking with solr_update_failures table for visibility
- Add admin dashboard API for tech team to retry failed updates
- Add auto-retry job every 5 minutes (max 3 retries)
- Add startup sync for consistency after restart
- Add isProd check to skip Solr updates in local/dev environment
- Inject event publisher in TagListing, PriceDrop, Indent controllers
 
35388 217 d 20 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/config/ Fixed cors issue  
35176 281 d 19 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/config/ Added 1Hr Redis Cache  
35171 282 d 21 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/config/ Fixed system.exit(0)  
34828 358 d 0 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/config/ donotcommit  
34715 389 d 19 h ranu /trunk/ bi report some correction  
34610 421 d 0 h vikas.jangra /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/config/ Temporary cache redis to caffeine  
33635 720 d 1 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fixed gst auth token caching issue  
33323 806 d 0 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/config/ Added changes to hold  
31282 1312 d 18 h amit.gupta /trunk/ Removed unwanted files  
30305 1559 d 13 h amit.gupta /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Caching fixed for items  
30289 1561 d 1 h amit.gupta /trunk/ Fixed changes related to einvoice and invoice generation  

Show All