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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to