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
|
<import resource="application-context-annotator.xml" />
|
31
|
|
32
|
<import resource="application-context-delete-subprocessors.xml" />
|
33
|
|
34
|
<import resource="application-context-dc-base.xml" />
|
35
|
<import resource="application-context-dcx.xml" />
|
36
|
|
37
|
<import resource="application-context-isotc211-base.xml" />
|
38
|
<import resource="application-context-isotc211.xml" />
|
39
|
<import resource="application-context-isotc211-noaa.xml" />
|
40
|
<import resource="application-context-isotc211-pangaea.xml" />
|
41
|
|
42
|
<import resource="application-context-prov-base.xml" />
|
43
|
<import resource="application-context-provone20150115.xml" />
|
44
|
|
45
|
<import resource="application-context-mdq.xml" />
|
46
|
|
47
|
|
48
|
<bean id="serviceTypesConverter" class="org.dataone.cn.indexer.convert.MemberNodeServiceRegistrationTypeConverter" />
|
49
|
<bean id="dateConverter" class="org.dataone.cn.indexer.convert.SolrDateConverter" />
|
50
|
<bean id="fgdcDateConverter" class="org.dataone.cn.indexer.convert.FgdcDateConverter"/>
|
51
|
<bean id="solrLatitudeConverter" class="org.dataone.cn.indexer.convert.SolrLatitudeConverter" />
|
52
|
<bean id="solrLongitudeConverter" class="org.dataone.cn.indexer.convert.SolrLongitudeConverter" />
|
53
|
<bean id="booleanPublicConverter" class="org.dataone.cn.indexer.convert.BooleanMatchConverter">
|
54
|
<constructor-arg value="public" />
|
55
|
</bean>
|
56
|
<bean id="formatIdToFormatTypeConverter" class="org.dataone.cn.indexer.convert.FormatIdToFormatTypeConverter" />
|
57
|
|
58
|
<bean id="geohashConverter_1" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
59
|
<property name="length" value="1"/>
|
60
|
</bean>
|
61
|
|
62
|
<bean id="geohashConverter_2" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
63
|
<property name="length" value="2"/>
|
64
|
</bean>
|
65
|
|
66
|
<bean id="geohashConverter_3" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
67
|
<property name="length" value="3"/>
|
68
|
</bean>
|
69
|
|
70
|
<bean id="geohashConverter_4" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
71
|
<property name="length" value="4"/>
|
72
|
</bean>
|
73
|
|
74
|
<bean id="geohashConverter_5" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
75
|
<property name="length" value="5"/>
|
76
|
</bean>
|
77
|
|
78
|
<bean id="geohashConverter_6" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
79
|
<property name="length" value="6"/>
|
80
|
</bean>
|
81
|
|
82
|
<bean id="geohashConverter_7" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
83
|
<property name="length" value="7"/>
|
84
|
</bean>
|
85
|
|
86
|
<bean id="geohashConverter_8" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
87
|
<property name="length" value="8"/>
|
88
|
</bean>
|
89
|
|
90
|
<bean id="geohashConverter_9" class="org.dataone.cn.indexer.convert.GeohashConverter">
|
91
|
<property name="length" value="9"/>
|
92
|
</bean>
|
93
|
|
94
|
<bean id="solrIndexes" class="java.util.ArrayList" autowire="byName">
|
95
|
<constructor-arg>
|
96
|
<list>
|
97
|
<bean class="edu.ucsb.nceas.metacat.index.SolrIndex">
|
98
|
<constructor-arg name="xmlNamespaceConfig" ref="xmlNamespaceConfig" />
|
99
|
<constructor-arg name="sysmetaSolrFields" ref="xpath_system_metadata_200"/>
|
100
|
<!--<property name="solrBaseUri" value="${solr.base.uri}" />
|
101
|
<property name="httpService" ref="httpService" /> -->
|
102
|
<property name="subprocessors">
|
103
|
<list>
|
104
|
<ref bean="eml200Subprocessor" />
|
105
|
<ref bean="eml201Subprocessor" />
|
106
|
<ref bean="eml210Subprocessor" />
|
107
|
<ref bean="eml211Subprocessor" />
|
108
|
<ref bean="resourceMapSubprocessor" />
|
109
|
<ref bean="fgdcstd0011998Subprocessor" />
|
110
|
<ref bean="fgdcstd00111999Subprocessor" />
|
111
|
<ref bean="fgdcstd00121999Subprocessor" />
|
112
|
<ref bean="fgdcEsri80Subprocessor" />
|
113
|
<ref bean="dryad30Subprocessor" />
|
114
|
<ref bean="dryad31Subprocessor" />
|
115
|
<ref bean="prov20150115RdfXmlSubprocessor" />
|
116
|
<ref bean="annotatorSubprocessor" />
|
117
|
<ref bean="dublinCoreExtendedSubprocessor" />
|
118
|
<ref bean="isotc211Subprocessor" />
|
119
|
<ref bean="isotc211NoaaSubprocessor" />
|
120
|
<ref bean="isotc211PangaeaSubprocessor" />
|
121
|
<ref bean="mdqSubprocessor" />
|
122
|
</list>
|
123
|
</property>
|
124
|
<property name="deleteSubprocessors">
|
125
|
<list>
|
126
|
<ref bean="annotationDeleteSubprocessor" />
|
127
|
</list>
|
128
|
</property>
|
129
|
</bean>
|
130
|
</list>
|
131
|
</constructor-arg>
|
132
|
</bean>
|
133
|
|
134
|
<bean id="xmlNamespaceConfig" class="org.dataone.cn.indexer.XMLNamespaceConfig">
|
135
|
<constructor-arg name="namespaceList">
|
136
|
<list>
|
137
|
|
138
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
139
|
<constructor-arg name="namespace"
|
140
|
value="http://ns.dataone.org/service/types/v2.0" />
|
141
|
<constructor-arg name="prefix" value="d200" />
|
142
|
</bean>
|
143
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
144
|
<constructor-arg name="namespace"
|
145
|
value="eml://ecoinformatics.org/eml-2.0.0" />
|
146
|
<constructor-arg name="prefix" value="eml200" />
|
147
|
</bean>
|
148
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
149
|
<constructor-arg name="namespace"
|
150
|
value="eml://ecoinformatics.org/eml-2.0.1" />
|
151
|
<constructor-arg name="prefix" value="eml201" />
|
152
|
</bean>
|
153
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
154
|
<constructor-arg name="namespace"
|
155
|
value="eml://ecoinformatics.org/eml-2.1.0" />
|
156
|
<constructor-arg name="prefix" value="eml210" />
|
157
|
</bean>
|
158
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
159
|
<constructor-arg name="namespace"
|
160
|
value="eml://ecoinformatics.org/eml-2.1.1" />
|
161
|
<constructor-arg name="prefix" value="eml211" />
|
162
|
</bean>
|
163
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
164
|
<constructor-arg name="prefix" value="cito" />
|
165
|
<constructor-arg name="namespace" value="http://purl.org/spar/cito/" />
|
166
|
</bean>
|
167
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
168
|
<constructor-arg name="prefix" value="dc" />
|
169
|
<constructor-arg name="namespace"
|
170
|
value="http://purl.org/dc/elements/1.1/" />
|
171
|
</bean>
|
172
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
173
|
<constructor-arg name="prefix" value="dcterms" />
|
174
|
<constructor-arg name="namespace" value="http://purl.org/dc/terms/" />
|
175
|
</bean>
|
176
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
177
|
<constructor-arg name="prefix" value="dwc" />
|
178
|
<constructor-arg name="namespace" value="http://rs.tdwg.org/dwc/terms/" />
|
179
|
</bean>
|
180
|
|
181
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
182
|
<constructor-arg name="prefix" value="foaf" />
|
183
|
<constructor-arg name="namespace" value="http://xmlns.com/foaf/0.1/" />
|
184
|
</bean>
|
185
|
|
186
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
187
|
<constructor-arg name="prefix" value="ore" />
|
188
|
<constructor-arg name="namespace" value="http://www.openarchives.org/ore/terms/" />
|
189
|
</bean>
|
190
|
|
191
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
192
|
<constructor-arg name="prefix" value="rdf" />
|
193
|
<constructor-arg name="namespace" value="http://www.w3.org/1999/02/22-rdf-syntax-ns#" />
|
194
|
</bean>
|
195
|
|
196
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
197
|
<constructor-arg name="prefix" value="rdfs1" />
|
198
|
<constructor-arg name="namespace" value="http://www.w3.org/2001/01/rdf-schema#" />
|
199
|
</bean>
|
200
|
|
201
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
202
|
<constructor-arg name="prefix" value="bibo" />
|
203
|
<constructor-arg name="namespace" value="http://purl.org/ontology/bibo/" />
|
204
|
</bean>
|
205
|
|
206
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
207
|
<constructor-arg name="prefix" value="dryad" />
|
208
|
<constructor-arg name="namespace" value="http://purl.org/dryad/terms/" />
|
209
|
</bean>
|
210
|
|
211
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
212
|
<constructor-arg name="prefix" value="xsi" />
|
213
|
<constructor-arg name="namespace" value="http://www.w3.org/2001/XMLSchema-instance" />
|
214
|
</bean>
|
215
|
|
216
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
217
|
<constructor-arg name="prefix" value="gmd" />
|
218
|
<constructor-arg name="namespace" value="http://www.isotc211.org/2005/gmd" />
|
219
|
</bean>
|
220
|
|
221
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
222
|
<constructor-arg name="prefix" value="gco" />
|
223
|
<constructor-arg name="namespace" value="http://www.isotc211.org/2005/gco" />
|
224
|
</bean>
|
225
|
|
226
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
227
|
<constructor-arg name="prefix" value="gmx" />
|
228
|
<constructor-arg name="namespace" value="http://www.isotc211.org/2005/gmx" />
|
229
|
</bean>
|
230
|
|
231
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
232
|
<constructor-arg name="prefix" value="gml" />
|
233
|
<constructor-arg name="namespace" value="http://www.opengis.net/gml/3.2" />
|
234
|
</bean>
|
235
|
|
236
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
237
|
<constructor-arg name="prefix" value="srv" />
|
238
|
<constructor-arg name="namespace" value="http://www.isotc211.org/2005/srv" />
|
239
|
</bean>
|
240
|
|
241
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
242
|
<constructor-arg name="prefix" value="xlink" />
|
243
|
<constructor-arg name="namespace" value="http://www.w3.org/1999/xlink" />
|
244
|
</bean>
|
245
|
|
246
|
</list>
|
247
|
</constructor-arg>
|
248
|
</bean>
|
249
|
|
250
|
</beans>
|