Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37649 3 d 14 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Retire user.counter / user.privatedealuser write path (web)

createRetailer no longer creates a Counter, PrivateDealUser or address mapping; the
non-found branch keeps only the saholic-user address write it also did. Pairs with
dao r37648.
 
37157 52 d 7 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ getPartners null-safe saholic lookup (one bad partner row no longer 500s the whole list), retailer registration uses idempotent user_accounts upsert, V2CartController distinguishes missing-procurement-cart (404) from missing auth token (401)  
37103 65 d 8 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Remove dead PrivateDealUser.bulkShipmentAmountLimit writes in retailer creation  
36625 121 d 9 h amit /trunk/profitmandi-web/ Thrift cleanup: remove ThriftConfig from settings, clean dead Thrift code

- Removed ThriftConfig from settings.gradle
- LivePricingController: removed DtrClient RPC calls and Thrift imports
- RetailerController: replaced Thrift StateInfo with DAO State lookup
- TrackingController: removed TException import
- PayuHandler: removed dead getDescription/validatePaymentParams using Thrift types
- PayuPayResponseController: removed dead validatePaymentParams using Thrift Payment
- PaymentUtils: removed dead getPaymentType method and Thrift imports
- V2FofoIndentController, V2FofoInventoryController, V2HomeController: removed Thrift imports
 
36440 141 d 11 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Set outlet_name from retailerAddress on FofoStore creation in RetailerController  
35458 273 d 3 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 274 d 11 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.
 
33249 882 d 9 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ added some exception  
23786 3019 d 8 h amit.gupta /trunk/ Major commit.
1. Fixed profitmandi-web refactored as per new role management logic.
2. Added Allocation Mechanism
3. Minor bug fixes.
 
23635 3060 d 10 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed shop address  
23568 3077 d 6 h govind /trunk/ Fixed changes related to logging. Updated to log4j2  
23332 3148 d 11 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23300 3153 d 8 h amit.gupta /trunk/ Fixed migration util  
23273 3160 d 6 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/  
23227 3168 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23115 3189 d 5 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23048 3203 d 7 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23042 3203 d 12 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23041 3203 d 12 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23039 3203 d 13 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23038 3203 d 13 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23035 3204 d 5 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22965 3225 d 11 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22964 3225 d 11 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22954 3229 d 12 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22931 3230 d 11 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/  
22876 3236 d 10 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ fixed bug while sending fofo interest  
22875 3236 d 10 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22855 3239 d 5 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed bug pertaining to different addresses  
22743 3249 d 9 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22732 3252 d 6 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22656 3261 d 4 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22604 3265 d 9 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22554 3268 d 22 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed issue related to Clicks controller  
22553 3268 d 23 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22524 3273 d 10 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/  
22503 3279 d 6 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added private deal user if its not available.  
22495 3281 d 10 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Removed logic for fofo creation  
22473 3286 d 12 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/  
22355 3306 d 10 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/