Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36625 10 d 8 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 33 d 4 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 162 d 2 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 164 d 1 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 1308 d 6 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
31117 1308 d 7 h tejbeer /trunk/  
31114 1310 d 5 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
31113 1310 d 6 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
31087 1318 d 7 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ change  
29433 1691 d 4 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29432 1691 d 4 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29430 1691 d 4 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29429 1691 d 4 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29424 1691 d 4 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29423 1691 d 4 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29422 1691 d 4 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29421 1691 d 6 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29420 1691 d 7 h tejbeer /trunk/ change  
29419 1691 d 9 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ change  
29418 1691 d 10 h tejbeer /trunk/  

Show All