Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37298 29 d 1 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Default subCategoryId to 0 on endpoints that declare it required=false

subCategoryId is a primitive int, so a required=false declaration with no
defaultValue makes Spring throw when the param is omitted:

Optional int parameter 'subCategoryId' is present but cannot be translated
into a null value due to being declared as a primitive type.

v1 DealsController and GuestController already default it to 0; their v2
wrappers dropped that, and StoreController never had it on either version. Any
caller omitting the param got a 500 with a message that does not name the
parameter at fault.

Adding the default only removes that failure path — every currently working
caller already sends a value, so no existing behaviour changes.
 
37144 48 d 6 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Brand eligibility: hide restricted (blocked + LOI-ineligible) brands on partner surfaces and enforce at purchase — PartnerSolrClient applies Solr brand exclusion on all partner demo-core queries; brand list + deal/store facets filtered; legacy solr-search title filter with word boundary; add-to-cart and checkout validate via validateOrderableBrands  
36932 77 d 6 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ rbm rating weekly -> monthly  
36428 134 d 7 h aman /trunk/ Fix:Partner Stock Api  
36377 139 d 6 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Dashboard API  
36376 139 d 7 h aman /trunk/ Feat:Cart Api Implementation  
35758 210 d 3 h vikas /trunk/ Removed tarun verma's email from trial service  
35458 264 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
 
35456 264 d 4 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed method thats not readonly  
35435 265 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.
 
35369 274 d 7 h ranu /trunk/ out of stock allocation  
35309 293 d 6 h aman /trunk/ Fix:Monthly Sale show assesses sale  
35243 316 d 12 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Feat: Partner Monthly sale  
35211 330 d 4 h vikas /trunk/ App build Version & Notification Template  
35079 349 d 11 h vikas /trunk/ Live Tracking and Shopify Products List Sync  
34917 378 d 6 h vikas /trunk/ SmartSeller Earnings and Referrals  
34902 384 d 4 h vikas /trunk/ Affiliate Order  
34899 384 d 5 h aman /trunk/ Fix: Affiliate Products, links and Authentication  
34884 388 d 11 h vikas /trunk/ Disabled POD Option  
34882 394 d 6 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Feat:Affiliate Service  
34878 395 d 6 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Changed force wallet debit on bidding  
34823 413 d 7 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ remove icici plan fom b2c  
34822 413 d 7 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ remove icici plan fom b2c  
34654 457 d 4 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Debit 500 From Wallet for Bid Security  
34562 483 d 23 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Bid Update notification to another user  
34545 485 d 7 h vikas.jangra /trunk/ Bidding/Liquidation push notifications  
34494 500 d 0 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Bidding/Liquidation changed bid starting amount  
34477 504 d 4 h aman.kumar /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Pending Order Plan  
34476 504 d 4 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Bidding/Liquidation Declined Bid After 6 PM  
34446 506 d 20 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Bidding/Liquidation Initial Code - Validation for 6PM  
34444 506 d 21 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Biddin/Liquidation Initial Code  
34371 526 d 13 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ scrach end  
34287 549 d 5 h vikas.jangra /trunk/ Download Invoice Issue  
34259 556 d 7 h aman.kumar /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ default address fix  
34248 560 d 5 h aman.kumar /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Navbar imported  
34247 560 d 5 h aman.kumar /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Contact us Validation  
34242 560 d 9 h tejus.lohani /trunk/ Nav bar list api  
34239 561 d 7 h vikas.jangra /trunk/ Added Super Catalog Variants to b2c API  
34196 575 d 6 h ranu /trunk/ insurance and hid correction  
34190 576 d 4 h aman.kumar /trunk/ ContacUs Api and Change password Api