Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36400 45 d 5 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked  
35458 173 d 0 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 174 d 8 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.
 
33514 711 d 22 h tejus.lohani /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ import changes for OTPProcessor and reponse  
33314 770 d 2 h ranu /trunk/ is smartphone or not  
30330 1511 d 2 h tejbeer /trunk/ change  
29597 1662 d 8 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
28308 1870 d 10 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
28307 1870 d 10 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
26655 2217 d 4 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
26516 2259 d 9 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
24873 2610 d 2 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed pdff mo  
23839 2900 d 9 h amit.gupta /trunk/ changed mail domain profitmandi.com -> smartdukaan.com  
23568 2977 d 3 h govind /trunk/ Fixed changes related to logging. Updated to log4j2  
23016 3109 d 3 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23015 3109 d 4 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23001 3116 d 2 h amit.gupta /trunk/ Fixed invoice  
23000 3116 d 6 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22999 3116 d 6 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22997 3116 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22994 3116 d 9 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22993 3116 d 9 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added policyNumber on successful policy creation  
22937 3130 d 5 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22932 3130 d 6 h amit.gupta /trunk/ Added Gadget Cop insurance Calc Response  
22918 3130 d 10 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added to  
22917 3130 d 12 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22916 3130 d 12 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22915 3130 d 12 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22913 3130 d 12 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22912 3130 d 14 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22911 3130 d 15 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22910 3130 d 15 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22907 3130 d 15 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22898 3131 d 6 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22896 3131 d 6 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22894 3131 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22893 3132 d 5 h amit.gupta /trunk/  
22892 3132 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22889 3132 d 7 h amit.gupta /trunk/ Added insurance creation logic for third party  
22866 3137 d 9 h ashik.ali /trunk/profitmandi-web/src/main/ Gadget Cops insurance mapping api