Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35801 11 d 22 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Add GET /fofo/categories endpoint for partner app category listing  
35758 18 d 21 h vikas /trunk/ Removed tarun verma's email from trial service  
35727 20 d 21 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Pinelabs Offers fetching item wise and caching and today offers api  
35663 25 d 3 h vikas /trunk/ Pinelabs Offers fetching item wise  
35652 27 d 22 h vikas /trunk/ PineLabs Offer and Create Order  
35486 70 d 4 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Listing Error: List should not be empty  
35458 72 d 21 h amit /trunk/ Revert @Transactional(readOnly=true) - keep @Transactional only at Controller level

Changes:
- profitmandi-web: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional(readOnly = true)
- profitmandi-fofo: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional
- profitmandi-dao: Removed @Transactional from services/repositories

Exceptions (called from interceptors, need own transaction):
- RoleManager: @Transactional(readOnly = true) - called from interceptor for auth
- PartnerTypeChangeServiceImpl.getBestPartner(): @Transactional - called from JWTUtil via interceptor

Fixed javax.transaction.Transactional to org.springframework.transaction.annotation.Transactional
Fixed rollbackOn to rollbackFor for Spring compatibility
 
35435 74 d 5 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Add @Transactional(readOnly = true) to GET methods in controllers

Added @Transactional(readOnly = true) to all read-only GET methods across 14 controllers:
- RetailerController (10 methods)
- UserController (16 methods)
- WalletController (5 methods)
- CartController (2 methods)
- StoreController (25 methods)
- DealsController (20 methods)
- ShopController (1 method)
- CustomerController (2 methods)
- NotificationController (3 methods)
- SolrSearchController (2 methods)
- InsuranceController (1 method)
- GatewayController (1 method)
- LeadController (13 methods)
- RechargeController (4 methods)

Total: 105 methods updated

All methods verified to only set @Transient fields on entities, ensuring no dirty writes.
 
35412 76 d 6 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance  
35411 76 d 7 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance issues  
35410 76 d 7 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance issues  
35369 83 d 1 h ranu /trunk/ out of stock allocation  
34931 182 d 23 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ wod brand eligible  
34929 182 d 23 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ remove icici plan fom b2c  
34928 183 d 0 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ check wod brand for internal  
34835 214 d 22 h vikas /trunk/ Added Export Report, And Update total distance  
34797 231 d 4 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Listing APIs  
34786 235 d 0 h aman.kumar /trunk/ Add isFavourite flag  
34630 276 d 23 h tejus.lohani /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ clean code  
34436 318 d 0 h ranu /trunk/ suggested Po  
34260 365 d 1 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Partner Stock for Express Delivery  
34196 384 d 0 h ranu /trunk/ insurance and hid correction  
34191 384 d 21 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Removed logs for Out of stock tracking  
34187 384 d 23 h vikas.jangra /trunk/ Added Catalog ID  
34186 385 d 0 h vikas.jangra /trunk/ Added Catalog ID  
34024 456 d 0 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Handle Grouping in Solr  
34008 460 d 6 h tejus.lohani /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ wod code check api code improvement  
33975 466 d 22 h tejus.lohani /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added Super Catalog  
33929 474 d 4 h tejus.lohani /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ send WodBrandDetails so that user buy/order only those brand who having dealerCode or temp code/low code  
33875 503 d 16 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ smart cart first phase updated  
33873 503 d 16 h ranu /trunk/ smart cart first phase updated  
33576 596 d 7 h amit.gupta /trunk/ Showing only in stock for similar items  
33575 598 d 3 h amit.gupta /trunk/ Fixed offer  
33573 599 d 4 h amit.gupta /trunk/ Fixed profitmandi web  
33543 606 d 5 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ commit  
33487 615 d 15 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed endpoints for new static0  
33410 642 d 6 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ revert code mahaveer nlc  
33407 643 d 3 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ hide nlc for mahaveer  
33249 682 d 3 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ added some exception  
32978 740 d 21 h amit.gupta /trunk/ Checked in some basic resources