[ 
https://issues.apache.org/jira/browse/QPID-4220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-4220:
-----------------------------

    Attachment: 0001-QPID-4220-Replace-gson-library-with-jackson-in-perft.patch

Attached a patch removing the dependencies on gson json processor and replacing 
it with jackson json processor library.

The patch also normalizes the json files(both for testing and performance 
measuring) as I could not find a way to use mix of ; and , separators with 
jackson library.

Also, 2 unnecessary deserilizers are added for Response and 
RegisterClientCommand classes. The more optimal solution would be to add 
default constructors or annotations (I prefer the last) but I decided to go 
with deserializers in order to minimize changes in the framework
                
> Use single json processing library acrross all modules in java  modules tree
> ----------------------------------------------------------------------------
>
>                 Key: QPID-4220
>                 URL: https://issues.apache.org/jira/browse/QPID-4220
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Performance Tests
>    Affects Versions: 0.19
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>            Priority: Minor
>         Attachments: 
> 0001-QPID-4220-Replace-gson-library-with-jackson-in-perft.patch
>
>
> Currently java modules tree has dependencies on 2 json processing libraries: 
> jackson and gson. jackson library is used in http management, gson is used in 
> perftests library. In order to unify the usage of libraries and reduce the 
> dependencies the perftests module needs to be changed to use jackson json 
> parser and mapper.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to