You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "madrob (via GitHub)" <gi...@apache.org> on 2023/02/04 20:35:28 UTC
[GitHub] [solr] madrob commented on a diff in pull request #1335: SOLR-16531: Disable unused Jersey features
madrob commented on code in PR #1335:
URL: https://github.com/apache/solr/pull/1335#discussion_r1096583404
##########
solr/core/src/java/org/apache/solr/jersey/JerseyApplications.java:
##########
@@ -79,6 +80,16 @@ protected void configure() {
.in(RequestScoped.class);
}
});
+
+ setProperties(
+ Map.of(
+ "jersey.config.server.wadl.disableWadl", "true",
+ "jersey.config.beanValidation.disable.server", "true",
+ "jersey.config.server.disableAutoDiscovery", "true",
+ "jersey.config.server.disableJsonProcessing", "true",
+ "jersey.config.server.disableMetainfServicesLookup", "true",
+ "jersey.config.server.disableMoxyJson", "true",
+ "jersey.config.server.resource.validation.disable", "true"));
// Logging - disabled by default but useful for debugging Jersey execution
// setProperties(
// Map.of(
Review Comment:
Fold this comment into the previous setProperties call?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org