[
http://mifosforge.jira.com/browse/MIFOS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Udai Gupta updated MIFOS-2802:
------------------------------
Description:
Refactor the legacy Hibernate Entity Interceptor for Audit purpose.
Lots of unnecessary code in org.mifos.framework.components.audit which can be
simplified.
Replace org/mifos/framework/util/resources/audit/ColumnMapping.xml with
annotation for fields. Annotations are better for Mapping because of
typesafety, and XML are better for configuration where you can tune variables
without recompiling the whole application.
Use annotations for mapping which Entity(or field of Entity) to log.
Refer http://community.jboss.org/wiki/AuditLogging
We just need to log the change after the transaction, nothing for the
intermediate states.
NOTE: These changes are stored in database and at some place reflected in UI
for Change logs. Make sure that we don't break that feature while refactoring.
was:
Refactor the legacy Hibernate Entity Interceptor for Audit purpose.
Lots of unnecessary code in org.mifos.framework.components.audit which can be
simplified.
Replace org/mifos/framework/util/resources/audit/ColumnMapping.xml with
annotation for fields. Annotations are better for Mapping because of
typesafety, and XML are better for configuration where you can tune variables
without recompiling the whole application.
Use annotations for mapping which Entity(or field of Entity) to log.
Refer http://community.jboss.org/wiki/AuditLogging
We just need to log the change after the transaction, nothing for the
intermediate states.
> Refactor Hibernate Entity Audit Logging in Mifos
> ------------------------------------------------
>
> Key: MIFOS-2802
> URL: http://mifosforge.jira.com/browse/MIFOS-2802
> Project: mifos
> Issue Type: Improvement
> Components: Logging
> Affects Versions: Unscheduled
> Reporter: Udai Gupta
> Assignee: mifosdeveloperqueue
> Fix For: Unscheduled
>
>
> Refactor the legacy Hibernate Entity Interceptor for Audit purpose.
> Lots of unnecessary code in org.mifos.framework.components.audit which can be
> simplified.
> Replace org/mifos/framework/util/resources/audit/ColumnMapping.xml with
> annotation for fields. Annotations are better for Mapping because of
> typesafety, and XML are better for configuration where you can tune variables
> without recompiling the whole application.
> Use annotations for mapping which Entity(or field of Entity) to log.
> Refer http://community.jboss.org/wiki/AuditLogging
> We just need to log the change after the transaction, nothing for the
> intermediate states.
> NOTE: These changes are stored in database and at some place reflected in UI
> for Change logs. Make sure that we don't break that feature while refactoring.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues