Project

General

Profile

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
<!-- TODO MCD remove sqlserver options -->
40
	<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
			<value>postgres</value>
48
		</option>
49
		<option>
50
			<name>Oracle</name>
51
			<value>oracle</value>
52
		</option>
53
		<option>
54
			<name>SQL Server</name>
55
			<value>sqlserver</value>
56
		</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
			<value>org.postgresql.Driver</value>
69
		</option>
70
		<option>
71
			<name>oracle.jdbc.driver.OracleDriver</name>
72
			<value>oracle.jdbc.driver.OracleDriver</value>
73
		</option>
74
		<option>
75
			<name>com.microsoft.jdbc.sqlserver.SQLServerDriver</name>
76
			<value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
77
		</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
			<value>edu.ucsb.nceas.dbadapter.PostgresqlAdapter</value>
93
		</option>
94
		<option>
95
			<name>edu.ucsb.nceas.dbadapter.OracleAdapter</name>
96
			<value>edu.ucsb.nceas.dbadapter.OracleAdapter</value>
97
		</option>
98
		<option>
99
			<name>edu.ucsb.nceas.dbadapter.SqlserverAdapter</name>
100
			<value>edu.ucsb.nceas.dbadapter.SqlserverAdapter</value>
101
		</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
		<helpFile>properties.html#server.name</helpFile>
126
	</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
		<helpFile>properties.html#server.httpPort</helpFile>
137
	</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
		<helpFile>properties.html#server.httpSSLPort</helpFile>
148
	</config>
149
	
150
	<config>
151
		<key>application.deployDir</key>
152
		<label>Deploy Location</label>
153
		<group>2</group>
154
		<index>4</index>
155
		<description>
156
			The directory where the application is deployed.
157
		</description>
158
		<helpFile>properties.html#application.deployDir</helpFile>
159
	</config>
160
	
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
		<helpFile>properties.html#ldap.allowedSubmitters</helpFile>
168
	</config>
169

    
170
	<config>
171
		<key>ldap.deniedSubmitters</key>
172
		<label>Denied Submitters</label>
173
		<group>3</group>
174
		<index>2</index>
175
		<description>Denied Submitters</description>
176
		<helpFile>properties.html#ldap.deniedSubmitters</helpFile>
177
	</config>
178

    
179
	<config>
180
		<key>application.context</key>
181
		<label>Metacat Context</label>
182
		<group>3</group>
183
		<index>3</index>
184
		<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
		<helpFile>properties.html#application.context</helpFile>
189
	</config>
190

    
191
	<config>
192
		<key>application.default-style</key>
193
		<label>Application Style</label>
194
		<group>3</group>
195
		<index>4</index>
196
		<description>
197
			Custom display style for Metacat. Use default if there is no
198
			custom style.
199
		</description>
200
		<helpFile>properties.html#application.default-style</helpFile>
201
	</config>
202

    
203
	<config>
204
		<key>application.knbSiteURL</key>
205
		<label>KNB Site URL</label>
206
		<group>3</group>
207
		<index>5</index>
208
		<description>
209
			Location of KNB website. Usually left as
210
			http://knb.ecoinformatics.org
211
		</description>
212
		<helpFile>properties.html#application.knbSiteURL</helpFile>
213
	</config>
214

    
215
	<config>
216
		<key>application.datafilepath</key>
217
		<label>Data File Path</label>
218
		<group>3</group>
219
		<index>6</index>
220
		<description>
221
			Where to store data. This should be some location outside
222
			the knb install direcories.
223
		</description>
224
		<helpFile>properties.html#application.datafilepath</helpFile>
225
	</config>
226

    
227
	<config>
228
		<key>application.inlinedatafilepath</key>
229
		<label>Inline Data File Path</label>
230
		<group>3</group>
231
		<index>7</index>
232
		<description>
233
			Where to store inline data. This should be some location
234
			outside the knb install direcories.
235
		</description>
236
		<helpFile>properties.html#application.inlinedatafilepath</helpFile>
237
	</config>
238
	
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

    
249
</metadataConfig>
(15-15/26)