From: <bra...@us...> - 2008-08-13 01:39:30
|
Revision: 2544 http://archive-access.svn.sourceforge.net/archive-access/?rev=2544&view=rev Author: bradtofel Date: 2008-08-13 01:39:39 +0000 (Wed, 13 Aug 2008) Log Message: ----------- REMOVE: all templates are now present in other spring config examples. Removed Paths: ------------- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/wayback-templates.xml Deleted: trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/wayback-templates.xml =================================================================== --- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/wayback-templates.xml 2008-08-13 01:37:38 UTC (rev 2543) +++ trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/wayback-templates.xml 2008-08-13 01:39:39 UTC (rev 2544) @@ -1,155 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> -<beans> - -<!-- SearchResultSource templates --> - <bean id="bdbsearchresultsource" - class="org.archive.wayback.resourceindex.bdb.BDBIndex" - init-method="init"> - <property name="bdbName" value="DB1" /> - <property name="bdbPath" value="/tmp/wayback/index/" /> - </bean> - - <bean id="cdxsearchresultsource" class="org.archive.wayback.resourceindex.cdx.CDXIndex"> - <property name="path" value="/tmp/wayback/cdx-index/index.cdx" /> - </bean> - - <bean id="compositecdxresultsource" class="org.archive.wayback.resourceindex.CompositeSearchResultSource"> - <property name="CDXSources"> - <list> - <value>/tmp/wayback/cdx-index/index.cdx.1</value> - <value>/tmp/wayback/cdx-index/index.cdx.2</value> - </list> - </property> - </bean> - - -<!-- - <property name="annotater"> - <bean class="org.archive.wayback.resourceindex.filters.OracleAnnotationFilter"> - <property name="oracleUrl" value="http://localhost:8180/oracle/" /> - <property name="who" value="annotation" /> - </bean> - </property> ---> - - -<!-- ResourceIndex templates --> - - <bean id="remoteindex" class="org.archive.wayback.resourceindex.RemoteResourceIndex" init-method="init"> - <property name="searchUrlBase" value="http://webdata010.us.archive.org:8080/wayback/xmlquery" /> - </bean> - - <bean id="localbdbindex" class="org.archive.wayback.resourceindex.LocalResourceIndex"> - <property name="source" ref="bdbsearchresultsource" /> - <property name="maxRecords" value="10000" /> - </bean> - <bean id="localcdxindex" class="org.archive.wayback.resourceindex.LocalResourceIndex"> - <property name="source" ref="cdxsearchresultsource" /> - <property name="maxRecords" value="10000" /> - </bean> - - <bean id="remotenutchindex" class="org.archive.wayback.resourceindex.NutchResourceIndex" init-method="init"> - <property name="searchUrlBase" value="http://webteam-ws.us.archive.org:8080/katrina/opensearch" /> - <property name="maxRecords" value="100" /> - </bean> - -<!-- ResourceStore templates --> - - <bean id="localstore" class="org.archive.wayback.resourcestore.LocalesourceStore"> - <property name="dataDir" value="/tmp/wayback/arcs/" /> - </bean> - - <bean id="remotestore" class="org.archive.wayback.resourcestore.Http11ResourceStore"> - <property name="urlPrefix" value="http://localhost:8080/arcproxy/" /> - </bean> - -<!-- WaybackCollection templates --> - - <bean id="localcollection" class="org.archive.wayback.webapp.WaybackCollection"> - <property name="index" ref="localbdbindex" /> - <property name="store" ref="localstore" /> - </bean> - -<!-- QueryUI templates --> - <bean id="standardquery" class="org.archive.wayback.query.Renderer"> - <property name="captureJsp" value="/jsp/HTMLResults.jsp" /> - </bean> - <bean id="calendarquery" class="org.archive.wayback.query.Renderer"> - <property name="captureJsp" value="/jsp/CalendarResults.jsp" /> - </bean> - -<!-- ArchivalURL ReplayUI templates --> - <bean id="archivalurlreplay" class="org.archive.wayback.archivalurl.ArchivalUrlReplayDispatcher"> - <property name="jsInserts"> - <list> - <value>http://localhost:8080/wm.js</value> - </list> - </property> - </bean> - <bean id="archivalurluriconverter" - class="org.archive.wayback.archivalurl.ArchivalUrlResultURIConverter"> - <property name="replayURIPrefix" value="http://localhost:8080/wayback/" /> - </bean> - <bean id="archivalurlparser" class="org.archive.wayback.archivalurl.ArchivalUrlRequestParser" init-method="init"> - <property name="maxRecords" value="1000" /> - </bean> - -<!-- Proxy ReplayUI templates --> - <bean id="proxyreplay" class="org.archive.wayback.proxy.ProxyReplayDispatcher"> - </bean> - <bean id="proxyuriconverter" class="org.archive.wayback.proxy.RedirectResultURIConverter"> - <property name="redirectURI" value="http://localhost:8090/jsp/Redirect.jsp" /> - </bean> - <bean id="proxyparser" class="org.archive.wayback.proxy.ProxyRequestParser" init-method="init"> - <property name="localhostNames"> - <list> - <value>foo.archive.org</value> - </list> - </property> - <property name="maxRecords" value="1000" /> - </bean> - -<!--IP-base authentication template --> - - <bean class="org.archive.wayback.authenticationcontrol.IPMatchesBooleanOperator"> - <property name="allowedRanges"> - <list> - <value>192.168.1.16/24</value> - </list> - </property> - </bean> - - -<!-- AccessPoint templates --> - - <bean name="8080:wayback" class="org.archive.wayback.webapp.AccessPoint"> - <property name="collection" ref="localcollection" /> - <property name="query" ref="standardquery" /> - <property name="replay" ref="archivalurlreplay" /> - <property name="parser" ref="archivalurlparser" /> - <property name="uriConverter" ref="archivalurluriconverter" /> - </bean> - - <bean name="8081" parent="8080:wayback"> - <property name="useServerName" value="true" /> - <property name="replay"> - <bean class="org.archive.wayback.domainprefix.DomainPrefixReplayDispatcher" /> - </property> - - <property name="parser"> - <bean class="org.archive.wayback.domainprefix.DomainPrefixCompositeRequestParser" - init-method="init"> - <property name="hostPort" value="localhost.archive.org:8081" /> - <property name="maxRecords" value="1000" /> - <property name="earliestTimestamp" value="1996" /> - </bean> - </property> - - <property name="uriConverter"> - <bean class="org.archive.wayback.domainprefix.DomainPrefixResultURIConverter"> - <property name="hostPort" value="localhost.archive.org:8081" /> - </bean> - </property> - </bean> -</beans> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |