Title: Message Title
|
|
Issue Type:
|
Improvement
|
Affects Versions:
|
15.03.RELEASE
|
Assignee:
|
Unassigned
|
Components:
|
Platform
|
Created:
|
11/May/15 11:33 PM
|
Fix Versions:
|
15.06.RELEASE
|
Labels:
|
retrofit refactor internal
|
Priority:
|
Major
|
Reporter:
|
Markus Geiss
|
|
It is bad practice to use transport layer specific objects in the business layer. All JSON objects should be translated to real POJOs to allow clean and better method signatures.
Right a JsonCommand is created and provided as arguments to the Service layer. We want to offer a real internal API in the future and for this we need to provide proper method signature.
Needed changes:
-
Refactor CommandWrapper to use a generic payload not a JSON string
-
Allow setting the entity, action, and href in CommandWrapper to create a new instance
-
Refactor all Services to use the real data objects
-
Refactor CommandProcessors to use GSON to serialize the CommandWrapper payload for storing and replay
-
Use JsonCommand only for data input via the REST API
|
|
|
|
|
|
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mifos-issues mailing list
Mifos-issues@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-issues