1
|
<?xml version="1.0"?>
|
2
|
|
3
|
<metadataConfig>
|
4
|
<group>
|
5
|
<index>1</index>
|
6
|
<name>Database</name>
|
7
|
<description>Database Configuration Values.</description>
|
8
|
</group>
|
9
|
<group>
|
10
|
<index>2</index>
|
11
|
<name>Server Configuration</name>
|
12
|
<description>Server Configuration Values.</description>
|
13
|
</group>
|
14
|
<group>
|
15
|
<index>3</index>
|
16
|
<name>Application Configuration</name>
|
17
|
<description>Application Configuration Values.</description>
|
18
|
</group>
|
19
|
<group>
|
20
|
<index>4</index>
|
21
|
<name>Data Manager Configuration</name>
|
22
|
<description>Data Manager Configuration Values.</description>
|
23
|
</group>
|
24
|
<group>
|
25
|
<index>5</index>
|
26
|
<name>Handler Plugin Configuration</name>
|
27
|
<description>Register Handler Plugin extensions</description>
|
28
|
</group>
|
29
|
|
30
|
<config>
|
31
|
<key>application.default-style</key>
|
32
|
<label>Default Skin Style</label>
|
33
|
<group>0</group>
|
34
|
<index>0</index>
|
35
|
<fieldType>hidden</fieldType>
|
36
|
<description>
|
37
|
Default skin type. Not shown on config page but we want it to backup.
|
38
|
</description>
|
39
|
<helpFile>properties.html#application.default-style</helpFile>
|
40
|
</config>
|
41
|
|
42
|
<config>
|
43
|
<key>database.user</key>
|
44
|
<label>Database Username</label>
|
45
|
<group>1</group>
|
46
|
<index>1</index>
|
47
|
<description>
|
48
|
Name of database user to own all tables.
|
49
|
</description>
|
50
|
<helpFile>properties.html#database.user</helpFile>
|
51
|
</config>
|
52
|
|
53
|
<config>
|
54
|
<key>database.password</key>
|
55
|
<label>Database Password</label>
|
56
|
<group>1</group>
|
57
|
<index>2</index>
|
58
|
<fieldType>password</fieldType>
|
59
|
<description>Password for database user.</description>
|
60
|
<helpFile>properties.html#database.password</helpFile>
|
61
|
</config>
|
62
|
|
63
|
<config>
|
64
|
<key>database.type</key>
|
65
|
<label>Database Type</label>
|
66
|
<group>1</group>
|
67
|
<index>3</index>
|
68
|
<fieldType>select</fieldType>
|
69
|
<option>
|
70
|
<name>PostgreSQL</name>
|
71
|
<value>postgres</value>
|
72
|
</option>
|
73
|
<option>
|
74
|
<name>Oracle</name>
|
75
|
<value>oracle</value>
|
76
|
</option>
|
77
|
<!-- option>
|
78
|
<name>SQL Server</name>
|
79
|
<value>sqlserver</value>
|
80
|
</option -->
|
81
|
<description>What kind of database is running.</description>
|
82
|
<helpFile>properties.html#database.type</helpFile>
|
83
|
</config>
|
84
|
|
85
|
<config>
|
86
|
<key>database.driver</key>
|
87
|
<label>Database Driver</label>
|
88
|
<group>1</group>
|
89
|
<index>4</index>
|
90
|
<fieldType>select</fieldType>
|
91
|
<option>
|
92
|
<name>org.postgresql.Driver</name>
|
93
|
<value>org.postgresql.Driver</value>
|
94
|
</option>
|
95
|
<option>
|
96
|
<name>oracle.jdbc.driver.OracleDriver</name>
|
97
|
<value>oracle.jdbc.driver.OracleDriver</value>
|
98
|
</option>
|
99
|
<!-- option>
|
100
|
<name>com.microsoft.jdbc.sqlserver.SQLServerDriver</name>
|
101
|
<value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
|
102
|
</option -->
|
103
|
<description>
|
104
|
Which driver is required. This should conform to your
|
105
|
database type.
|
106
|
</description>
|
107
|
<helpFile>properties.html#database.driver</helpFile>
|
108
|
</config>
|
109
|
|
110
|
<config>
|
111
|
<key>database.adapter</key>
|
112
|
<label>Database Adapter</label>
|
113
|
<group>1</group>
|
114
|
<index>5</index>
|
115
|
<fieldType>select</fieldType>
|
116
|
<option>
|
117
|
<name>edu.ucsb.nceas.dbadapter.PostgresqlAdapter</name>
|
118
|
<value>edu.ucsb.nceas.dbadapter.PostgresqlAdapter</value>
|
119
|
</option>
|
120
|
<option>
|
121
|
<name>edu.ucsb.nceas.dbadapter.OracleAdapter</name>
|
122
|
<value>edu.ucsb.nceas.dbadapter.OracleAdapter</value>
|
123
|
</option>
|
124
|
<!-- option>
|
125
|
<name>edu.ucsb.nceas.dbadapter.SqlserverAdapter</name>
|
126
|
<value>edu.ucsb.nceas.dbadapter.SqlserverAdapter</value>
|
127
|
</option -->
|
128
|
<description>
|
129
|
Which adapter is required. This should conform to your
|
130
|
database type.
|
131
|
</description>
|
132
|
<helpFile>properties.html#database.adapter</helpFile>
|
133
|
</config>
|
134
|
|
135
|
<config>
|
136
|
<key>database.connectionURI</key>
|
137
|
<label>JDBC Connection String</label>
|
138
|
<group>1</group>
|
139
|
<index>6</index>
|
140
|
<description>Database connection string.</description>
|
141
|
<helpFile>properties.html#database.connectionURI</helpFile>
|
142
|
</config>
|
143
|
|
144
|
<config>
|
145
|
<key>server.name</key>
|
146
|
<label>Server Name</label>
|
147
|
<group>2</group>
|
148
|
<index>1</index>
|
149
|
<description>
|
150
|
Name of the server where Metacat will be available.
|
151
|
</description>
|
152
|
<helpFile>properties.html#server.name</helpFile>
|
153
|
</config>
|
154
|
|
155
|
<config>
|
156
|
<key>server.httpPort</key>
|
157
|
<label>HTTP Port</label>
|
158
|
<group>2</group>
|
159
|
<index>2</index>
|
160
|
<description>
|
161
|
Non secure port where Metacat will be available.
|
162
|
</description>
|
163
|
<helpFile>properties.html#server.httpPort</helpFile>
|
164
|
</config>
|
165
|
|
166
|
<config>
|
167
|
<key>server.httpSSLPort</key>
|
168
|
<label>HTTP SSL Port</label>
|
169
|
<group>2</group>
|
170
|
<index>3</index>
|
171
|
<description>
|
172
|
Secure port where Metacat will be available.
|
173
|
</description>
|
174
|
<helpFile>properties.html#server.httpSSLPort</helpFile>
|
175
|
</config>
|
176
|
|
177
|
<config>
|
178
|
<key>application.deployDir</key>
|
179
|
<label>Deploy Location</label>
|
180
|
<group>2</group>
|
181
|
<index>4</index>
|
182
|
<description>
|
183
|
The directory where the application is deployed.
|
184
|
</description>
|
185
|
<helpFile>properties.html#application.deployDir</helpFile>
|
186
|
</config>
|
187
|
|
188
|
<config>
|
189
|
<key>auth.allowedSubmitters</key>
|
190
|
<label>Allowed Submitters</label>
|
191
|
<group>3</group>
|
192
|
<index>1</index>
|
193
|
<description>Allowed Submitters</description>
|
194
|
<helpFile>properties.html#auth.allowedSubmitters</helpFile>
|
195
|
</config>
|
196
|
|
197
|
<config>
|
198
|
<key>auth.deniedSubmitters</key>
|
199
|
<label>Denied Submitters</label>
|
200
|
<group>3</group>
|
201
|
<index>2</index>
|
202
|
<description>Denied Submitters</description>
|
203
|
<helpFile>properties.html#auth.deniedSubmitters</helpFile>
|
204
|
</config>
|
205
|
|
206
|
<config>
|
207
|
<key>application.context</key>
|
208
|
<label>Metacat Context</label>
|
209
|
<group>3</group>
|
210
|
<index>3</index>
|
211
|
<description>
|
212
|
Name of the context under which Metacat will run. This is
|
213
|
the directory in which the Metacat war file is deployed.
|
214
|
</description>
|
215
|
<helpFile>properties.html#application.context</helpFile>
|
216
|
</config>
|
217
|
|
218
|
<config>
|
219
|
<key>application.knbSiteURL</key>
|
220
|
<label>KNB Site URL</label>
|
221
|
<group>3</group>
|
222
|
<index>4</index>
|
223
|
<description>
|
224
|
Location of KNB website. Usually left as
|
225
|
http://knb.ecoinformatics.org
|
226
|
</description>
|
227
|
<helpFile>properties.html#application.knbSiteURL</helpFile>
|
228
|
</config>
|
229
|
|
230
|
<config>
|
231
|
<key>application.datafilepath</key>
|
232
|
<label>Data File Path</label>
|
233
|
<group>3</group>
|
234
|
<index>5</index>
|
235
|
<description>
|
236
|
Where to store data. This should be some location outside
|
237
|
the knb install direcories.
|
238
|
</description>
|
239
|
<helpFile>properties.html#application.datafilepath</helpFile>
|
240
|
</config>
|
241
|
|
242
|
<config>
|
243
|
<key>application.inlinedatafilepath</key>
|
244
|
<label>Inline Data File Path</label>
|
245
|
<group>3</group>
|
246
|
<index>6</index>
|
247
|
<description>
|
248
|
Where to store inline data. This should be some location
|
249
|
outside the knb install direcories.
|
250
|
</description>
|
251
|
<helpFile>properties.html#application.inlinedatafilepath</helpFile>
|
252
|
</config>
|
253
|
|
254
|
<config>
|
255
|
<key>application.documentfilepath</key>
|
256
|
<label>Document File Path</label>
|
257
|
<group>3</group>
|
258
|
<index>7</index>
|
259
|
<description>
|
260
|
Where to store metadata documents. This should be some location
|
261
|
outside the knb install direcories.
|
262
|
</description>
|
263
|
<helpFile>properties.html#application.documentfilepath</helpFile>
|
264
|
</config>
|
265
|
|
266
|
<config>
|
267
|
<key>application.tempDir</key>
|
268
|
<label>Temporary File Path</label>
|
269
|
<group>3</group>
|
270
|
<index>8</index>
|
271
|
<description>
|
272
|
Where to store temporary documents. This is primarily used by
|
273
|
the data registry code. <font color="red"> Note: this must be
|
274
|
set to a directory that is dedicated solely to temporary data,
|
275
|
since the contents may be deleted programatically.</font>
|
276
|
</description>
|
277
|
<helpFile>properties.html#application.tempDir</helpFile>
|
278
|
</config>
|
279
|
|
280
|
<config>
|
281
|
<key>replication.logdir</key>
|
282
|
<label>Replication Log Directory</label>
|
283
|
<group>3</group>
|
284
|
<index>9</index>
|
285
|
<description>
|
286
|
The directory where replication log should be located.
|
287
|
</description>
|
288
|
<helpFile>properties.html#replication.logdir</helpFile>
|
289
|
</config>
|
290
|
|
291
|
<!-- START Data Manager configuration -->
|
292
|
<config>
|
293
|
<key>datamanager.server</key>
|
294
|
<label>Database Server</label>
|
295
|
<group>4</group>
|
296
|
<index>1</index>
|
297
|
<description>
|
298
|
Host or IP of database server
|
299
|
</description>
|
300
|
<helpFile>properties.html#datamanager.server</helpFile>
|
301
|
</config>
|
302
|
|
303
|
<config>
|
304
|
<key>datamanager.database</key>
|
305
|
<label>Database Name</label>
|
306
|
<group>4</group>
|
307
|
<index>2</index>
|
308
|
<description>
|
309
|
Name of the data manager database
|
310
|
</description>
|
311
|
<helpFile>properties.html#datamanager.database</helpFile>
|
312
|
</config>
|
313
|
|
314
|
<config>
|
315
|
<key>datamanager.user</key>
|
316
|
<label>Database Username</label>
|
317
|
<group>4</group>
|
318
|
<index>3</index>
|
319
|
<description>
|
320
|
Name of database user to own all tables.
|
321
|
</description>
|
322
|
<helpFile>properties.html#datamanager.user</helpFile>
|
323
|
</config>
|
324
|
|
325
|
<config>
|
326
|
<key>datamanager.password</key>
|
327
|
<label>Database Password</label>
|
328
|
<group>4</group>
|
329
|
<index>4</index>
|
330
|
<fieldType>password</fieldType>
|
331
|
<description>Password for database user.</description>
|
332
|
<helpFile>properties.html#datamanager.password</helpFile>
|
333
|
</config>
|
334
|
<!-- END Data Manager configuration -->
|
335
|
|
336
|
<!-- handler plugin -->
|
337
|
<config>
|
338
|
<key>plugin.handlers</key>
|
339
|
<label>Plugin class name[s]</label>
|
340
|
<group>5</group>
|
341
|
<index>1</index>
|
342
|
<description>Comma-separated list of fully-qualified class names that implement MetacatHandlerPlugin interface</description>
|
343
|
<helpFile>properties.html#plugin.handlers</helpFile>
|
344
|
</config>
|
345
|
|
346
|
|
347
|
|
348
|
</metadataConfig>
|