accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmil...@apache.org
Subject [accumulo] branch master updated: ACCUMULO-4756 Fix path param in TablesResource
Date Thu, 14 Dec 2017 23:30:27 GMT
This is an automated email from the ASF dual-hosted git repository.

mmiller 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 7a55000  ACCUMULO-4756 Fix path param in TablesResource
7a55000 is described below

commit 7a5500010efdeb2573b3c1d742caae8327349b55
Author: Mike Miller <mmiller@apache.org>
AuthorDate: Thu Dec 14 18:03:28 2017 -0500

    ACCUMULO-4756 Fix path param in TablesResource
---
 .../java/org/apache/accumulo/monitor/rest/tables/TablesResource.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/monitor/src/main/java/org/apache/accumulo/monitor/rest/tables/TablesResource.java
b/server/monitor/src/main/java/org/apache/accumulo/monitor/rest/tables/TablesResource.java
index 41d3825..19c9ac4 100644
--- a/server/monitor/src/main/java/org/apache/accumulo/monitor/rest/tables/TablesResource.java
+++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/rest/tables/TablesResource.java
@@ -16,7 +16,7 @@
  */
 package org.apache.accumulo.monitor.rest.tables;
 
-import static org.apache.accumulo.monitor.util.ParameterValidator.ALPHA_NUM_REGEX;
+import static org.apache.accumulo.monitor.util.ParameterValidator.ALPHA_NUM_REGEX_TABLE_ID;
 import static org.apache.accumulo.monitor.util.ParameterValidator.NAMESPACE_LIST_REGEX;
 import static org.apache.accumulo.monitor.util.ParameterValidator.NAMESPACE_REGEX;
 
@@ -213,7 +213,7 @@ public class TablesResource {
    */
   @Path("{tableId}")
   @GET
-  public TabletServers getParticipatingTabletServers(@PathParam("tableId") @NotNull @Pattern(regexp
= ALPHA_NUM_REGEX) String tableIdStr) throws Exception {
+  public TabletServers getParticipatingTabletServers(@PathParam("tableId") @NotNull @Pattern(regexp
= ALPHA_NUM_REGEX_TABLE_ID) String tableIdStr) throws Exception {
     Instance instance = Monitor.getContext().getInstance();
     Table.ID tableId = Table.ID.of(tableIdStr);
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@accumulo.apache.org" <commits@accumulo.apache.org>'].

Mime
View raw message