Project

General

Profile

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