VIVO-773 Remove "connectDB" function of advanced data tools.

It was tied up with RDB. It could have been converted, but there was little interest.
This commit is contained in:
Jim Blake 2014-06-02 17:57:06 -04:00
parent 3a2930cdc6
commit 0cd42e211e
3 changed files with 0 additions and 81 deletions

View file

@ -1,45 +0,0 @@
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %>
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
<% request.setAttribute("requestedActions", SimplePermission.USE_ADVANCED_DATA_TOOLS_PAGES.ACTION); %>
<vitro:confirmAuthorization />
<%@page import="java.util.List"%><h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Connect to Jena Database</h2>
<form action="ingest" method="post">
<input type="hidden" name="action" value="connectDB"/>
<label for="JDBC URL">JDBC URL</label>
<input type="text" style="width:80%;" name="jdbcUrl" value="jdbc:mysql://localhost/"/>
<label for="username">Username</label>
<input type="text" name="username"/>
<label for="password">Password</label>
<input type="password" name="password" class="block"/>
<input id="tripleStoreRDB" name="tripleStore" type="radio" checked="checked" value="RDB"/>
<label for="tripleStoreRDB" class="inline">Jena RDB</label>
<input id="tripleStoreSDB" name="tripleStore" type="radio" value="SDB"/>
<label for="tripleStoreRDB" class="inline">Jena SDB (hash layout)</label>
<label for="database type">Database type</label>
<select name="dbType">
<c:forEach items="${requestScope.dbTypes}" var="typeName">
<c:choose>
<c:when test="${typeName eq 'MySQL'}">
<option value="${typeName}" selected="selected">${typeName}</option>
</c:when>
<c:otherwise>
<option value="${typeName}">${typeName}</option>
</c:otherwise>
</c:choose>
</c:forEach>
</select>
<input class="submit" type="submit" value="Connect Database" />

View file

@ -8,7 +8,6 @@
<h2>Ingest Menu</h2>
<ul class="ingestMenu">
<li><a href="ingest?action=connectDB" title="Connect to a Jena database">Connect DB</a></li>
<li><a href="ingest?action=listModels"title="Manage all available Jena models">Manage Jena Models</a></li>
<li><a href="ingest?action=subtractModels" title="Subtract one model from another and save difference to new model">Subtract One Model from Another</a></li>
</ul>