Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36625 9 d 7 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
 
36418 32 d 3 h amit /trunk/profitmandi-web/ OkHttp→Apache HttpClient migration. HyperTrackController/TrackingController now use RestClient, DB reads extracted to HyperTrackService to release connections before external HTTP calls. V2FofoDigifyController uses HttpClientFactory.  
35458 161 d 1 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
 
35434 163 d 0 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/ Add @Transactional(readOnly=true) to 12 read-only controllers

Skips dirty checking and snapshot storage for better performance
 
31119 1307 d 5 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
31117 1307 d 6 h tejbeer /trunk/  
31114 1309 d 4 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
31113 1309 d 6 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
31087 1317 d 6 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ change  
29433 1690 d 3 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29432 1690 d 3 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29430 1690 d 3 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29429 1690 d 3 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29424 1690 d 3 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29423 1690 d 3 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29422 1690 d 3 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29421 1690 d 5 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29420 1690 d 6 h tejbeer /trunk/ change  
29419 1690 d 8 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ change  
29418 1690 d 9 h tejbeer /trunk/  

Show All