accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] mikewalch closed pull request #625: Stop sending error message in bean validation response
Date Tue, 04 Sep 2018 15:08:09 GMT
mikewalch closed pull request #625: Stop sending error message in bean validation response
URL: https://github.com/apache/accumulo/pull/625
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java b/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
index dfc158fb53..ac7fd3f5e7 100644
--- a/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
+++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
@@ -557,8 +557,7 @@ private ServletHolder getViewServlet() {
         .register(
             new LoggingFeature(java.util.logging.Logger.getLogger(this.getClass().getSimpleName())))
         .register(FreemarkerMvcFeature.class)
-        .property(MvcFeature.TEMPLATE_BASE_PATH, "/org/apache/accumulo/monitor/templates")
-        .property(ServerProperties.BV_SEND_ERROR_IN_RESPONSE, true);
+        .property(MvcFeature.TEMPLATE_BASE_PATH, "/org/apache/accumulo/monitor/templates");
     return new ServletHolder(new ServletContainer(rc));
   }
 
@@ -566,7 +565,7 @@ private ServletHolder getRestServlet() {
     final ResourceConfig rc = new ResourceConfig().packages("org.apache.accumulo.monitor.rest")
         .register(
             new LoggingFeature(java.util.logging.Logger.getLogger(this.getClass().getSimpleName())))
-        .register(JacksonFeature.class).property(ServerProperties.BV_SEND_ERROR_IN_RESPONSE,
true);
+        .register(JacksonFeature.class);
     return new ServletHolder(new ServletContainer(rc));
   }
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message