Mercurial > hg > orthanc
comparison OrthancServer/Resources/Configuration.json @ 4044:d25f4c0fa160 framework
splitting code into OrthancFramework and OrthancServer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 10 Jun 2020 20:30:34 +0200 |
parents | Resources/Configuration.json@d86bddb50972 |
children | 8f0de3998a59 |
comparison
equal
deleted
inserted
replaced
4043:6c6239aec462 | 4044:d25f4c0fa160 |
---|---|
1 { | |
2 /** | |
3 * General configuration of Orthanc | |
4 **/ | |
5 | |
6 // The logical name of this instance of Orthanc. This one is | |
7 // displayed in Orthanc Explorer and at the URI "/system". | |
8 "Name" : "MyOrthanc", | |
9 | |
10 // Path to the directory that holds the heavyweight files (i.e. the | |
11 // raw DICOM instances). Backslashes must be either escaped by | |
12 // doubling them, or replaced by forward slashes "/". | |
13 "StorageDirectory" : "OrthancStorage", | |
14 | |
15 // Path to the directory that holds the SQLite index (if unset, the | |
16 // value of StorageDirectory is used). This index could be stored on | |
17 // a RAM-drive or a SSD device for performance reasons. | |
18 "IndexDirectory" : "OrthancStorage", | |
19 | |
20 // Path to the directory where Orthanc stores its large temporary | |
21 // files. The content of this folder can be safely deleted if | |
22 // Orthanc once stopped. The folder must exist. The corresponding | |
23 // filesystem must be properly sized, given that for instance a ZIP | |
24 // archive of DICOM images created by a job can weight several GBs, | |
25 // and that there might be up to "min(JobsHistorySize, | |
26 // MediaArchiveSize)" archives to be stored simultaneously. If not | |
27 // set, Orthanc will use the default temporary folder of the | |
28 // operating system (such as "/tmp/" on UNIX-like systems, or | |
29 // "C:/Temp" on Microsoft Windows). | |
30 // "TemporaryDirectory" : "/tmp/Orthanc/", | |
31 | |
32 // Enable the transparent compression of the DICOM instances | |
33 "StorageCompression" : false, | |
34 | |
35 // Maximum size of the storage in MB (a value of "0" indicates no | |
36 // limit on the storage size) | |
37 "MaximumStorageSize" : 0, | |
38 | |
39 // Maximum number of patients that can be stored at a given time | |
40 // in the storage (a value of "0" indicates no limit on the number | |
41 // of patients) | |
42 "MaximumPatientCount" : 0, | |
43 | |
44 // List of paths to the custom Lua scripts that are to be loaded | |
45 // into this instance of Orthanc | |
46 "LuaScripts" : [ | |
47 ], | |
48 | |
49 // List of paths to the plugins that are to be loaded into this | |
50 // instance of Orthanc (e.g. "./libPluginTest.so" for Linux, or | |
51 // "./PluginTest.dll" for Windows). These paths can refer to | |
52 // folders, in which case they will be scanned non-recursively to | |
53 // find shared libraries. Backslashes must be either escaped by | |
54 // doubling them, or replaced by forward slashes "/". | |
55 "Plugins" : [ | |
56 ], | |
57 | |
58 // Maximum number of processing jobs that are simultaneously running | |
59 // at any given time. A value of "0" indicates to use all the | |
60 // available CPU logical cores. To emulate Orthanc <= 1.3.2, set | |
61 // this value to "1". | |
62 "ConcurrentJobs" : 2, | |
63 | |
64 | |
65 /** | |
66 * Configuration of the HTTP server | |
67 **/ | |
68 | |
69 // Enable the HTTP server. If this parameter is set to "false", | |
70 // Orthanc acts as a pure DICOM server. The REST API and Orthanc | |
71 // Explorer will not be available. | |
72 "HttpServerEnabled" : true, | |
73 | |
74 // HTTP port for the REST services and for the GUI | |
75 "HttpPort" : 8042, | |
76 | |
77 // When the following option is "true", if an error is encountered | |
78 // while calling the REST API, a JSON message describing the error | |
79 // is put in the HTTP answer. This feature can be disabled if the | |
80 // HTTP client does not properly handles such answers. | |
81 "HttpDescribeErrors" : true, | |
82 | |
83 // Enable HTTP compression to improve network bandwidth utilization, | |
84 // at the expense of more computations on the server. Orthanc | |
85 // supports the "gzip" and "deflate" HTTP encodings. | |
86 "HttpCompressionEnabled" : true, | |
87 | |
88 | |
89 | |
90 /** | |
91 * Configuration of the DICOM server | |
92 **/ | |
93 | |
94 // Enable the DICOM server. If this parameter is set to "false", | |
95 // Orthanc acts as a pure REST server. It will not be possible to | |
96 // receive files or to do query/retrieve through the DICOM protocol. | |
97 "DicomServerEnabled" : true, | |
98 | |
99 // The DICOM Application Entity Title (cannot be longer than 16 | |
100 // characters) | |
101 "DicomAet" : "ORTHANC", | |
102 | |
103 // Check whether the called AET corresponds to the AET of Orthanc | |
104 // during an incoming DICOM SCU request | |
105 "DicomCheckCalledAet" : false, | |
106 | |
107 // The DICOM port | |
108 "DicomPort" : 4242, | |
109 | |
110 // The default encoding that is assumed for DICOM files without | |
111 // "SpecificCharacterSet" DICOM tag, and that is used when answering | |
112 // C-Find requests (including worklists). The allowed values are | |
113 // "Ascii", "Utf8", "Latin1", "Latin2", "Latin3", "Latin4", | |
114 // "Latin5", "Cyrillic", "Windows1251", "Arabic", "Greek", "Hebrew", | |
115 // "Thai", "Japanese", "Chinese", "JapaneseKanji", "Korean", and | |
116 // "SimplifiedChinese". | |
117 "DefaultEncoding" : "Latin1", | |
118 | |
119 // The transfer syntaxes that are accepted by Orthanc C-Store SCP | |
120 "DeflatedTransferSyntaxAccepted" : true, | |
121 "JpegTransferSyntaxAccepted" : true, | |
122 "Jpeg2000TransferSyntaxAccepted" : true, | |
123 "JpegLosslessTransferSyntaxAccepted" : true, | |
124 "JpipTransferSyntaxAccepted" : true, | |
125 "Mpeg2TransferSyntaxAccepted" : true, | |
126 "RleTransferSyntaxAccepted" : true, | |
127 "Mpeg4TransferSyntaxAccepted" : true, // New in Orthanc 1.6.0 | |
128 | |
129 // Whether Orthanc accepts to act as C-Store SCP for unknown storage | |
130 // SOP classes (aka. "promiscuous mode") | |
131 "UnknownSopClassAccepted" : false, | |
132 | |
133 // Set the timeout (in seconds) after which the DICOM associations | |
134 // are closed by the Orthanc SCP (server) if no further DIMSE | |
135 // command is received from the SCU (client). | |
136 "DicomScpTimeout" : 30, | |
137 | |
138 | |
139 | |
140 /** | |
141 * Security-related options for the HTTP server | |
142 **/ | |
143 | |
144 // Whether remote hosts can connect to the HTTP server | |
145 "RemoteAccessAllowed" : false, | |
146 | |
147 // Whether or not SSL is enabled | |
148 "SslEnabled" : false, | |
149 | |
150 // Path to the SSL certificate in the PEM format (meaningful only if | |
151 // SSL is enabled) | |
152 "SslCertificate" : "certificate.pem", | |
153 | |
154 // Whether or not the password protection is enabled (using HTTP | |
155 // basic access authentication). Starting with Orthanc 1.5.8, if | |
156 // "AuthenticationEnabled" is not explicitly set, authentication is | |
157 // enabled iff. remote access is allowed (i.e. the default value of | |
158 // "AuthenticationEnabled" equals that of "RemoteAccessAllowed"). | |
159 /** | |
160 "AuthenticationEnabled" : false, | |
161 **/ | |
162 | |
163 // The list of the registered users. Because Orthanc uses HTTP | |
164 // Basic Authentication, the passwords are stored as plain text. | |
165 "RegisteredUsers" : { | |
166 // "alice" : "alicePassword" | |
167 }, | |
168 | |
169 | |
170 | |
171 /** | |
172 * Network topology | |
173 **/ | |
174 | |
175 // The list of the known DICOM modalities | |
176 "DicomModalities" : { | |
177 /** | |
178 * Uncommenting the following line would enable Orthanc to | |
179 * connect to an instance of the "storescp" open-source DICOM | |
180 * store (shipped in the DCMTK distribution), as started by the | |
181 * command line "storescp 2000". The first parameter is the | |
182 * AET of the remote modality (cannot be longer than 16 | |
183 * characters), the second one is the remote network address, | |
184 * and the third one is the TCP port number corresponding | |
185 * to the DICOM protocol on the remote modality (usually 104). | |
186 **/ | |
187 // "sample" : [ "STORESCP", "127.0.0.1", 2000 ] | |
188 | |
189 /** | |
190 * A fourth parameter is available to enable patches for | |
191 * specific PACS manufacturers. The allowed values are currently: | |
192 * - "Generic" (default value), | |
193 * - "GenericNoWildcardInDates" (to replace "*" by "" in date fields | |
194 * in outgoing C-Find requests originating from Orthanc), | |
195 * - "GenericNoUniversalWildcard" (to replace "*" by "" in all fields | |
196 * in outgoing C-Find SCU requests originating from Orthanc), | |
197 * - "StoreScp" (storescp tool from DCMTK), | |
198 * - "Vitrea", | |
199 * - "GE" (Enterprise Archive, MRI consoles and Advantage Workstation | |
200 * from GE Healthcare). | |
201 * | |
202 * This parameter is case-sensitive. | |
203 **/ | |
204 // "vitrea" : [ "VITREA", "192.168.1.1", 104, "Vitrea" ] | |
205 | |
206 /** | |
207 * By default, the Orthanc SCP accepts all DICOM commands (C-ECHO, | |
208 * C-STORE, C-FIND, C-MOVE, C-GET and storage commitment) issued by the | |
209 * registered remote SCU modalities. Starting with Orthanc 1.5.0, | |
210 * it is possible to specify which DICOM commands are allowed, | |
211 * separately for each remote modality, using the syntax | |
212 * below. | |
213 * | |
214 * The "AllowEcho" (resp. "AllowStore") option only has an effect | |
215 * respectively if global option "DicomAlwaysAllowEcho" | |
216 * (resp. "DicomAlwaysAllowStore") is set to "false". | |
217 * | |
218 * Starting with Orthanc 1.7.0, "AllowTranscoding" can be used to | |
219 * disable the transcoding to uncompressed transfer syntaxes if | |
220 * the remote modality doesn't support compressed transfer | |
221 * syntaxes. This option only has an effect if global option | |
222 * "EnableTranscoding" is set to "true". | |
223 **/ | |
224 //"untrusted" : { | |
225 // "AET" : "ORTHANC", | |
226 // "Port" : 104, | |
227 // "Host" : "127.0.0.1", | |
228 // "Manufacturer" : "Generic", | |
229 // "AllowEcho" : false, | |
230 // "AllowFind" : false, | |
231 // "AllowGet" : false, | |
232 // "AllowMove" : false, | |
233 // "AllowStore" : true, | |
234 // "AllowStorageCommitment" : false, // new in 1.6.0 | |
235 // "AllowTranscoding" : true // new in 1.7.0 | |
236 //} | |
237 }, | |
238 | |
239 // Whether to store the DICOM modalities in the Orthanc database | |
240 // instead of in this configuration file (new in Orthanc 1.5.0) | |
241 "DicomModalitiesInDatabase" : false, | |
242 | |
243 // Whether the Orthanc SCP allows incoming C-Echo requests, even | |
244 // from SCU modalities it does not know about (i.e. that are not | |
245 // listed in the "DicomModalities" option above). Orthanc 1.3.0 | |
246 // is the only version to behave as if this argument was set to "false". | |
247 "DicomAlwaysAllowEcho" : true, | |
248 | |
249 // Whether the Orthanc SCP allows incoming C-Store requests, even | |
250 // from SCU modalities it does not know about (i.e. that are not | |
251 // listed in the "DicomModalities" option above) | |
252 "DicomAlwaysAllowStore" : true, | |
253 | |
254 // Whether Orthanc checks the IP/hostname address of the remote | |
255 // modality initiating a DICOM connection (as listed in the | |
256 // "DicomModalities" option above). If this option is set to | |
257 // "false", Orthanc only checks the AET of the remote modality. | |
258 "DicomCheckModalityHost" : false, | |
259 | |
260 // The timeout (in seconds) after which the DICOM associations are | |
261 // considered as closed by the Orthanc SCU (client) if the remote | |
262 // DICOM SCP (server) does not answer. | |
263 "DicomScuTimeout" : 10, | |
264 | |
265 // The list of the known Orthanc peers | |
266 "OrthancPeers" : { | |
267 /** | |
268 * Each line gives the base URL of an Orthanc peer, possibly | |
269 * followed by the username/password pair (if the password | |
270 * protection is enabled on the peer). | |
271 **/ | |
272 // "peer" : [ "http://127.0.0.1:8043/", "alice", "alicePassword" ] | |
273 // "peer2" : [ "http://127.0.0.1:8044/" ] | |
274 | |
275 /** | |
276 * This is another, more advanced format to define Orthanc | |
277 * peers. It notably allows one to specify HTTP headers, a HTTPS | |
278 * client certificate in the PEM format (as in the "--cert" option | |
279 * of curl), or to enable PKCS#11 authentication for smart cards. | |
280 **/ | |
281 // "peer" : { | |
282 // "Url" : "http://127.0.0.1:8043/", | |
283 // "Username" : "alice", | |
284 // "Password" : "alicePassword", | |
285 // "HttpHeaders" : { "Token" : "Hello world" }, | |
286 // "CertificateFile" : "client.crt", | |
287 // "CertificateKeyFile" : "client.key", | |
288 // "CertificateKeyPassword" : "certpass", | |
289 // "Pkcs11" : false | |
290 // } | |
291 }, | |
292 | |
293 // Whether to store the Orthanc peers in the Orthanc database | |
294 // instead of in this configuration file (new in Orthanc 1.5.0) | |
295 "OrthancPeersInDatabase" : false, | |
296 | |
297 // Parameters of the HTTP proxy to be used by Orthanc. If set to the | |
298 // empty string, no HTTP proxy is used. For instance: | |
299 // "HttpProxy" : "192.168.0.1:3128" | |
300 // "HttpProxy" : "proxyUser:proxyPassword@192.168.0.1:3128" | |
301 "HttpProxy" : "", | |
302 | |
303 // If set to "true", debug messages from libcurl will be issued | |
304 // whenever Orthanc makes an outgoing HTTP request. This is notably | |
305 // useful to debug HTTPS-related problems. | |
306 "HttpVerbose" : false, | |
307 | |
308 // Set the timeout for HTTP requests issued by Orthanc (in seconds). | |
309 "HttpTimeout" : 60, | |
310 | |
311 // Enable the verification of the peers during HTTPS requests. This | |
312 // option must be set to "false" if using self-signed certificates. | |
313 // Pay attention that setting this option to "false" results in | |
314 // security risks! | |
315 // Reference: http://curl.haxx.se/docs/sslcerts.html | |
316 "HttpsVerifyPeers" : true, | |
317 | |
318 // Path to the CA (certification authority) certificates to validate | |
319 // peers in HTTPS requests. From curl documentation ("--cacert" | |
320 // option): "Tells curl to use the specified certificate file to | |
321 // verify the peers. The file may contain multiple CA | |
322 // certificates. The certificate(s) must be in PEM format." On | |
323 // Debian-based systems, this option can be set to | |
324 // "/etc/ssl/certs/ca-certificates.crt" | |
325 "HttpsCACertificates" : "", | |
326 | |
327 | |
328 | |
329 /** | |
330 * Advanced options | |
331 **/ | |
332 | |
333 // Dictionary of symbolic names for the user-defined metadata. Each | |
334 // entry must map an unique string to an unique number between 1024 | |
335 // and 65535. Reserved values: | |
336 // - The Orthanc whole-slide imaging plugin uses metadata 4200 | |
337 "UserMetadata" : { | |
338 // "Sample" : 1024 | |
339 }, | |
340 | |
341 // Dictionary of symbolic names for the user-defined types of | |
342 // attached files. Each entry must map an unique string to an unique | |
343 // number between 1024 and 65535. Optionally, a second argument can | |
344 // provided to specify a MIME content type for the attachment. | |
345 "UserContentType" : { | |
346 // "sample" : 1024 | |
347 // "sample2" : [ 1025, "application/pdf" ] | |
348 }, | |
349 | |
350 // Number of seconds without receiving any instance before a | |
351 // patient, a study or a series is considered as stable. | |
352 "StableAge" : 60, | |
353 | |
354 // By default, Orthanc compares AET (Application Entity Titles) in a | |
355 // case-insensitive way. Setting this option to "true" will enable | |
356 // case-sensitive matching. | |
357 "StrictAetComparison" : false, | |
358 | |
359 // When the following option is "true", the MD5 of the DICOM files | |
360 // will be computed and stored in the Orthanc database. This | |
361 // information can be used to detect disk corruption, at the price | |
362 // of a small performance overhead. | |
363 "StoreMD5ForAttachments" : true, | |
364 | |
365 // The maximum number of results for a single C-FIND request at the | |
366 // Patient, Study or Series level. Setting this option to "0" means | |
367 // no limit. | |
368 "LimitFindResults" : 0, | |
369 | |
370 // The maximum number of results for a single C-FIND request at the | |
371 // Instance level. Setting this option to "0" means no limit. | |
372 "LimitFindInstances" : 0, | |
373 | |
374 // The maximum number of active jobs in the Orthanc scheduler. When | |
375 // this limit is reached, the addition of new jobs is blocked until | |
376 // some job finishes. | |
377 "LimitJobs" : 10, | |
378 | |
379 // If this option is set to "true" (default behavior until Orthanc | |
380 // 1.3.2), Orthanc will log the resources that are exported to other | |
381 // DICOM modalities or Orthanc peers, inside the URI | |
382 // "/exports". Setting this option to "false" is useful to prevent | |
383 // the index to grow indefinitely in auto-routing tasks (this is the | |
384 // default behavior since Orthanc 1.4.0). | |
385 "LogExportedResources" : false, | |
386 | |
387 // Enable or disable HTTP Keep-Alive (persistent HTTP | |
388 // connections). Setting this option to "true" prevents Orthanc | |
389 // issue #32 ("HttpServer does not support multiple HTTP requests in | |
390 // the same TCP stream"), but can possibly slow down HTTP clients | |
391 // that do not support persistent connections. The default behavior | |
392 // used to be "false" in Orthanc <= 1.5.1. Setting this option to | |
393 // "false" is also recommended if Orthanc is compiled against | |
394 // Mongoose. | |
395 "KeepAlive" : true, | |
396 | |
397 // Enable or disable Nagle's algorithm. Only taken into | |
398 // consideration if Orthanc is compiled to use CivetWeb. Experiments | |
399 // show that best performance can be obtained by setting both | |
400 // "KeepAlive" and "TcpNoDelay" to "true". Beware however of | |
401 // caveats: https://eklitzke.org/the-caveats-of-tcp-nodelay | |
402 "TcpNoDelay" : true, | |
403 | |
404 // Number of threads that are used by the embedded HTTP server. | |
405 "HttpThreadsCount" : 50, | |
406 | |
407 // If this option is set to "false", Orthanc will run in index-only | |
408 // mode. The DICOM files will not be stored on the drive. Note that | |
409 // this option might prevent the upgrade to newer versions of Orthanc. | |
410 "StoreDicom" : true, | |
411 | |
412 // DICOM associations initiated by Lua scripts are kept open as long | |
413 // as new DICOM commands are issued. This option sets the number of | |
414 // seconds of inactivity to wait before automatically closing a | |
415 // DICOM association used by Lua. If set to 0, the connection is | |
416 // closed immediately. This option is only used in Lua scripts. | |
417 "DicomAssociationCloseDelay" : 5, | |
418 | |
419 // Maximum number of query/retrieve DICOM requests that are | |
420 // maintained by Orthanc. The least recently used requests get | |
421 // deleted as new requests are issued. | |
422 "QueryRetrieveSize" : 100, | |
423 | |
424 // When handling a C-Find SCP request, setting this flag to "true" | |
425 // will enable case-sensitive match for PN value representation | |
426 // (such as PatientName). By default, the search is | |
427 // case-insensitive, which does not follow the DICOM standard. | |
428 "CaseSensitivePN" : false, | |
429 | |
430 // Configure PKCS#11 to use hardware security modules (HSM) and | |
431 // smart cards when carrying on HTTPS client authentication. | |
432 /** | |
433 "Pkcs11" : { | |
434 "Module" : "/usr/local/lib/libbeidpkcs11.so", | |
435 "Module" : "C:/Windows/System32/beidpkcs11.dll", | |
436 "Pin" : "1234", | |
437 "Verbose" : true | |
438 } | |
439 **/ | |
440 | |
441 // If set to "false", Orthanc will not load its default dictionary | |
442 // of private tags. This might be necessary if you cannot import a | |
443 // DICOM file encoded using the Implicit VR Endian transfer syntax, | |
444 // and containing private tags: Such an import error might stem from | |
445 // a bad dictionary. You can still list your private tags of | |
446 // interest in the "Dictionary" configuration option below. | |
447 "LoadPrivateDictionary" : true, | |
448 | |
449 // Locale to be used by Orthanc. Currently, only used if comparing | |
450 // strings in a case-insensitive way. It should be safe to keep this | |
451 // value undefined, which lets Orthanc autodetect the suitable locale. | |
452 // "Locale" : "en_US.UTF-8", | |
453 | |
454 // Register a new tag in the dictionary of DICOM tags that are known | |
455 // to Orthanc. Each line must contain the tag (formatted as 2 | |
456 // hexadecimal numbers), the value representation (2 upcase | |
457 // characters), a nickname for the tag, possibly the minimum | |
458 // multiplicity (> 0 with defaults to 1), possibly the maximum | |
459 // multiplicity (0 means arbitrary multiplicity, defaults to 1), and | |
460 // possibly the Private Creator (for private tags). | |
461 "Dictionary" : { | |
462 // "0014,1020" : [ "DA", "ValidationExpiryDate", 1, 1 ] | |
463 // "00e1,10c2" : [ "UI", "PET-CT Multi Modality Name", 1, 1, "ELSCINT1" ] | |
464 // "7053,1003" : [ "ST", "Original Image Filename", 1, 1, "Philips PET Private Group" ] | |
465 // "2001,5f" : [ "SQ", "StackSequence", 1, 1, "Philips Imaging DD 001" ] | |
466 }, | |
467 | |
468 // Whether to run DICOM C-Move operations synchronously. If set to | |
469 // "false" (asynchronous mode), each incoming C-Move request results | |
470 // in the creation of a new background job. Up to Orthanc 1.3.2, the | |
471 // implicit behavior was to use synchronous C-Move ("true"). Between | |
472 // Orthanc 1.4.0 and 1.4.2, the default behavior was set to | |
473 // asynchronous C-Move ("false"). Since Orthanc 1.5.0, the default | |
474 // behavior is back to synchronous C-Move ("true", which ensures | |
475 // backward compatibility with Orthanc <= 1.3.2). | |
476 "SynchronousCMove" : true, | |
477 | |
478 // Maximum number of completed jobs that are kept in memory. A | |
479 // processing job is considered as complete once it is tagged as | |
480 // "Success" or "Failure". Since Orthanc 1.5.0, a value of "0" | |
481 // indicates to keep no job in memory (i.e. jobs are removed from | |
482 // the history as soon as they are completed), which prevents the | |
483 // use of some features of Orthanc (typically, synchronous mode in | |
484 // REST API) and should be avoided for non-developers. | |
485 "JobsHistorySize" : 10, | |
486 | |
487 // Whether to save the jobs into the Orthanc database. If this | |
488 // option is set to "true", the pending/running/completed jobs are | |
489 // automatically reloaded from the database if Orthanc is stopped | |
490 // then restarted (except if the "--no-jobs" command-line argument | |
491 // is specified). This option should be set to "false" if multiple | |
492 // Orthanc servers are using the same database (e.g. if PostgreSQL | |
493 // or MariaDB/MySQL is used). | |
494 "SaveJobs" : true, | |
495 | |
496 // Specifies how Orthanc reacts when it receives a DICOM instance | |
497 // whose SOPInstanceUID is already stored. If set to "true", the new | |
498 // instance replaces the old one. If set to "false", the new | |
499 // instance is discarded and the old one is kept. Up to Orthanc | |
500 // 1.4.1, the implicit behavior corresponded to "false". | |
501 "OverwriteInstances" : false, | |
502 | |
503 // Maximum number of ZIP/media archives that are maintained by | |
504 // Orthanc, as a response to the asynchronous creation of archives. | |
505 // The least recently used archives get deleted as new archives are | |
506 // generated. This option was introduced in Orthanc 1.5.0, and has | |
507 // no effect on the synchronous generation of archives. | |
508 "MediaArchiveSize" : 1, | |
509 | |
510 // Performance setting to specify how Orthanc accesses the storage | |
511 // area during C-FIND. Three modes are available: (1) "Always" | |
512 // allows Orthanc to read the storage area as soon as it needs an | |
513 // information that is not present in its database (slowest mode), | |
514 // (2) "Never" prevents Orthanc from accessing the storage area, and | |
515 // makes it uses exclusively its database (fastest mode), and (3) | |
516 // "Answers" allows Orthanc to read the storage area to generate its | |
517 // answers, but not to filter the DICOM resources (balance between | |
518 // the two modes). By default, the mode is "Always", which | |
519 // corresponds to the behavior of Orthanc <= 1.5.0. | |
520 "StorageAccessOnFind" : "Always", | |
521 | |
522 // Whether Orthanc monitors its metrics (new in Orthanc 1.5.4). If | |
523 // set to "true", the metrics can be retrieved at | |
524 // "/tools/metrics-prometheus" formetted using the Prometheus | |
525 // text-based exposition format. | |
526 "MetricsEnabled" : true, | |
527 | |
528 // Whether calls to URI "/tools/execute-script" is enabled. Starting | |
529 // with Orthanc 1.5.8, this URI is disabled by default for security. | |
530 "ExecuteLuaEnabled" : false, | |
531 | |
532 // Set the timeout for HTTP requests, in seconds. This corresponds | |
533 // to option "request_timeout_ms" of Mongoose/Civetweb. It will set | |
534 // the socket options "SO_RCVTIMEO" and "SO_SNDTIMEO" to the | |
535 // specified value. | |
536 "HttpRequestTimeout" : 30, | |
537 | |
538 // Set the default private creator that is used by Orthanc when it | |
539 // looks for a private tag in its dictionary (cf. "Dictionary" | |
540 // option), or when it creates/modifies a DICOM file (new in Orthanc 1.6.0). | |
541 "DefaultPrivateCreator" : "", | |
542 | |
543 // Maximum number of storage commitment reports (i.e. received from | |
544 // remote modalities) to be kept in memory (new in Orthanc 1.6.0). | |
545 "StorageCommitmentReportsSize" : 100, | |
546 | |
547 // Whether Orthanc transcodes DICOM files to an uncompressed | |
548 // transfer syntax over the DICOM protocol, if the remote modality | |
549 // does not support compressed transfer syntaxes (new in Orthanc 1.7.0). | |
550 "TranscodeDicomProtocol" : true, | |
551 | |
552 // If some plugin to decode/transcode DICOM instances is installed, | |
553 // this option specifies whether the built-in decoder/transcoder of | |
554 // Orthanc (that uses DCMTK) is applied before or after the plugins, | |
555 // or is not applied at all (new in Orthanc 1.7.0). The allowed | |
556 // values for this option are "After" (default value, corresponding | |
557 // to the behavior of Orthanc <= 1.6.1), "Before", or "Disabled". | |
558 "BuiltinDecoderTranscoderOrder" : "After", | |
559 | |
560 // If this option is set, Orthanc will transparently transcode any | |
561 // incoming DICOM instance to the given transfer syntax before | |
562 // storing it into its database. Beware that this might result in | |
563 // high CPU usage (if transcoding to some compressed transfer | |
564 // syntax), or in higher disk consumption (if transcoding to an | |
565 // uncompressed syntax). Also, beware that transcoding to a transfer | |
566 // syntax with lossy compression (notably JPEG) will change the | |
567 // "SOPInstanceUID" DICOM tag, and thus the Orthanc identifier at | |
568 // the instance level, which might break external workflow. | |
569 /** | |
570 "IngestTranscoding" : "1.2.840.10008.1.2", | |
571 **/ | |
572 | |
573 // The compression level that is used when transcoding to one of the | |
574 // lossy/JPEG transfer syntaxes (integer between 1 and 100). | |
575 "DicomLossyTranscodingQuality" : 90 | |
576 } |