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
	<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 4103 daigle
			<value>postgres</value>
47 4080 daigle
		</option>
48
		<option>
49
			<name>Oracle</name>
50 4103 daigle
			<value>oracle</value>
51 4080 daigle
		</option>
52
		<option>
53
			<name>SQL Server</name>
54 4103 daigle
			<value>sqlserver</value>
55 4080 daigle
		</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 4103 daigle
			<value>org.postgresql.Driver</value>
68 4080 daigle
		</option>
69
		<option>
70
			<name>oracle.jdbc.driver.OracleDriver</name>
71 4103 daigle
			<value>oracle.jdbc.driver.OracleDriver</value>
72 4080 daigle
		</option>
73
		<option>
74
			<name>com.microsoft.jdbc.sqlserver.SQLServerDriver</name>
75 4103 daigle
			<value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
76 4080 daigle
		</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 4103 daigle
			<value>edu.ucsb.nceas.dbadapter.PostgresqlAdapter</value>
92 4080 daigle
		</option>
93
		<option>
94
			<name>edu.ucsb.nceas.dbadapter.OracleAdapter</name>
95 4103 daigle
			<value>edu.ucsb.nceas.dbadapter.OracleAdapter</value>
96 4080 daigle
		</option>
97
		<option>
98
			<name>edu.ucsb.nceas.dbadapter.SqlserverAdapter</name>
99 4103 daigle
			<value>edu.ucsb.nceas.dbadapter.SqlserverAdapter</value>
100 4080 daigle
		</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>3</group>
150
		<index>1</index>
151
		<description>
152
			The directory where Tomcat is deployed.
153
		</description>
154
	</config>
155
156
	<config>
157
		<key>application.context</key>
158
		<label>Metacat Context</label>
159
		<group>3</group>
160
		<index>2</index>
161
		<description>
162
			Name of the context under which Metacat will run. This is
163
			the directory in which the Metacat war file is deployed.
164
		</description>
165
	</config>
166
167
	<config>
168
		<key>application.default-style</key>
169
		<label>Application Style</label>
170
		<group>3</group>
171
		<index>3</index>
172
		<description>
173
			Custom display style for Metacat. Use default if there is no
174
			custom style.
175
		</description>
176
	</config>
177
178
	<config>
179
		<key>application.knbSiteURL</key>
180
		<label>KNB Site URL</label>
181
		<group>3</group>
182
		<index>4</index>
183
		<description>
184
			Location of KNB website. Usually left as
185
			http://knb.ecoinformatics.org
186
		</description>
187
	</config>
188
189
	<config>
190
		<key>application.datafilepath</key>
191
		<label>Data File Path</label>
192
		<group>3</group>
193
		<index>5</index>
194
		<description>
195
			Where to store data. This should be some location outside
196
			the knb install direcories.
197
		</description>
198
	</config>
199
200
	<config>
201
		<key>application.inlinedatafilepath</key>
202
		<label>Inline Data File Path</label>
203
		<group>3</group>
204
		<index>6</index>
205
		<description>
206
			Where to store inline data. This should be some location
207
			outside the knb install direcories.
208
		</description>
209
	</config>
210
211
	<!--
212
		<config>
213
		<key>application.cgiDir</key>
214
		<label>Relative CGI Directory</label>
215
		<group>Application Configuration</group>
216
		<index>7</index>
217
		<description>Relative path to the CGI bin directory.  For instance /cgi-bin.</description>
218
		</config>
219
220
		<config>
221
		<key>application.eml-version</key>
222
		<label>EML Version</label>
223
		<group>Application Configuration</group>
224
		<index>8</index>
225
		<description>Which version of EML is in use.</description>
226
		</config>
227
	-->
228
229
</metadataConfig>