[JBoss JIRA] (ISPN-11934) Add ServerResource.ServerInfo serializer to avoid unnecessary reflection
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11934?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11934:
--------------------------------
Description: {{ServerResource.ServerInfo}} is converted by Jackson to JSON, we should add a manual serializer to avoid the need for reflection. This means less metadata required for the native server build. (was: {{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.)
> 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, we should add a manual serializer to avoid the need for reflection. This means less metadata required for the native server build.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-11934) Add ServerResource.ServerInfo serializer to avoid unnecessary reflection
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11934?page=com.atlassian.jira.plugi... ]
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)
4 years, 7 months