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

ASF GitHub Bot commented on NUTCH-2099:
---------------------------------------

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

    https://github.com/apache/nutch/pull/59#discussion_r39662837
  
    --- Diff: src/java/org/apache/nutch/metadata/Nutch.java ---
    @@ -80,4 +80,11 @@
        public static final String STAT_PROGRESS = "progress";
        /**Used by Nutch REST service */
        public static final String CRAWL_ID_KEY = "storage.crawl.id";
    +   
    +   public static final String ARG_SEEDDIR = "url_dir";
    +   public static final String ARG_CRAWLDB = "crawldb";
    --- End diff --
    
    As static finals above, it would be nice to augment the additions here with 
some Javadoc. They are public of course.


> Refactoring the REST endpoints for integration with webui
> ---------------------------------------------------------
>
>                 Key: NUTCH-2099
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2099
>             Project: Nutch
>          Issue Type: Sub-task
>          Components: REST_api, web gui
>            Reporter: Sujen Shah
>              Labels: memex
>             Fix For: 1.11
>
>
> This PR changes the structure of the arguments in the REST endpoints. Earlier 
> the args were accepted in a Map<String, String> form and now it is 
> Map<String, Object>. This is to allow Wicket to create the proper requests 
> objects and send it to NutchServer. 
> With the above, I have also added the metadata required for these services in 
> Nutch metadata.



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

Reply via email to