-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuserInputSpec.xml
More file actions
257 lines (215 loc) · 9.29 KB
/
userInputSpec.xml
File metadata and controls
257 lines (215 loc) · 9.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<userInput>
<panel order="0" id="userinputpanel.oracle">
<createForPack name="WSP"/>
<field type="title" txt="Database Connection Configuration" bold="true" size="1"/>
<field type="staticText" align="left"
txt="Specify the connection parameters to connect to the Oracle Database"/>
<field type="divider" align="top"/>
<field type="text" variable="database.username">
<spec txt="Username:" size="15" set=""/>
<validator class="com.izforge.izpack.util.NotEmptyValidator"
txt="Must specifiy a username."/>
</field>
<field type="password" align="left" variable="database.password">
<spec>
<pwd txt="Password:" size="15" set=""/>
<pwd txt="Retype password:" size="15" set=""/>
</spec>
<validator class="com.izforge.izpack.util.PasswordEqualityValidator"
txt="Passwords must match."/>
</field>
<field type="text" variable="database.host">
<spec txt="host:" size="30" set=""/>
<validator class="com.izforge.izpack.util.NotEmptyValidator"
txt="Must specifiy a hostname."/>
</field>
<field type="text" variable="database.sid">
<spec txt="SID:" size="15" set="witsml"/>
<validator class="com.izforge.izpack.util.NotEmptyValidator" txt="Must specifiy a SID."
/>
</field>
<field type="text" variable="database.port">
<spec txt="Port:" size="5" set="1521"/>
<validator class="com.izforge.izpack.util.RegularExpressionValidator"
txt="Invalid port number">
<param name="pattern" value="[0-9]{1,5}"/>
</validator>
</field>
</panel>
<panel order="1" id="userinputpanel.jetty">
<createForPack name="WSP"/>
<field type="title" txt="HTTP Server configuration" bold="true" size="1"/>
<field type="staticText" align="left"
txt="Configure HTTP/HTTPS server"/>
<field type="divider" align="top"/>
<field type="text" variable="jetty.host">
<description align="left" txt="To bind WSP web server to a specific address, provide a domain name or IP address or else leave 0.0.0.0"/>
<spec txt="Address:" size="30" set="0.0.0.0"/>
<validator class="com.izforge.izpack.util.NotEmptyValidator"
txt="Must specifiy an address."/>
</field>
<field type="space"/>
<field type="staticText" align="left"
txt="The WSP ports to use for unsecure and secure SSL connections"/>
<field type="text" variable="jetty.port" >
<spec txt="Port:" size="5" set="80"/>
<validator class="com.izforge.izpack.util.PortValidator"
txt="Port is in use">
</validator>
<validator class="com.izforge.izpack.util.RegularExpressionValidator"
txt="Invalid port number">
<param name="pattern" value="[0-9]{1,5}"/>
</validator>
</field>
<field type="text" variable="jetty.ssl.port">
<spec txt="SSL Port:" size="5" set="443"/>
<validator class="com.izforge.izpack.util.PortValidator"
txt="SSL Port is in use">
</validator>
<validator class="com.izforge.izpack.util.RegularExpressionValidator"
txt="Invalid SSL port number">
<param name="pattern" value="[0-9]{1,5}"/>
</validator>
</field>
<field type="space"/>
<field type="check" variable="jetty.check.keystorepanel">
<description align="left" txt="Check to follow up with keystore configuration, leave unchecked to use default keystore"/>
<spec txt="Configure own keystore" true="true" false="false" set="false"/>
</field>
</panel>
<panel order="2" id="userinputpanel.jetty.keystore">
<createForPack name="WSP"/>
<field type="title" txt="Web server keystore setup" bold="true" size="1"/>
<field type="staticText" align="left"
txt="Configure Keystore"/>
<field type="divider" align="top"/>
<field type="staticText" align="left" txt="Existing file or URL of the SSL Key store, leave unchanged to use default"/>
<field type="file" align="left" variable="jetty.ssl.keystore">
<spec txt="" size="25"/>
<validator class="com.izforge.izpack.util.NotEmptyValidator"
txt="Must specifiy a kestore."/>
</field>
<field type="space"/>
<field type="staticText" align="left" txt="Existing SSL keystore password, leave unchanged to use default"/>
<field type="password" align="left" variable="jetty.ssl.keystore.password">
<spec>
<pwd txt="Password:" size="15"/>
<pwd txt="Retype password:" size="15" />
</spec>
<validator class="com.izforge.izpack.util.PasswordEqualityValidator"
txt="Passwords must match."/>
</field>
</panel>
<panel order="3" id="userinputpanel.jvm">
<createForPack name="WSP"/>
<field type="title" txt="JVM Configuration" bold="true" size="1"/>
<field type="staticText" align="left"
txt="JVM Configuration"/>
<field type="divider" align="top"/>
<field type="staticText" align="left" txt="Specify heap memory used by WSP."/>
<!--
<field type="text" variable="jvm.xms">
<spec txt="-Xms (in MB)" size="5" set="1024"/>
<validator class="com.izforge.izpack.util.RegularExpressionValidator"
txt="Invalid -Xms number, must be between 100 and 9999">
<param name="pattern" value="[0-9]{3,4}"/>
</validator>
</field>
-->
<field type="text" variable="jvm.xmx">
<spec txt="Heap memory (in MB)" size="5" set="1024"/>
<validator class="com.izforge.izpack.util.RegularExpressionValidator"
txt="Invalid -Xmx number, must be between 100 and 9999">
<param name="pattern" value="[0-9]{3,4}"/>
</validator>
</field>
</panel>
<panel order="4" id="userinputpanel.tanuki">
<createForPack name="WSP"/>
<field type="title" txt="Service wrapper setup" bold="true" size="1"/>
<field type="staticText" align="left"
txt="Tanuki license file location"/>
<field type="divider" align="top"/>
<field type="staticText" align="left" txt="Existing file or URL of tanuki license file"/>
<field type="file" align="left" variable="tanuki.wrapper.license">
<spec txt="" size="25"/>
<validator class="com.izforge.izpack.util.NotEmptyValidator"
txt="Must specifiy a license."/>
</field>
</panel>
<panel order="5" id="userinputpanel.witsrelay">
<createForPack name="WitsRelay"/>
<field type="title" txt="WistRelay configuration" bold="true" size="1"/>
<field type="staticText" align="left"
txt="Configure WitsRelay"/>
<field type="divider" align="top"/>
<field type="text" variable="witsrelay.listen.port">
<spec txt="Listen port:" size="5" set="9487"/>
<validator class="com.izforge.izpack.util.PortValidator"
txt="SSL Port is in use">
</validator>
<validator class="com.izforge.izpack.util.RegularExpressionValidator"
txt="Invalid SSL port number">
<param name="pattern" value="[0-9]{1,5}"/>
</validator>
</field>
<field type="radio" variable="witsrelay.listen.protocol">
<description align="left" txt="Protocol may be tcp or udp; default is tcp:"/>
<spec>
<choice txt="UDP" value="udp" />
<choice txt="TCP" value="tcp" set="true" />
</spec>
</field>
<field type="space"/>
<field type="text" variable="witsrelay.repository.url">
<description align="left" txt="WSP Repository Url (todo: if installed with WSP - it should be localhost/or bound host address)"/>
<spec txt="WSP Repository Url:" size="30" set="localhost"/>
<validator class="com.izforge.izpack.util.NotEmptyValidator"
txt="Must specify a repository url."/>
</field>
<field type="space"/>
<field type="staticText" align="left" txt="Username and Password for connecting to WSP repository"/>
<field type="text" variable="witsrelay.repository.user">
<spec txt="Username:" size="15"/>
<validator class="com.izforge.izpack.util.NotEmptyValidator"
txt="Must specifiy a repository username."/>
</field>
<field type="password" align="left" variable="witsrelay.repository.passwd">
<spec>
<pwd txt="Password:" size="15"/>
<pwd txt="Retype password:" size="15" />
</spec>
<validator class="com.izforge.izpack.util.PasswordEqualityValidator"
txt="Passwords must match."/>
<validator class="com.izforge.izpack.util.NotEmptyValidator"
txt="Must specify a password for connecting to WSP repository."/>
</field>
<field type="space"/>
<field type="check" variable="witsrelay.metric.units">
<description align="left" txt="Check if WITS data is metric?"/>
<spec txt="is metric?" true="true" false="false" set="true"/>
</field>
<field type="text" variable="witsrelay.service.company">
<spec txt="Company name:" size="30"/>
<validator class="com.izforge.izpack.util.NotEmptyValidator"
txt="Must specifiy a Service Company name."/>
</field>
<field type="space"/>
<field type="text" variable="witsrelay.null.value">
<description align="left" txt="Specify missing value indicator"/>
<spec txt="Null value:" size="15" set="-9999.0"/>
<validator class="com.izforge.izpack.util.NotEmptyValidator"
txt="Must specifiy a null value indicator"/>
</field>
<field type="space"/>
<field type="staticText" align="left" txt="If present present, the wellUid and wellboreUid will override. Leaving fields empty will not override uid well and uid wellbore"/>
<!-- ${witsrelay.enable.uidwell.overide} -->
<field type="text" variable="witsrelay.uidwell.override">
<spec txt="Well uid:" size="30" />
</field>
<!-- ${witsrelay.enable.uidwellbore.overide} -->
<field type="text" variable="witsrelay.uidwellbore.override">
<spec txt="Wellbore uid:" size="30"/>
</field>
</panel>
</userInput>