]
Ryan Emerson updated ISPN-11934:
--------------------------------
Summary: Remove ServerResource.ServerInfo to avoid unnecessary reflection (was:
Remove ServerResource.ServerInfo to avoid reflection)
Remove ServerResource.ServerInfo 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.