[
http://mifosforge.jira.com/browse/MIFOS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Feuer updated MIFOS-2802:
------------------------------
Description:
Fix the legacy Hibernate Entity Interceptor for Audit purpose.
Lots of unnecessary, non-working code in org.mifos.framework.components.audit
which needs to be fixed.
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.
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.
Summary: Fix Hibernate Entity Audit Logging in Mifos (was: Refactor
Hibernate Entity Audit Logging in Mifos)
> Fix 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: Release 1.6.0
> Reporter: Udai Gupta
> Assignee: Udai Gupta
> Fix For: Gazelle Backlog
>
>
> Fix the legacy Hibernate Entity Interceptor for Audit purpose.
> Lots of unnecessary, non-working code in org.mifos.framework.components.audit
> which needs to be fixed.
> 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
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues