Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
       xmlns:p="http://www.springframework.org/schema/p"
4
       xmlns:http="http://cxf.apache.org/transports/http/configuration"
5
       xmlns="http://www.springframework.org/schema/beans"
6
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
7

    
8

    
9
                                    http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd">
10

    
11
	<bean id="oaiCollectorPlugin" class="eu.dnetlib.data.collector.plugins.oai.OaiCollectorPlugin"
12
	      p:oaiIteratorFactory-ref="oaiIteratorFactory">
13
		<property name="protocolDescriptor">
14
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="OAI">
15
				<property name="params">
16
					<list>
17
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
18
						      p:name="format"/>
19
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
20
						      p:name="set" p:populateFunction-ref="listOaiSetsFunction" p:type="LIST" p:optional="true"/>
21
					</list>
22
				</property>
23
			</bean>
24
		</property>
25
	</bean>
26

    
27
	<bean id="oaiSetsCollectorPlugin" class="eu.dnetlib.data.collector.plugins.oaisets.OaiSetsCollectorPlugin"
28
	      p:oaiSetsIteratorFactory-ref="oaiSetsIteratorFactory">
29
		<property name="protocolDescriptor">
30
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="oai_sets"/>
31
		</property>
32
	</bean>
33

    
34
	<bean id="httpCollectorPlugin" class="eu.dnetlib.data.collector.plugins.HttpCollectorPlugin">
35
		<property name="protocolDescriptor">
36
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="http">
37
				<property name="params">
38
					<list>
39
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
40
						      p:name="splitOnElement"/>
41
					</list>
42
				</property>
43
			</bean>
44
		</property>
45
	</bean>
46

    
47
	<bean id="httpSimpleCollectorPlugin" class="eu.dnetlib.data.collector.plugins.HttpSimpleCollectorPlugin">
48
		<property name="protocolDescriptor">
49
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="httpSimple"/>
50
		</property>
51
	</bean>
52

    
53
	<bean id="fileCollectorPlugin" class="eu.dnetlib.data.collector.plugins.FileCollectorPlugin">
54
		<property name="protocolDescriptor">
55
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="file">
56
				<property name="params">
57
					<list>
58
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
59
						      p:name="splitOnElement"/>
60
					</list>
61
				</property>
62
			</bean>
63
		</property>
64
	</bean>
65

    
66
	<bean id="classpathCollectorPlugin" class="eu.dnetlib.data.collector.plugins.ClasspathCollectorPlugin">
67
		<property name="protocolDescriptor">
68
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="classpath">
69
				<property name="params">
70
					<list>
71
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
72
						      p:name="splitOnElement"/>
73
					</list>
74
				</property>
75
			</bean>
76
		</property>
77
	</bean>
78

    
79
	<bean id="csvFileCollectorPlugin" class="eu.dnetlib.data.collector.plugins.FileCSVCollectorPlugin">
80
		<property name="protocolDescriptor">
81
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="fileCSV">
82
				<property name="params">
83
					<list>
84
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
85
						      p:name="header"/>
86
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
87
						      p:name="separator"/>
88
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
89
						      p:name="identifier"/>
90
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
91
						      p:name="quote"/>
92
					</list>
93
				</property>
94
			</bean>
95
		</property>
96
	</bean>
97

    
98
	<bean id="httpCSVCollectorPlugin" class="eu.dnetlib.data.collector.plugins.HttpCSVCollectorPlugin">
99
		<property name="protocolDescriptor">
100
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="httpCSV">
101
				<property name="params">
102
					<list>
103
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
104
						      p:name="separator"/>
105
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
106
						      p:name="identifier"/>
107
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
108
						      p:name="quote"/>
109
					</list>
110
				</property>
111
			</bean>
112
		</property>
113
	</bean>
114

    
115
	<bean id="ftp2CollectorPlugin" class="eu.dnetlib.data.collector.plugins.ftp.FtpCollectorPlugin"
116
	      p:ftpIteratorFactory-ref="ftpIteratorFactory">
117
		<property name="protocolDescriptor">
118
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="ftp">
119
				<property name="params">
120
					<list>
121
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
122
						      p:name="username"/>
123
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
124
						      p:name="password"/>
125
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
126
						      p:name="recursive" p:type="BOOLEAN"/>
127
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
128
						      p:name="extensions" p:type="LIST"/>
129
					</list>
130
				</property>
131
			</bean>
132
		</property>
133
	</bean>
134

    
135
	<bean id="sftpCollectorPlugin" class="eu.dnetlib.data.collector.plugins.sftp.SftpCollectorPlugin"
136
	      p:sftpIteratorFactory-ref="sftpIteratorFactory">
137
		<property name="protocolDescriptor">
138
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="sftp">
139
				<property name="params">
140
					<list>
141
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
142
						      p:name="username"/>
143
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
144
						      p:name="password"/>
145
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
146
						      p:name="recursive" p:type="BOOLEAN"/>
147
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
148
						      p:name="extensions" p:type="LIST"/>
149
					</list>
150
				</property>
151
			</bean>
152
		</property>
153
	</bean>
154

    
155
	<bean id="sftpPubKeyCollectorPlugin" class="eu.dnetlib.data.collector.plugins.sftp.SftpPubKeyCollectorPlugin"
156
	      p:sftpIteratorFactory-ref="sftpIteratorFactory">
157
		<property name="protocolDescriptor">
158
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="sftpPubKeyAuthentication">
159
				<property name="params">
160
					<list>
161
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
162
						      p:name="username"/>
163
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
164
						      p:name="recursive" p:type="BOOLEAN"/>
165
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
166
						      p:name="extensions" p:type="LIST"/>
167
					</list>
168
				</property>
169
			</bean>
170
		</property>
171
	</bean>
172

    
173
	<bean id="filesystemCollectorPlugin" class="eu.dnetlib.data.collector.plugins.filesystem.FilesystemCollectorPlugin">
174
		<property name="protocolDescriptor">
175
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="filesystem">
176
				<property name="params">
177
					<list>
178
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
179
						      p:name="extensions" p:type="LIST"/>
180
					</list>
181
				</property>
182
			</bean>
183
		</property>
184
	</bean>
185

    
186

    
187
	<bean id="filesFromMetadataCollectorPlugin" class="eu.dnetlib.data.collector.plugins.filesfrommetadata.FilesFromMetadataCollectorPlugin">
188
		<property name="protocolDescriptor">
189
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="files_from_metadata">
190
				<property name="params">
191
					<list>
192
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
193
						      p:name="basePath" p:optional="false">
194
							<property name="populateFunction">
195
								<bean class="eu.dnetlib.data.collector.plugins.filesfrommetadata.PopulateFileDownloadBasePath"/>
196
							</property>
197
						</bean>
198
					</list>
199
				</property>
200
			</bean>
201
		</property>
202
	</bean>
203

    
204

    
205
	<bean id="filesFromMDStoreCollectorPlugin" class="eu.dnetlib.data.collector.plugins.filesfrommetadata.FilesFromMetadataCollectorPlugin">
206
		<property name="protocolDescriptor">
207
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="files_from_mdstore">
208
				<property name="params">
209
					<list>
210
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
211
						      p:name="basePath" p:optional="true">
212
							<property name="populateFunction">
213
								<bean class="eu.dnetlib.data.collector.plugins.filesfrommetadata.PopulateFileDownloadBasePath"/>
214
							</property>
215
						</bean>
216
					</list>
217
				</property>
218
			</bean>
219
		</property>
220
	</bean>
221

    
222

    
223
	<bean id="mongoImportPlugin" class="eu.dnetlib.data.collector.plugins.mongo.MongoDumpPlugin">
224
		<property name="protocolDescriptor">
225
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="mongoDump"/>
226

    
227

    
228
		</property>
229
	</bean>
230

    
231
	<bean id="targzCollectorPlugin" class="eu.dnetlib.data.collector.plugins.archive.targz.TarGzCollectorPlugin">
232
		<property name="protocolDescriptor">
233
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="targz"/>
234

    
235
		</property>
236
	</bean>
237

    
238
	<bean id="zipCollectorPlugin" class="eu.dnetlib.data.collector.plugins.archive.zip.ZipCollectorPlugin">
239
		<property name="protocolDescriptor">
240
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="zip"/>
241
		</property>
242
	</bean>
243

    
244
	<bean id="gzipFileCollectorPlugin" class="eu.dnetlib.data.collector.plugins.FileGZipCollectorPlugin">
245
		<property name="protocolDescriptor">
246
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="fileGzip">
247
				<property name="params">
248
					<list>
249
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
250
						      p:name="splitOnElement"/>
251
					</list>
252
				</property>
253
			</bean>
254
		</property>
255
	</bean>
256

    
257
	<bean id="httpListCollectorPlugin" class="eu.dnetlib.data.collector.plugins.httplist.HttpListCollectorPlugin">
258
		<property name="protocolDescriptor">
259
			<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="httpList">
260
				<property name="params">
261
					<list>
262
						<bean class="eu.dnetlib.rmi.data.ProtocolParameter"
263
						      p:name="listUrl"/>
264
					</list>
265
				</property>
266
			</bean>
267
		</property>
268
	</bean>
269
</beans>
(2-2/2)