[infinispan-issues] [JBoss JIRA] (ISPN-11934) Add ServerResource.ServerInfo serializer to avoid unnecessary reflection

Ryan Emerson (Jira) issues at jboss.org
Fri May 29 12:06:00 EDT 2020


     [ https://issues.redhat.com/browse/ISPN-11934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Emerson updated ISPN-11934:
--------------------------------
    Summary: Add ServerResource.ServerInfo serializer to avoid unnecessary reflection  (was: Remove ServerResource.ServerInfo to avoid unnecessary reflection)


> Add ServerResource.ServerInfo serializer to avoid unnecessary reflection
> ------------------------------------------------------------------------
>
>                 Key: ISPN-11934
>                 URL: https://issues.redhat.com/browse/ISPN-11934
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: REST
>    Affects Versions: 11.0.0.CR1
>            Reporter: Ryan Emerson
>            Assignee: Ryan Emerson
>            Priority: Major
>             Fix For: 11.0.0.Final
>
>
> {{ServerResource.ServerInfo}} is converted by Jackson to JSON in order to return the Infinispan version, however as no other information is required it's possible to simply return a JSON string directly. This avoids Jackson performing reflection and means less metadata required for the native server build.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list