Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36946 30 d 14 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Allow add-money request when matching HDFC payment exists but is not yet credited  
36400 90 d 19 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked  
35652 173 d 14 h vikas /trunk/ PineLabs Offer and Create Order  
35458 218 d 13 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 219 d 22 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.
 
35321 243 d 15 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed lead self Assigned  
31646 1244 d 16 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
31645 1244 d 16 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
31644 1244 d 16 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30700 1475 d 18 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed calulation issues with Handling gateway surcharge  
29503 1732 d 19 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added Logic to handle KredX  
28257 1924 d 12 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
25249 2575 d 21 h amit.gupta /trunk/ Fixed changes related to wallet under maintainance  
24867 2658 d 18 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
24749 2685 d 22 h tejbeer /trunk/ change  
24742 2686 d 19 h tejbeer /trunk/ changes  
24597 2705 d 22 h amit.gupta /trunk/ Removed wallet block  
24584 2706 d 22 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
24089 2875 d 16 h tejbeer /trunk/ Addtowalletchange  
23997 2904 d 17 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23985 2907 d 18 h tejbeer /trunk/ AddWalletRequestchanges  
23943 2928 d 16 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23942 2928 d 16 h tejbeer /trunk/ Addmoneytowallet  
23936 2929 d 16 h tejbeer /trunk/ AddtoWalletRequest  
23568 3022 d 16 h govind /trunk/ Fixed changes related to logging. Updated to log4j2  
23037 3149 d 16 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22931 3175 d 22 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/  
22609 3210 d 19 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22605 3210 d 19 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22555 3214 d 4 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22037 3291 d 19 h amit.gupta /trunk/ Added exception class for controller  
21795 3321 d 20 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
21740 3328 d 14 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/  
21735 3328 d 15 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/  
21734 3328 d 15 h ashik.ali /trunk/  
21730 3328 d 17 h ashik.ali /trunk/  
21702 3330 d 16 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
21532 3352 d 14 h kshitij.sood /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/