Apache Lucene open-source search software
SOLR-3234: Remove contrib/dataimport's webapp
Stefan Matheisa79a14347d4b
diff --git a/solr/contrib/dataimporthandler/src/webapp/admin/dataimport.jsp b/solr/contrib/dataimporthandler/src/webapp/admin/dataimport.jspdeleted file mode 100644index 667f8947d54..00000000000--- a/solr/contrib/dataimporthandler/src/webapp/admin/dataimport.jsp+++ /dev/null@@ -1,53 +0,0 @@-<%@ page import="org.apache.solr.request.SolrRequestHandler" %>-<%@ page import="java.util.Map" %>-<%@ page contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>-<%--- 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.---%>-<%-- do a verbatim include so we can use the local vars --%>-<%@include file="_info.jsp"%>-<html>-<%- String handler = request.getParameter("handler");-- if (handler == null) {- Map<String, SolrRequestHandler> handlers = core.getRequestHandlers();-%>-<head>- <title>DataImportHandler Interactive Development</title>- <link rel="stylesheet" type="text/css" href="solr-admin.css">-</head>-<body>-Select handler:-<ul>-<%- for (String key : handlers.keySet()) {- if (handlers.get(key).getClass().getName().equals("org.apache.solr.handler.dataimport.DataImportHandler")) { %>- <li><a href="dataimport.jsp?handler=<%=key%>"><%=key%></a></li>-<%- }- }-%>-</ul>-</body>-<% } else { %>--<frameset cols = "50%, 50%">- <frame src ="debug.jsp?handler=<%=handler%>" />- <frame src ="..<%=handler%>?command=status" name="result"/>-</frameset>-<% } %>-</html>diff --git a/solr/contrib/dataimporthandler/src/webapp/admin/debug.jsp b/solr/contrib/dataimporthandler/src/webapp/admin/debug.jspdeleted file mode 100644index 2c76ce728c8..00000000000--- a/solr/contrib/dataimporthandler/src/webapp/admin/debug.jsp+++ /dev/null@@ -1,103 +0,0 @@-<%@ page contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>-<%--- 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.---%>-<%-- do a verbatim include so we can use the local vars --%>-<%@include file="_info.jsp"%>-<html>-<head>-<title>DataImportHandler Interactive Development</title>-<link rel="stylesheet" type="text/css" href="solr-admin.css"/>-<link rel="icon" href="favicon.ico" type="image/ico"/>-<link rel="shortcut icon" href="favicon.ico" type="image/ico"/>-<script src="jquery-1.4.3.min.js"></script>-</head>-<body>-<h1>DataImportHandler Development Console</h1>-<%- String handler = request.getParameter("handler"); // must be specified-%>-<form action="..<%=handler%>" target="result" method="get">-<input type="hidden" name="debug" value="on"/>-<table>- <tr>- <th>Handler: </th>- <td><%=handler%> <a href="dataimport.jsp" target="_top">change handler</a></td>- </tr>- <tr>- <td colspan="2">- <table width="100%">- <tr>- <td>- <select name="command">- <option value="full-import" selected="selected">full-import</option>- <option value="delta-import">delta-import</option>- </select>- </td>- <td><strong>Verbose</strong> <input- name="verbose" type="checkbox"></td>- <td><strong>Commit</strong> <input- name="commit" type="checkbox"></td>- <td><strong>Clean</strong> <input- name="clean" type="checkbox"></td>- <td><strong>Start Row</strong> <input- name="start" size="4" type="text" value="0"></td>- <td><strong>No. of Rows</strong> <input name="rows"- type="text" size="4" value="10"></td>- </tr>- </table>- </td>- <tr>- <td><strong>data config xml</strong></td>- <td><input class="stdbutton" type="submit" value="debug now">- </td>- </tr>- <tr>- <td colspan="2"><textarea id="txtDataConfig" rows="30" cols="80" name="dataConfig"></textarea></td>- <script type="text/javascript" language="javascript">- $.get("..<%=handler%>?command=show-config", function(data){- $('#txtDataConfig').attr('value', data);- });- </script>- </tr>-</table>-</form>-<form action="..<%=handler%>" target="result" method="get">- <input type="hidden" name="clean" value="false">- <input type="hidden" name="commit" value="true">- <input class="stdbutton" type="submit" name="command" value="full-import">- <input class="stdbutton" type="submit" name="command" value="delta-import">- <input class="stdbutton" type="submit" name="command" value="status">- <input class="stdbutton" type="submit" name="command" value="reload-config">- <input class="stdbutton" type="submit" name="command" value="abort">-</form>-<form action="../select" target="result" method="get">- <input type="hidden" name="q" value="*:*">- <input type="hidden" name="start" value="0">- <input type="hidden" name="rows" value="0">- <input class="stdbutton" type="submit" value="Documents Count">-</form>-<form action="..<%=handler%>" target="result" method="get">- <input type="hidden" name="verbose" value="true">- <input type="hidden" name="clean" value="true">- <input type="hidden" name="commit" value="true">- <input type="hidden" name="command" value="full-import">- <input class="stdbutton" type="submit" value="Full Import with Cleaning">-</form>--<a href="index.jsp" target="_parent">Return to Admin Page</a>-</body>-</html>