-
Notifications
You must be signed in to change notification settings - Fork 14
/
containerImporter.xml
325 lines (299 loc) · 14.9 KB
/
containerImporter.xml
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
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
<?xml version="1.0" encoding="utf-8"?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* OMERO.insight MASTER CONFIGURATION FILE
*
* This file specifies the configuration settings for the OMERO.insight runtime
* (the Container) and links the available UI components (the Agents) to it. The
* configuration entries are organized in the following groups:
*
* + Services: The runtime services provided by the Container.
* + Agents: The UI components that will be loaded at runtime.
* + Resources: Icons and fonts used by the widgets that are part of the
* Container.
* + Look and Feel: The L&F to use for the whole application.
*
*
* Note that the only entry that needs to be edited *before* launching
* OMERO.insight is the URL of the OMERO Data Server (OMERODS) in the Services
* group. All other entries can optionally be edited to tweak runtime behavior,
* but can in most cases be safely ignored.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<container>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* SERVICES
*
* The runtime services provided by the Container.All entries can
* optionally be edited to tweak runtime behavior.
*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<services>
<!-- OMERO Data Server (OMERO) configuration.
This entry specifies the hostName and the port to use to connect to
OMERO using blitz
-->
<structuredEntry name="/services/OMERODS" type="OMERODS">
<!-- The configurable attribute indicates that the user can modify the
value from the UI.
-->
<hostName configurable="true">localhost</hostName>
<port>4063</port>
<portSSL>4064</portSSL>
<!-- Indicates the data transfer is encrypted (slower).
The default value is false
-->
<encrypted configurable="true">false</encrypted>
</structuredEntry>
<!-- the value corresponding to the agent defined as the master
i.e. TreeViewerAgent = 0, ImporterAgent = 1
The default value is 0.-->
<entry name="/application/entryPoint" type="integer">2</entry>
<!-- the value corresponding to a given hierarchy
i.e. Project/Dataset = 0, HCS = 1, Tags = 2, Attachments = 3
The default value is 0.-->
<entry name="/application/entryPointHierarchy" type="integer">0</entry>
<!-- default fs directory -->
<entry name="/services/FS/defaultDirectory"></entry>
<!-- The maximum number of times that the Login Service should attempt
to restore a valid link to OMERO server in the background.
Non-positive values will be ignored and the internal default will
be used instead. -->
<entry name="/services/LOGIN/omeds/max-retry" type="integer">10</entry>
<!-- The interval, in milliseconds, between each attempt.
Non-positive values will be ignored and the internal default will
be used instead. -->
<entry name="/services/LOGIN/omeds/retry-interval"
type="integer">500</entry>
<!-- The interval, in milliseconds, between each attempt.
Non-positive values will be ignored and the internal default will
be used instead. -->
<entry name="/services/LOGIN/omeds/timeout" type="integer">120000</entry>
<!-- The interval, in milliseconds, between each time we check if the
network is up.
Non-positive values will be ignored and the internal default will
be used instead. -->
<entry name="/services/NETWORK/timeout" type="integer">300000</entry>
<!-- Name of the omero folder. -->
<entry name="/services/OMERO/home">omero</entry>
<!-- Name of the omero folder. -->
<entry name="/services/OMERO/files/home">filesOmero</entry>
<!-- Log Service configuration.
-->
<!-- Enables/disables the Log Service. -->
<entry name="/services/LOG/on" type="boolean">true</entry>
<!-- The directory where log files are kept. Path relative to the
installation directory. -->
<entry name="/services/LOG/dir">log</entry>
<!-- The name of the log file -->
<entry name="/services/LOG/file">omeroimporter.log</entry>
<!-- Indicate to print out the log in the console -->
<entry name="/services/LOG/output/console" type="boolean">false</entry>
<!-- Enables/disables the Caching Service. -->
<entry name="/services/CACHE/on" type="boolean">true</entry>
<!-- Maximum number of thumbnails retrieved asynchronously. -->
<entry name="/services/Thumbnailing/fetchSz" type="integer">50</entry>
<!-- Factor by which the maximum number of thumbnails to fetch
is multiplied by when the connection's speed is Low.
-->
<entry name="/services/Thumbnailing/fetchLowSpeed" type="double">0.25</entry>
<!-- Factor by which the maximum number of thumbnails to fetch
is multiplied by when the connection's speed is Medium.
-->
<entry name="/services/Thumbnailing/fetchMediumSpeed" type="double">0.5</entry>
<!-- Rendering Engine configuration.
NOTE: All the following entries for the Rendering Engine will
be removed as soon as we move the engine to the server.
-->
<!-- Maximum size, in Mb, of the image cache in the Rendering Engine.
This is a per-image cache which stores planes that have already
been rendered and are still valid with respect to the current
rendering settings. Because the Rendering Engine can only process
one image at a time, the value you specify here will equal the
maximum amount of memory that will be used for caching rendered
images at any given time. If set to 0 or a negative value, then
no caching will be done (this dramatically reduces responsiveness
though). -->
<entry name="/services/RE/cacheSz" type="integer">100</entry>
<!-- Maximum number of planes that will be pre-fetched and rendered
asynchronously in addition to the plane that has been currently
requested. If set to a positive value n, then separate threads
will be spawned to render (at most) n planes that are likely to
be requested after the current plane. If 0 or negative, then no
asynchronous rendering will take place.
Having asynchronous rendering on usually increses performance and
responsiveness. However, take into account that too a high value
can be counterproductive (what is "high" depends on your platform
and deployment settings). -->
<entry name="/services/RE/maxPreFetch" type="integer">0</entry>
<!-- How many Mb should be allocated to the Rendering Engine to cache
pixels stacks. If the size of an image stack exceeds this value
then the stack won't be cached. This will increase the time it
takes to render planes within that image stack and will result
in an error if 3D rendering is attempted; 3D rendering requires
the stack to be in memory. -->
<entry name="/services/RE/stackBufSz" type="integer">100</entry>
<!-- How many Kb should be fetched at a time when retrieving a stack.
Experimental, affects performance and responsiveness.
Don't modify this unless you know what you're doing. -->
<entry name="/services/RE/stackBlockSz" type="integer">4096</entry>
<entry name="/services/RE/compressionMedium" type="float">0.85</entry>
<entry name="/services/RE/compressionLow" type="float">0.50</entry>
<!-- Debugger configuration.
This entry specifies the name of the server and
and e-mail address to submit comment.
-->
<entry name="/services/DEBUGGER/hostnameToken">http://qa.openmicroscopy.org.uk/qa/initial/</entry>
<entry name="/services/DEBUGGER/hostnameProcessing">http://qa.openmicroscopy.org.uk/qa/upload_processing/</entry>
<entry name="/services/DEBUGGER/applicationNameBug">2</entry>
<entry name="/services/DEBUGGER/applicationNameComment">1</entry>
<entry name="/services/DEBUGGER/postTimeout" type="integer">2000</entry>
<entry name="/services/DEBUGGER/emailAddress">qa@openmicroscopy.org.uk</entry>
<!-- mde on/off -->
<entry name="omero.client.import.mde.enabled" type="boolean">true</entry>
<!-- mde config file location (. for in config dir; omero for local user omero dir) -->
<entry name="omero.client.import.mde.path">omero</entry>
<!-- escape ice special characters, see https://doc.zeroc.com/ice/3.6/properties-and-configuration/configuration-file-syntax -->
<entry name="omero.client.login_escape_characters">#=\s\\</entry>
</services>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* AGENTS
*
* The UI components that will be loaded at runtime.
* This section is mainly used by developers to make their Agents available
* to a Shoola instance. System administrator may decide to remove some of
* the Agents in exceptional cases. (This is easily done by deleting an
* agent tag altogether.)
*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<agents>
<structuredEntry name="/agents" type="agents">
<!-- NOTE FOR DEVELOPERS
Add an agent tag for each of your Agents.
The name tag specifies the human-readable name of the Agent.
The active tag specified if the agent is turn on or off.
Set to true to turn the agent on, false otherwise.
The number tag identifies a possible master.
The class tag specifies the FQN of the Agent class.
The config tag specifies the name of the Agent's configuration file
within the config directory.
-->
<agent>
<name>ImViewer</name>
<active>true</active>
<class>org.openmicroscopy.shoola.agents.imviewer.ImViewerAgent</class>
<config>imviewer.xml</config>
</agent>
<agent>
<name>Tree Manager</name>
<number>0</number>
<active>false</active>
<class>org.openmicroscopy.shoola.agents.treeviewer.TreeViewerAgent</class>
<config>treeviewer.xml</config>
</agent>
<agent>
<name>Measurement Tool</name>
<active>true</active>
<class>org.openmicroscopy.shoola.agents.measurement.MeasurementAgent</class>
<config>measurement.xml</config>
</agent>
<agent>
<name>Metadata Browser</name>
<active>true</active>
<class>org.openmicroscopy.shoola.agents.metadata.MetadataViewerAgent</class>
<config>metadataViewer.xml</config>
</agent>
<agent>
<name>Data Browser</name>
<active>false</active>
<class>org.openmicroscopy.shoola.agents.dataBrowser.DataBrowserAgent</class>
<config>dataBrowser.xml</config>
</agent>
<agent>
<name>Importer</name>
<number>2</number>
<active>true</active>
<class>org.openmicroscopy.shoola.agents.fsimporter.ImporterAgent</class>
<config>importer.xml</config>
</agent>
</structuredEntry>
</agents>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* RESOURCES
*
* Icons and fonts used by the widgets that are part of the Container.
* The iconFactories shouldn't be edited by system administrators, they're
* only useful to developers. The fonts family, size, and style can instead
* be tweaked if needed.
*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<resources>
<iconFactories>
<!-- NOTE FOR DEVELOPERS
This type of entry can be used in agents' configuration files too.
It is turned into an instance of:
org.openmicroscopy.shoola.env.config.IconFactory
This object can then be used to retrieve any image file within
the directory pointed by the location tag.
-->
<structuredEntry name="/resources/icons/DefaultFactory" type="icons">
<!-- The location tag specifies the FQN of the package that contains
the icon files. -->
<location>images.env.ui</location>
</structuredEntry>
</iconFactories>
<fonts>
<!-- NOTE FOR DEVELOPERS
This type of entry can be used in agents' configuration files too.
It is turned into an instance of java.awt.Font.
-->
<structuredEntry name="/resources/fonts/Titles" type="font">
<family>SansSerif</family>
<size>12</size>
<style>bold</style>
</structuredEntry>
</fonts>
</resources>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* LOOK & FEEL
*
* The L&F to use for the whole application.
*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<!-- This entry specifies what Look and Feel to use for the whole application.
The default value is system (case insensitive). This will result in the
system's look and feel being loaded - the Mac L&F on Mac OS platforms,
the Windows L&F on Microsoft Windows platforms, etc. Alternatively, you
can specify the following:
javax.swing.plaf.metal.MetalLookAndFeel: the Java look and feel.
If you want to use a custom L&F then you can just drop the L&F jar file
into the lib directory and then specify here the fully-qualified name
(FQN) of the L&F class to use - this name can usually be found in the
documents accompanying the L&F.
-->
<entry name="LookAndFeel">system</entry>
<!-- Flag to use the CheckThreadViolationRepaintManager for debugging Swing thread issues -->
<entry name="DebugRepaintManager" type="boolean">false</entry>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Information related to the version of the software, name of the software,
* etc.
* <entry name="SplashScreenLogo">client_splashscreen.png</entry>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<entry name="SoftwareName">OMERO.importer</entry>
<entry name="AboutFile">about.xml</entry>
<entry name="HelpOnLine">https://help.openmicroscopy.org/</entry>
<entry name="Forum">https://forum.image.sc/tag/omero-insight</entry>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Information indicating if the binary data are available. This should only
* be set to false when testing DB upgrade for example.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<entry name="/services/SERVER/BinaryAvailable" type="boolean">true</entry>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Information indicating to display data per group not per owner.
* 0: indicate to display the group's data.
* 1: indicate to display the user's data. Default value
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<entry name="DataDisplay" type="integer">1</entry>
</container>