Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37492 35 d 3 h amit /trunk/ errors: wire the GlitchTip appender into cron and fofo logging

Completes r37491, which committed only web's log4j2.xml. cron's and fofo's were
held back because they carried local development log paths -- a user.home
expansion in cron and an absolute /Users path in fofo. Neither can ship: /Users
does not exist on the server, so fofo logging would fail to open its file and
the Alloy stream tailing /var/log/tomcat7/fofo/fofo.log would go dead.

Both files are restored to their production paths and carry the Sentry appender.
Whoever needs the local override should re-apply it locally rather than
committing it.
 
35459 289 d 19 h amit /trunk/ Revert non-Java file changes from r35458  
35458 289 d 19 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
 
35438 290 d 21 h amit /trunk/profitmandi-fofo/src/main/resources/ Fix log4j2.xml: restore server paths (/var/log/tomcat7)  
35433 291 d 18 h amit /trunk/profitmandi-fofo/ Add @Transactional(readOnly=true) to read-only controllers for performance

Updated 11 controllers that only perform read operations:
- AnalysisDashboardController, InvoiceController, ItemLedgerController
- MapTrackController, MarginController, MongoMigrationController
- PartnerPendingTasksController, PostOfficeController, ScanRecordController
- LogixController, MonitorController

Benefits:
- Hibernate skips dirty checking (faster)
- Database can optimize for read-only queries
- Connection marked as read-only for potential read replica routing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
 
33262 895 d 0 h ranu /trunk/profitmandi-fofo/src/main/resources/ log4j xml file change  
33258 895 d 21 h ranu /trunk/ change path invoices invoice service  
33185 913 d 20 h ranu /trunk/profitmandi-fofo/src/main/resources/ upadate and revert log4j2.xml  
33183 913 d 20 h shampa /trunk/ show all vendors data report without select any particular vendor. Add download csv file.  
32612 1063 d 5 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/ removed tr  
30013 1694 d 23 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/ Fixed Logging  
29621 1776 d 2 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/  
29618 1776 d 2 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/  
26437 2398 d 23 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/  
23884 3006 d 23 h amit.gupta /trunk/ Added major changes  
23774 3044 d 3 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/  
23609 3084 d 2 h govind /trunk/ trigger time changed in log4j2.xml  
23605 3085 d 3 h govind /trunk/profitmandi-fofo/src/main/resources/ trigger time changed in log4j2.xml  
23586 3087 d 2 h ashik.ali /trunk/profitmandi-fofo/src/main/resources/ commit by mistake : changes file location accidently  
23584 3087 d 4 h ashik.ali /trunk/profitmandi-fofo/ Able to edit order customer details from panel  

Show All