[ 
https://issues.apache.org/jira/browse/TAJO-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14396143#comment-14396143
 ] 

ASF GitHub Bot commented on TAJO-1338:
--------------------------------------

Github user blrunner commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/490#discussion_r27775587
  
    --- Diff: 
tajo-core/src/main/java/org/apache/tajo/ws/rs/resources/FunctionsResource.java 
---
    @@ -0,0 +1,122 @@
    +/**
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.tajo.ws.rs.resources;
    +
    +import java.util.ArrayList;
    +import java.util.Collection;
    +import java.util.List;
    +
    +import javax.ws.rs.GET;
    +import javax.ws.rs.Path;
    +import javax.ws.rs.PathParam;
    +import javax.ws.rs.Produces;
    +import javax.ws.rs.core.Application;
    +import javax.ws.rs.core.Context;
    +import javax.ws.rs.core.MediaType;
    +import javax.ws.rs.core.Response;
    +import javax.ws.rs.core.Response.Status;
    +import javax.ws.rs.core.UriInfo;
    +
    +import org.apache.commons.logging.Log;
    +import org.apache.commons.logging.LogFactory;
    +import org.apache.tajo.catalog.FunctionDesc;
    +import org.apache.tajo.function.FunctionSignature;
    +import org.apache.tajo.master.TajoMaster.MasterContext;
    +import org.apache.tajo.ws.rs.JerseyResourceDelegate;
    +import org.apache.tajo.ws.rs.JerseyResourceDelegateContext;
    +import org.apache.tajo.ws.rs.JerseyResourceDelegateContextKey;
    +import org.apache.tajo.ws.rs.JerseyResourceDelegateUtil;
    +import org.apache.tajo.ws.rs.ResourcesUtil;
    +
    +@Path("/databases/{databaseName}/functions")
    +public class FunctionsResource {
    +  
    +  private static final Log LOG = LogFactory.getLog(TablesResource.class);
    +
    +  @Context
    +  UriInfo uriInfo;
    +  
    +  @Context
    +  Application application;
    +  
    +  @PathParam("databaseName")
    +  String databaseName;
    +  
    +  JerseyResourceDelegateContext context;
    +  
    +  private static final String databaseNameKeyName = "databaseName";
    +  private static final String functionNameKeyName = "functionName";
    --- End diff --
    
    Currently, it looks like unused variable. 


> Defines RESTful API for Clients
> -------------------------------
>
>                 Key: TAJO-1338
>                 URL: https://issues.apache.org/jira/browse/TAJO-1338
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: client
>    Affects Versions: 0.11.0
>            Reporter: Jihun Kang
>            Assignee: Jihun Kang
>             Fix For: 0.11.0
>
>         Attachments: TAJO-1338.patch, TAJO-1338_1.patch
>
>
> Based on RESTful implementations, RESTful API for clients will be created to 
> handle client requests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to