You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by mh...@apache.org on 2019/04/09 19:36:07 UTC

[asterixdb] branch master updated: [NO ISSUE][API] Rename Request Cancellation API Parameter

This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 618bd05  [NO ISSUE][API] Rename Request Cancellation API Parameter
618bd05 is described below

commit 618bd05dc9e878aaf1c2e7a688aee71465e9dec1
Author: Murtadha Hubail <mh...@apache.org>
AuthorDate: Mon Apr 8 22:05:36 2019 +0300

    [NO ISSUE][API] Rename Request Cancellation API Parameter
    
    - user model changes: yes
    - storage format changes: no
    - interface changes: no
    
    Details:
    - Rename the parameter for the request UUID in the query
      cancellation servlet from uuid to request_id to be more
      user friendly.
    
    Change-Id: I357762beff5384e52ce6f25837d2390f02ad10ad
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/3334
    Sonar-Qube: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Reviewed-by: Till Westmann <ti...@apache.org>
---
 .../org/apache/asterix/api/http/server/CcQueryCancellationServlet.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/CcQueryCancellationServlet.java b/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/CcQueryCancellationServlet.java
index 370579a..00aef9e 100644
--- a/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/CcQueryCancellationServlet.java
+++ b/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/CcQueryCancellationServlet.java
@@ -39,7 +39,7 @@ import io.netty.handler.codec.http.HttpResponseStatus;
  */
 public class CcQueryCancellationServlet extends AbstractServlet {
 
-    public static final String REQUEST_UUID_PARAM_NAME = "uuid";
+    public static final String REQUEST_UUID_PARAM_NAME = "request_id";
     private static final Logger LOGGER = LogManager.getLogger();
     private final ICcApplicationContext appCtx;