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
|
|
20
|
<config>
|
21
|
<key>database.user</key>
|
22
|
<label>Database Username</label>
|
23
|
<group>1</group>
|
24
|
<index>1</index>
|
25
|
<description>
|
26
|
Name of database user to own all tables.
|
27
|
</description>
|
28
|
<helpFile>properties.html#database.user</helpFile>
|
29
|
</config>
|
30
|
|
31
|
<config>
|
32
|
<key>database.password</key>
|
33
|
<label>Database Password</label>
|
34
|
<group>1</group>
|
35
|
<index>2</index>
|
36
|
<fieldType>password</fieldType>
|
37
|
<description>Password for database user.</description>
|
38
|
<helpFile>properties.html#database.password</helpFile>
|
39
|
</config>
|
40
|
|
41
|
<config>
|
42
|
<key>database.type</key>
|
43
|
<label>Database Type</label>
|
44
|
<group>1</group>
|
45
|
<index>3</index>
|
46
|
<fieldType>select</fieldType>
|
47
|
<option>
|
48
|
<name>PostgreSQL</name>
|
49
|
<value>postgres</value>
|
50
|
</option>
|
51
|
<option>
|
52
|
<name>Oracle</name>
|
53
|
<value>oracle</value>
|
54
|
</option>
|
55
|
<!-- option>
|
56
|
<name>SQL Server</name>
|
57
|
<value>sqlserver</value>
|
58
|
</option -->
|
59
|
<description>What kind of database is running.</description>
|
60
|
<helpFile>properties.html#database.type</helpFile>
|
61
|
</config>
|
62
|
|
63
|
<config>
|
64
|
<key>database.driver</key>
|
65
|
<label>Database Driver</label>
|
66
|
<group>1</group>
|
67
|
<index>4</index>
|
68
|
<fieldType>select</fieldType>
|
69
|
<option>
|
70
|
<name>org.postgresql.Driver</name>
|
71
|
<value>org.postgresql.Driver</value>
|
72
|
</option>
|
73
|
<option>
|
74
|
<name>oracle.jdbc.driver.OracleDriver</name>
|
75
|
<value>oracle.jdbc.driver.OracleDriver</value>
|
76
|
</option>
|
77
|
<!-- option>
|
78
|
<name>com.microsoft.jdbc.sqlserver.SQLServerDriver</name>
|
79
|
<value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
|
80
|
</option -->
|
81
|
<description>
|
82
|
Which driver is required. This should conform to your
|
83
|
database type.
|
84
|
</description>
|
85
|
<helpFile>properties.html#database.driver</helpFile>
|
86
|
</config>
|
87
|
|
88
|
<config>
|
89
|
<key>database.adapter</key>
|
90
|
<label>Database Adapter</label>
|
91
|
<group>1</group>
|
92
|
<index>5</index>
|
93
|
<fieldType>select</fieldType>
|
94
|
<option>
|
95
|
<name>edu.ucsb.nceas.dbadapter.PostgresqlAdapter</name>
|
96
|
<value>edu.ucsb.nceas.dbadapter.PostgresqlAdapter</value>
|
97
|
</option>
|
98
|
<option>
|
99
|
<name>edu.ucsb.nceas.dbadapter.OracleAdapter</name>
|
100
|
<value>edu.ucsb.nceas.dbadapter.OracleAdapter</value>
|
101
|
</option>
|
102
|
<!-- option>
|
103
|
<name>edu.ucsb.nceas.dbadapter.SqlserverAdapter</name>
|
104
|
<value>edu.ucsb.nceas.dbadapter.SqlserverAdapter</value>
|
105
|
</option -->
|
106
|
<description>
|
107
|
Which adapter is required. This should conform to your
|
108
|
database type.
|
109
|
</description>
|
110
|
<helpFile>properties.html#database.adapter</helpFile>
|
111
|
</config>
|
112
|
|
113
|
<config>
|
114
|
<key>database.connectionURI</key>
|
115
|
<label>JDBC Connection String</label>
|
116
|
<group>1</group>
|
117
|
<index>6</index>
|
118
|
<description>Database connection string.</description>
|
119
|
<helpFile>properties.html#database.connectionURI</helpFile>
|
120
|
</config>
|
121
|
|
122
|
<config>
|
123
|
<key>server.name</key>
|
124
|
<label>Server Name</label>
|
125
|
<group>2</group>
|
126
|
<index>1</index>
|
127
|
<description>
|
128
|
Name of the server where Metacat will be available.
|
129
|
</description>
|
130
|
<helpFile>properties.html#server.name</helpFile>
|
131
|
</config>
|
132
|
|
133
|
<config>
|
134
|
<key>server.httpPort</key>
|
135
|
<label>HTTP Port</label>
|
136
|
<group>2</group>
|
137
|
<index>2</index>
|
138
|
<description>
|
139
|
Non secure port where Metacat will be available.
|
140
|
</description>
|
141
|
<helpFile>properties.html#server.httpPort</helpFile>
|
142
|
</config>
|
143
|
|
144
|
<config>
|
145
|
<key>server.httpSSLPort</key>
|
146
|
<label>HTTP SSL Port</label>
|
147
|
<group>2</group>
|
148
|
<index>3</index>
|
149
|
<description>
|
150
|
Secure port where Metacat will be available.
|
151
|
</description>
|
152
|
<helpFile>properties.html#server.httpSSLPort</helpFile>
|
153
|
</config>
|
154
|
|
155
|
<config>
|
156
|
<key>application.deployDir</key>
|
157
|
<label>Deploy Location</label>
|
158
|
<group>2</group>
|
159
|
<index>4</index>
|
160
|
<description>
|
161
|
The directory where the application is deployed.
|
162
|
</description>
|
163
|
<helpFile>properties.html#application.deployDir</helpFile>
|
164
|
</config>
|
165
|
|
166
|
<config>
|
167
|
<key>auth.allowedSubmitters</key>
|
168
|
<label>Allowed Submitters</label>
|
169
|
<group>3</group>
|
170
|
<index>1</index>
|
171
|
<description>Allowed Submitters</description>
|
172
|
<helpFile>properties.html#auth.allowedSubmitters</helpFile>
|
173
|
</config>
|
174
|
|
175
|
<config>
|
176
|
<key>auth.deniedSubmitters</key>
|
177
|
<label>Denied Submitters</label>
|
178
|
<group>3</group>
|
179
|
<index>2</index>
|
180
|
<description>Denied Submitters</description>
|
181
|
<helpFile>properties.html#auth.deniedSubmitters</helpFile>
|
182
|
</config>
|
183
|
|
184
|
<config>
|
185
|
<key>application.context</key>
|
186
|
<label>Metacat Context</label>
|
187
|
<group>3</group>
|
188
|
<index>3</index>
|
189
|
<description>
|
190
|
Name of the context under which Metacat will run. This is
|
191
|
the directory in which the Metacat war file is deployed.
|
192
|
</description>
|
193
|
<helpFile>properties.html#application.context</helpFile>
|
194
|
</config>
|
195
|
|
196
|
<config>
|
197
|
<key>application.knbSiteURL</key>
|
198
|
<label>KNB Site URL</label>
|
199
|
<group>3</group>
|
200
|
<index>4</index>
|
201
|
<description>
|
202
|
Location of KNB website. Usually left as
|
203
|
http://knb.ecoinformatics.org
|
204
|
</description>
|
205
|
<helpFile>properties.html#application.knbSiteURL</helpFile>
|
206
|
</config>
|
207
|
|
208
|
<config>
|
209
|
<key>application.datafilepath</key>
|
210
|
<label>Data File Path</label>
|
211
|
<group>3</group>
|
212
|
<index>5</index>
|
213
|
<description>
|
214
|
Where to store data. This should be some location outside
|
215
|
the knb install direcories.
|
216
|
</description>
|
217
|
<helpFile>properties.html#application.datafilepath</helpFile>
|
218
|
</config>
|
219
|
|
220
|
<config>
|
221
|
<key>application.inlinedatafilepath</key>
|
222
|
<label>Inline Data File Path</label>
|
223
|
<group>3</group>
|
224
|
<index>6</index>
|
225
|
<description>
|
226
|
Where to store inline data. This should be some location
|
227
|
outside the knb install direcories.
|
228
|
</description>
|
229
|
<helpFile>properties.html#application.inlinedatafilepath</helpFile>
|
230
|
</config>
|
231
|
|
232
|
<config>
|
233
|
<key>application.documentfilepath</key>
|
234
|
<label>Document File Path</label>
|
235
|
<group>3</group>
|
236
|
<index>7</index>
|
237
|
<description>
|
238
|
Where to store metadata documents. This should be some location
|
239
|
outside the knb install direcories.
|
240
|
</description>
|
241
|
<helpFile>properties.html#application.documentfilepath</helpFile>
|
242
|
</config>
|
243
|
|
244
|
<config>
|
245
|
<key>application.tempDir</key>
|
246
|
<label>Temporary File Path</label>
|
247
|
<group>3</group>
|
248
|
<index>8</index>
|
249
|
<description>
|
250
|
Where to store temporary documents. This is primarily used by
|
251
|
the data registry code. <font color="red"> Note: this must be
|
252
|
set to a directory that is dedicated solely to temporary data,
|
253
|
since the contents may be deleted programatically.</font>
|
254
|
</description>
|
255
|
<helpFile>properties.html#application.tempDir</helpFile>
|
256
|
</config>
|
257
|
|
258
|
<config>
|
259
|
<key>replication.logdir</key>
|
260
|
<label>Replication Log Directory</label>
|
261
|
<group>3</group>
|
262
|
<index>9</index>
|
263
|
<description>
|
264
|
The directory where replication log should be located.
|
265
|
</description>
|
266
|
<helpFile>properties.html#replication.logdir</helpFile>
|
267
|
</config>
|
268
|
|
269
|
</metadataConfig>
|