[
https://issues.apache.org/jira/browse/NUTCH-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14572188#comment-14572188
]
ASF GitHub Bot commented on NUTCH-2027:
---------------------------------------
Github user chrismattmann commented on a diff in the pull request:
https://github.com/apache/nutch/pull/28#discussion_r31694017
--- Diff: src/java/org/apache/nutch/service/resources/SeedResource.java ---
@@ -0,0 +1,112 @@
+
+
+/*******************************************************************************
+ * 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.nutch.service.resources;
+
+import static javax.ws.rs.core.Response.status;
+
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileNotFoundException;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.nio.file.Files;
+import java.nio.file.Paths;
+import java.util.Collection;
+
+import javax.ws.rs.Consumes;
+import javax.ws.rs.POST;
+import javax.ws.rs.Path;
+import javax.ws.rs.WebApplicationException;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;
+import javax.ws.rs.core.Response.Status;
+
+import org.apache.commons.collections.CollectionUtils;
+import org.apache.nutch.service.model.request.SeedList;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+
+
+
--- End diff --
class javadoc please.
> seed list REST endpoint for Nutch 1.10
> --------------------------------------
>
> Key: NUTCH-2027
> URL: https://issues.apache.org/jira/browse/NUTCH-2027
> Project: Nutch
> Issue Type: New Feature
> Components: REST_api
> Reporter: Asitang Mishra
> Assignee: Chris A. Mattmann
> Labels: memex, rest_api
> Fix For: 1.11
>
>
> The endpoint for Nutch 1.10 that enables the user to set the seedlist for the
> REST api with a REST call.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)