source: vlo/trunk/vlo_webapp/src/test/resources/applicationContext.xml @ 1953

Last change on this file since 1953 was 1953, checked in by herste, 12 years ago

prevent spring issues in the future

  • Property svn:executable set to *
File size: 2.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2        <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3                xmlns:context="http://www.springframework.org/schema/context"
4                xsi:schemaLocation="http://www.springframework.org/schema/beans classpath:/org/springframework/beans/factory/xml/spring-beans-2.5.xsd
5                                   http://www.springframework.org/schema/context classpath:/org/springframework/context/config/spring-context-2.5.xsd">
6    <!--
7                        Property placeholder that allows init parameters defined in servlet context to be used as property values
8                (in this case admin users list)
9                    -->
10    <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
11        <property name="location" value="classpath:application.properties" />
12    </bean>
13
14    <bean id="configuration" class="eu.clarin.cmdi.vlo.Configuration" factory-method="getInstance">
15        <property name="solrUrl" value="${eu.clarin.cmdi.vlo.solrUrl}" />
16        <!--<property name="solrUrl" value="http://localhost:8080/vlo_solr" />-->
17        <!--    <property name="solrUrl" value="http://lux16.mpi.nl:8080/vlo_solr" />-->
18        <!--    <property name="solrUrl" value="http://catalog.clarin.eu:8080/vlo_solr" />-->
19        <property name="importerConfigFile" value="${eu.clarin.cmdi.vlo.importerConfigFile}" />
20        <property name="nationalProjectMapping" value="${eu.clarin.cmdi.vlo.nationalProjectMapping}" />
21        <property name="componentRegistryRESTURL" value="${eu.clarin.cmdi.vlo.componentRegistryRESTURL}" />
22
23
24        <property name="IMDIBrowserUrl" value="http://corpus1.mpi.nl/ds/imdi_browser?openpath=" />
25        <property name="handleServerUrl" value="http://hdl.handle.net/" />
26        <property name="facetFields">
27            <!-- The possible values of facets are defined in the schema.xml of the solr_server installation.
28            If you want to add a facet you need to adjust this schema.xml and reindex the data.
29            -->
30            <list> <!-- List of facets to be shown as columns, the order specified is kept in the application -->
31                <value>collection</value>
32                <value>language</value>
33                <value>continent</value>
34                <value>genre</value>
35                <value>country</value>
36                <value>subject</value>
37                <value>organisation</value>
38                <value>resourceType</value>
39                <value>dataProvider</value>
40                <value>nationalProject</value>
41                <!--        <value>year</value>-->
42            </list>
43        </property>
44    </bean>
45
46</beans>
Note: See TracBrowser for help on using the repository browser.