Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37937 4 d 11 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Store status lifecycle: web login, wallet guard and V2 endpoints

- Partner login and token detail refuse a SUSPENDED or CLOSED store (STORE_LOGIN_BLOCKED) with the reason;
token detail returns storeStatus
- PAUSED blocks partner wallet spends at checkout, insurance and clearance bid
- V2 retailer endpoints mirror the fofo ones through StoreStatusService
 
37399 62 d 9 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Use the shared insurance invoice line builder for standalone policy invoices

Replace the duplicated CustomInsurancePolicy block with InsuranceInvoiceLine.
Drop the setTotalAmount call - the renderer derives totals from the item lines,
so the value was never read - and the repository field it orphaned.

Derive and set the invoice state codes, as the partner invoice already does, so
the place of supply prints when billing a registered buyer.
 
36400 182 d 14 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked  
35458 310 d 9 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 311 d 17 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 849 d 8 h tejus.lohani /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ import changes for OTPProcessor and reponse  
33314 907 d 11 h ranu /trunk/ is smartphone or not  
30330 1648 d 11 h tejbeer /trunk/ change  
29597 1799 d 17 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
28308 2007 d 19 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
28307 2007 d 19 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
26655 2354 d 13 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
26516 2396 d 18 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
24873 2747 d 11 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed pdff mo  
23839 3037 d 18 h amit.gupta /trunk/ changed mail domain profitmandi.com -> smartdukaan.com  
23568 3114 d 12 h govind /trunk/ Fixed changes related to logging. Updated to log4j2  
23016 3246 d 13 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23015 3246 d 13 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23001 3253 d 12 h amit.gupta /trunk/ Fixed invoice  
23000 3253 d 15 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22999 3253 d 15 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22997 3253 d 16 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22994 3253 d 18 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22993 3253 d 19 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added policyNumber on successful policy creation  
22937 3267 d 14 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22932 3267 d 15 h amit.gupta /trunk/ Added Gadget Cop insurance Calc Response  
22918 3267 d 19 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added to  
22917 3267 d 21 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22916 3267 d 21 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22915 3267 d 21 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22913 3267 d 21 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22912 3268 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22911 3268 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22910 3268 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22907 3268 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22898 3268 d 15 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22896 3268 d 16 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22894 3268 d 16 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22893 3269 d 14 h amit.gupta /trunk/  
22892 3269 d 16 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/