accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwa...@apache.org
Subject [accumulo] branch master updated: Stop sending error message in bean validation response (#625)
Date Tue, 04 Sep 2018 15:08:09 GMT
This is an automated email from the ASF dual-hosted git repository.

mwalch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/master by this push:
     new f7d0518  Stop sending error message in bean validation response (#625)
f7d0518 is described below

commit f7d051894f17a97096b08f30c2f5da062093647d
Author: Mike Walch <mwalch@apache.org>
AuthorDate: Tue Sep 4 11:08:07 2018 -0400

    Stop sending error message in bean validation response (#625)
---
 .../monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java   | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

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 dfc158f..ac7fd3f 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 @@ public class Monitor implements HighlyAvailableService {
         .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 @@ public class Monitor implements HighlyAvailableService {
     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));
   }
 


Mime
View raw message