[infinispan-issues] [JBoss JIRA] (ISPN-11934) Remove ServerResource.ServerInfo to avoid reflection
Ryan Emerson (Jira)
issues at jboss.org
Fri May 29 07:25:00 EDT 2020
Ryan Emerson created ISPN-11934:
-----------------------------------
Summary: Remove ServerResource.ServerInfo to avoid 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
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