1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
3
|
xmlns:p="http://www.springframework.org/schema/p"
|
4
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5
|
xmlns:context="http://www.springframework.org/schema/context"
|
6
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
7
|
http://www.springframework.org/schema/beans/spring-beans.xsd
|
8
|
http://www.springframework.org/schema/context
|
9
|
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
|
10
|
|
11
|
<import resource="application-context-eml-base.xml" />
|
12
|
<import resource="application-context-eml200.xml" />
|
13
|
<import resource="application-context-eml201.xml" />
|
14
|
<import resource="application-context-eml210.xml" />
|
15
|
<import resource="application-context-eml211.xml" />
|
16
|
|
17
|
<import resource="application-context-fgdc-base.xml" />
|
18
|
<import resource="application-context-fgdc-std-001-1998.xml" />
|
19
|
<import resource="application-context-fgdc-std-0011-1999.xml" />
|
20
|
<import resource="application-context-fgdc-std-0012-1999.xml" />
|
21
|
<import resource="application-context-fgdc-esri-csdg-80.xml" />
|
22
|
|
23
|
<import resource="application-context-dryad-base.xml" />
|
24
|
<import resource="application-context-dryad30.xml" />
|
25
|
<import resource="application-context-dryad31.xml" />
|
26
|
|
27
|
<import resource="application-context-resource-map.xml" />
|
28
|
<import resource="application-context-systemmeta200.xml" />
|
29
|
|
30
|
|
31
|
<import resource="application-context-oa.xml" />
|
32
|
<import resource="application-context-annotator.xml" />
|
33
|
|
34
|
<import resource="application-context-delete-subprocessors.xml" />
|
35
|
|
36
|
<import resource="application-context-dc-base.xml" />
|
37
|
<import resource="application-context-dcx.xml" />
|
38
|
|
39
|
<bean id="dateConverter" class="org.dataone.cn.indexer.convert.SolrDateConverter" />
|
40
|
<bean id="fgdcDateConverter" class="org.dataone.cn.indexer.convert.FgdcDateConverter"/>
|
41
|
<bean id="solrLatitudeConverter" class="org.dataone.cn.indexer.convert.SolrLatitudeConverter" />
|
42
|
<bean id="solrLongitudeConverter" class="org.dataone.cn.indexer.convert.SolrLongitudeConverter" />
|
43
|
<bean id="booleanPublicConverter" class="org.dataone.cn.indexer.convert.BooleanMatchConverter">
|
44
|
<constructor-arg value="public" />
|
45
|
</bean>
|
46
|
<bean id="formatIdToFormatTypeConverter" class="org.dataone.cn.indexer.convert.FormatIdToFormatTypeConverter" />
|
47
|
|
48
|
<bean id="geohashConverter_1" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
49
|
<property name="length" value="1"/>
|
50
|
</bean>
|
51
|
|
52
|
<bean id="geohashConverter_2" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
53
|
<property name="length" value="2"/>
|
54
|
</bean>
|
55
|
|
56
|
<bean id="geohashConverter_3" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
57
|
<property name="length" value="3"/>
|
58
|
</bean>
|
59
|
|
60
|
<bean id="geohashConverter_4" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
61
|
<property name="length" value="4"/>
|
62
|
</bean>
|
63
|
|
64
|
<bean id="geohashConverter_5" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
65
|
<property name="length" value="5"/>
|
66
|
</bean>
|
67
|
|
68
|
<bean id="geohashConverter_6" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
69
|
<property name="length" value="6"/>
|
70
|
</bean>
|
71
|
|
72
|
<bean id="geohashConverter_7" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
73
|
<property name="length" value="7"/>
|
74
|
</bean>
|
75
|
|
76
|
<bean id="geohashConverter_8" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
77
|
<property name="length" value="8"/>
|
78
|
</bean>
|
79
|
|
80
|
<bean id="geohashConverter_9" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
81
|
<property name="length" value="9"/>
|
82
|
</bean>
|
83
|
|
84
|
<bean id="solrIndexes" class="java.util.ArrayList" autowire="byName">
|
85
|
<constructor-arg>
|
86
|
<list>
|
87
|
<bean class="edu.ucsb.nceas.metacat.index.SolrIndex">
|
88
|
<constructor-arg name="xmlNamespaceConfig" ref="xmlNamespaceConfig" />
|
89
|
<constructor-arg name="sysmetaSolrFields" ref="xpath_system_metadata_200"/>
|
90
|
<!--<property name="solrBaseUri" value="${solr.base.uri}" />
|
91
|
<property name="httpService" ref="httpService" /> -->
|
92
|
<property name="subprocessors">
|
93
|
<list>
|
94
|
<ref bean="eml200Subprocessor" />
|
95
|
<ref bean="eml201Subprocessor" />
|
96
|
<ref bean="eml210Subprocessor" />
|
97
|
<ref bean="eml211Subprocessor" />
|
98
|
<ref bean="resourceMapSubprocessor" />
|
99
|
<ref bean="fgdcstd0011998Subprocessor" />
|
100
|
<ref bean="fgdcstd00111999Subprocessor" />
|
101
|
<ref bean="fgdcstd00121999Subprocessor" />
|
102
|
<ref bean="fgdcEsri80Subprocessor" />
|
103
|
<ref bean="dryad30Subprocessor" />
|
104
|
<ref bean="dryad31Subprocessor" />
|
105
|
<ref bean="rdfXmlSubprocessor" />
|
106
|
<ref bean="annotatorSubprocessor" />
|
107
|
<ref bean="dublinCoreExtendedSubprocessor" />
|
108
|
</list>
|
109
|
</property>
|
110
|
<property name="deleteSubprocessors">
|
111
|
<list>
|
112
|
<ref bean="annotationDeleteSubprocessor" />
|
113
|
</list>
|
114
|
</property>
|
115
|
</bean>
|
116
|
</list>
|
117
|
</constructor-arg>
|
118
|
</bean>
|
119
|
|
120
|
<bean id="xmlNamespaceConfig" class="org.dataone.cn.indexer.XMLNamespaceConfig">
|
121
|
<constructor-arg name="namespaceList">
|
122
|
<list>
|
123
|
|
124
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
125
|
<constructor-arg name="namespace"
|
126
|
value="http://ns.dataone.org/service/types/v2.0" />
|
127
|
<constructor-arg name="prefix" value="d200" />
|
128
|
</bean>
|
129
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
130
|
<constructor-arg name="namespace"
|
131
|
value="eml://ecoinformatics.org/eml-2.0.0" />
|
132
|
<constructor-arg name="prefix" value="eml200" />
|
133
|
</bean>
|
134
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
135
|
<constructor-arg name="namespace"
|
136
|
value="eml://ecoinformatics.org/eml-2.0.1" />
|
137
|
<constructor-arg name="prefix" value="eml201" />
|
138
|
</bean>
|
139
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
140
|
<constructor-arg name="namespace"
|
141
|
value="eml://ecoinformatics.org/eml-2.1.0" />
|
142
|
<constructor-arg name="prefix" value="eml210" />
|
143
|
</bean>
|
144
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
145
|
<constructor-arg name="namespace"
|
146
|
value="eml://ecoinformatics.org/eml-2.1.1" />
|
147
|
<constructor-arg name="prefix" value="eml211" />
|
148
|
</bean>
|
149
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
150
|
<constructor-arg name="prefix" value="cito" />
|
151
|
<constructor-arg name="namespace" value="http://purl.org/spar/cito/" />
|
152
|
</bean>
|
153
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
154
|
<constructor-arg name="prefix" value="dc" />
|
155
|
<constructor-arg name="namespace"
|
156
|
value="http://purl.org/dc/elements/1.1/" />
|
157
|
</bean>
|
158
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
159
|
<constructor-arg name="prefix" value="dcterms" />
|
160
|
<constructor-arg name="namespace" value="http://purl.org/dc/terms/" />
|
161
|
</bean>
|
162
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
163
|
<constructor-arg name="prefix" value="dwc" />
|
164
|
<constructor-arg name="namespace" value="http://rs.tdwg.org/dwc/terms/" />
|
165
|
</bean>
|
166
|
|
167
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
168
|
<constructor-arg name="prefix" value="foaf" />
|
169
|
<constructor-arg name="namespace" value="http://xmlns.com/foaf/0.1/" />
|
170
|
</bean>
|
171
|
|
172
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
173
|
<constructor-arg name="prefix" value="ore" />
|
174
|
<constructor-arg name="namespace" value="http://www.openarchives.org/ore/terms/" />
|
175
|
</bean>
|
176
|
|
177
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
178
|
<constructor-arg name="prefix" value="rdf" />
|
179
|
<constructor-arg name="namespace" value="http://www.w3.org/1999/02/22-rdf-syntax-ns#" />
|
180
|
</bean>
|
181
|
|
182
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
183
|
<constructor-arg name="prefix" value="rdfs1" />
|
184
|
<constructor-arg name="namespace" value="http://www.w3.org/2001/01/rdf-schema#" />
|
185
|
</bean>
|
186
|
|
187
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
188
|
<constructor-arg name="prefix" value="bibo" />
|
189
|
<constructor-arg name="namespace" value="http://purl.org/ontology/bibo/" />
|
190
|
</bean>
|
191
|
|
192
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
193
|
<constructor-arg name="prefix" value="dryad" />
|
194
|
<constructor-arg name="namespace" value="http://purl.org/dryad/terms/" />
|
195
|
</bean>
|
196
|
|
197
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
198
|
<constructor-arg name="prefix" value="xsi" />
|
199
|
<constructor-arg name="namespace" value="http://www.w3.org/2001/XMLSchema-instance" />
|
200
|
</bean>
|
201
|
|
202
|
</list>
|
203
|
</constructor-arg>
|
204
|
</bean>
|
205
|
|
206
|
</beans>
|