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
|
</config>
|
29
|
|
30
|
<config>
|
31
|
<key>database.password</key>
|
32
|
<label>Database Password</label>
|
33
|
<group>1</group>
|
34
|
<fieldType>password</fieldType>
|
35
|
<index>2</index>
|
36
|
<description>Password for database user.</description>
|
37
|
</config>
|
38
|
|
39
|
<config>
|
40
|
<key>database.type</key>
|
41
|
<label>Database Type</label>
|
42
|
<group>1</group>
|
43
|
<fieldType>select</fieldType>
|
44
|
<option>
|
45
|
<name>PostgreSQL</name>
|
46
|
<value>postgres</value>
|
47
|
</option>
|
48
|
<option>
|
49
|
<name>Oracle</name>
|
50
|
<value>oracle</value>
|
51
|
</option>
|
52
|
<option>
|
53
|
<name>SQL Server</name>
|
54
|
<value>sqlserver</value>
|
55
|
</option>
|
56
|
<index>3</index>
|
57
|
<description>What kind of database is running.</description>
|
58
|
</config>
|
59
|
|
60
|
<config>
|
61
|
<key>database.driver</key>
|
62
|
<label>Database Driver</label>
|
63
|
<group>1</group>
|
64
|
<fieldType>select</fieldType>
|
65
|
<option>
|
66
|
<name>org.postgresql.Driver</name>
|
67
|
<value>org.postgresql.Driver</value>
|
68
|
</option>
|
69
|
<option>
|
70
|
<name>oracle.jdbc.driver.OracleDriver</name>
|
71
|
<value>oracle.jdbc.driver.OracleDriver</value>
|
72
|
</option>
|
73
|
<option>
|
74
|
<name>com.microsoft.jdbc.sqlserver.SQLServerDriver</name>
|
75
|
<value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
|
76
|
</option>
|
77
|
<index>4</index>
|
78
|
<description>
|
79
|
Which driver is required. This should conform to your
|
80
|
database type.
|
81
|
</description>
|
82
|
</config>
|
83
|
|
84
|
<config>
|
85
|
<key>database.adapter</key>
|
86
|
<label>Database Adapter</label>
|
87
|
<group>1</group>
|
88
|
<fieldType>select</fieldType>
|
89
|
<option>
|
90
|
<name>edu.ucsb.nceas.dbadapter.PostgresqlAdapter</name>
|
91
|
<value>edu.ucsb.nceas.dbadapter.PostgresqlAdapter</value>
|
92
|
</option>
|
93
|
<option>
|
94
|
<name>edu.ucsb.nceas.dbadapter.OracleAdapter</name>
|
95
|
<value>edu.ucsb.nceas.dbadapter.OracleAdapter</value>
|
96
|
</option>
|
97
|
<option>
|
98
|
<name>edu.ucsb.nceas.dbadapter.SqlserverAdapter</name>
|
99
|
<value>edu.ucsb.nceas.dbadapter.SqlserverAdapter</value>
|
100
|
</option>
|
101
|
<index>5</index>
|
102
|
<description>
|
103
|
Which adapter is required. This should conform to your
|
104
|
database type.
|
105
|
</description>
|
106
|
</config>
|
107
|
|
108
|
<config>
|
109
|
<key>database.connectionURI</key>
|
110
|
<label>JDBC Connection String</label>
|
111
|
<group>1</group>
|
112
|
<index>6</index>
|
113
|
<description>Database connection string.</description>
|
114
|
</config>
|
115
|
|
116
|
<config>
|
117
|
<key>server.name</key>
|
118
|
<label>Server Name</label>
|
119
|
<group>2</group>
|
120
|
<index>1</index>
|
121
|
<description>
|
122
|
Name of the server where Metacat will be available.
|
123
|
</description>
|
124
|
</config>
|
125
|
|
126
|
<config>
|
127
|
<key>server.httpPort</key>
|
128
|
<label>HTTP Port</label>
|
129
|
<group>2</group>
|
130
|
<index>2</index>
|
131
|
<description>
|
132
|
Non secure port where Metacat will be available.
|
133
|
</description>
|
134
|
</config>
|
135
|
|
136
|
<config>
|
137
|
<key>server.httpSSLPort</key>
|
138
|
<label>HTTP SSL Port</label>
|
139
|
<group>2</group>
|
140
|
<index>3</index>
|
141
|
<description>
|
142
|
Secure port where Metacat will be available.
|
143
|
</description>
|
144
|
</config>
|
145
|
|
146
|
<config>
|
147
|
<key>application.tomcatDir</key>
|
148
|
<label>Tomcat Location</label>
|
149
|
<group>2</group>
|
150
|
<index>4</index>
|
151
|
<description>
|
152
|
The directory where Tomcat is installed.
|
153
|
</description>
|
154
|
</config>
|
155
|
|
156
|
<config>
|
157
|
<key>application.deployDir</key>
|
158
|
<label>Deploy Location</label>
|
159
|
<group>2</group>
|
160
|
<index>5</index>
|
161
|
<description>
|
162
|
The directory where the application is deployed.
|
163
|
</description>
|
164
|
</config>
|
165
|
|
166
|
<config>
|
167
|
<key>ldap.allowedSubmitters</key>
|
168
|
<label>Allowed Submitters</label>
|
169
|
<group>3</group>
|
170
|
<index>1</index>
|
171
|
<description>Allowed Submitters</description>
|
172
|
<helpFile>properties.html#ldap.allowed</helpFile>
|
173
|
</config>
|
174
|
|
175
|
<config>
|
176
|
<key>ldap.deniedSubmitters</key>
|
177
|
<label>Denied Submitters</label>
|
178
|
<group>3</group>
|
179
|
<index>2</index>
|
180
|
<description>Denied Submitters</description>
|
181
|
<helpFile>properties.html#ldap.denied</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
|
</config>
|
194
|
|
195
|
<config>
|
196
|
<key>application.default-style</key>
|
197
|
<label>Application Style</label>
|
198
|
<group>3</group>
|
199
|
<index>4</index>
|
200
|
<description>
|
201
|
Custom display style for Metacat. Use default if there is no
|
202
|
custom style.
|
203
|
</description>
|
204
|
</config>
|
205
|
|
206
|
<config>
|
207
|
<key>application.knbSiteURL</key>
|
208
|
<label>KNB Site URL</label>
|
209
|
<group>3</group>
|
210
|
<index>5</index>
|
211
|
<description>
|
212
|
Location of KNB website. Usually left as
|
213
|
http://knb.ecoinformatics.org
|
214
|
</description>
|
215
|
</config>
|
216
|
|
217
|
<config>
|
218
|
<key>application.datafilepath</key>
|
219
|
<label>Data File Path</label>
|
220
|
<group>3</group>
|
221
|
<index>6</index>
|
222
|
<description>
|
223
|
Where to store data. This should be some location outside
|
224
|
the knb install direcories.
|
225
|
</description>
|
226
|
</config>
|
227
|
|
228
|
<config>
|
229
|
<key>application.inlinedatafilepath</key>
|
230
|
<label>Inline Data File Path</label>
|
231
|
<group>3</group>
|
232
|
<index>7</index>
|
233
|
<description>
|
234
|
Where to store inline data. This should be some location
|
235
|
outside the knb install direcories.
|
236
|
</description>
|
237
|
</config>
|
238
|
|
239
|
</metadataConfig>
|