annotate Resources/Configuration.json @ 1590:ba0226474e22

New configuration option: "HttpTimeout" to set the default timeout for HTTP requests
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 26 Aug 2015 17:51:03 +0200
parents 95b3b0260240
children d73124f6b439
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
1 {
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
2 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
3 * General configuration of Orthanc
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
4 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
5
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
6 // The logical name of this instance of Orthanc. This one is
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
7 // displayed in Orthanc Explorer and at the URI "/system".
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
8 "Name" : "MyOrthanc",
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
9
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
10 // Path to the directory that holds the heavyweight files
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
11 // (i.e. the raw DICOM instances)
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
12 "StorageDirectory" : "OrthancStorage",
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
13
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
14 // Path to the directory that holds the SQLite index (if unset,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
15 // the value of StorageDirectory is used). This index could be
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
16 // stored on a RAM-drive or a SSD device for performance reasons.
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
17 "IndexDirectory" : "OrthancStorage",
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
18
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
19 // Enable the transparent compression of the DICOM instances
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
20 "StorageCompression" : false,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
21
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
22 // Maximum size of the storage in MB (a value of "0" indicates no
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
23 // limit on the storage size)
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
24 "MaximumStorageSize" : 0,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
25
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
26 // Maximum number of patients that can be stored at a given time
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
27 // in the storage (a value of "0" indicates no limit on the number
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
28 // of patients)
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
29 "MaximumPatientCount" : 0,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
30
893
f57802f8b4dc plugins for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 891
diff changeset
31 // List of paths to the custom Lua scripts that are to be loaded
f57802f8b4dc plugins for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 891
diff changeset
32 // into this instance of Orthanc
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
33 "LuaScripts" : [
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
34 ],
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
35
893
f57802f8b4dc plugins for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 891
diff changeset
36 // List of paths to the plugins that are to be loaded into this
1199
a843ee8bb903 separated thread for change callbacks in plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1164
diff changeset
37 // instance of Orthanc (e.g. "./libPluginTest.so" for Linux, or
1272
7442097b41c9 Scan of folders for plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1199
diff changeset
38 // "./PluginTest.dll" for Windows). These paths can refer to
7442097b41c9 Scan of folders for plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1199
diff changeset
39 // folders, in which case they will be scanned non-recursively to
7442097b41c9 Scan of folders for plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1199
diff changeset
40 // find shared libraries.
891
d0a08d8881b7 configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
41 "Plugins" : [
d0a08d8881b7 configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
42 ],
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
43
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
44
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
45 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
46 * Configuration of the HTTP server
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
47 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
48
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
49 // HTTP port for the REST services and for the GUI
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
50 "HttpPort" : 8042,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
51
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
52
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
53
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
54 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
55 * Configuration of the DICOM server
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
56 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
57
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
58 // The DICOM Application Entity Title
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
59 "DicomAet" : "ORTHANC",
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
60
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
61 // Check whether the called AET corresponds during a DICOM request
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
62 "DicomCheckCalledAet" : false,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
63
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
64 // The DICOM port
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
65 "DicomPort" : 4242,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
66
1115
da56a7916e8a Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1090
diff changeset
67 // The default encoding that is assumed for DICOM files without
da56a7916e8a Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1090
diff changeset
68 // "SpecificCharacterSet" DICOM tag. The allowed values are "Ascii",
da56a7916e8a Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1090
diff changeset
69 // "Utf8", "Latin1", "Latin2", "Latin3", "Latin4", "Latin5",
1347
60cc0ee61edb fix issue 32
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1284
diff changeset
70 // "Cyrillic", "Windows1251", "Arabic", "Greek", "Hebrew", "Thai",
60cc0ee61edb fix issue 32
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1284
diff changeset
71 // "Japanese", and "Chinese".
1115
da56a7916e8a Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1090
diff changeset
72 "DefaultEncoding" : "Latin1",
da56a7916e8a Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1090
diff changeset
73
1164
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
74 // The transfer syntaxes that are accepted by Orthanc C-Store SCP
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
75 "DeflatedTransferSyntaxAccepted" : true,
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
76 "JpegTransferSyntaxAccepted" : true,
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
77 "Jpeg2000TransferSyntaxAccepted" : true,
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
78 "JpegLosslessTransferSyntaxAccepted" : true,
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
79 "JpipTransferSyntaxAccepted" : true,
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
80 "Mpeg2TransferSyntaxAccepted" : true,
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
81 "RleTransferSyntaxAccepted" : true,
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
82
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
83
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
84 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
85 * Security-related options for the HTTP server
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
86 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
87
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
88 // Whether remote hosts can connect to the HTTP server
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
89 "RemoteAccessAllowed" : false,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
90
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
91 // Whether or not SSL is enabled
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
92 "SslEnabled" : false,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
93
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
94 // Path to the SSL certificate (meaningful only if SSL is enabled)
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
95 "SslCertificate" : "certificate.pem",
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
96
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
97 // Whether or not the password protection is enabled
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
98 "AuthenticationEnabled" : false,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
99
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
100 // The list of the registered users. Because Orthanc uses HTTP
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
101 // Basic Authentication, the passwords are stored as plain text.
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
102 "RegisteredUsers" : {
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
103 // "alice" : "alicePassword"
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
104 },
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
105
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
106
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
107
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
108 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
109 * Network topology
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
110 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
111
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
112 // The list of the known DICOM modalities
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
113 "DicomModalities" : {
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
114 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
115 * Uncommenting the following line would enable Orthanc to
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
116 * connect to an instance of the "storescp" open-source DICOM
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
117 * store (shipped in the DCMTK distribution) started by the
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
118 * command line "storescp 2000".
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
119 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
120 // "sample" : [ "STORESCP", "localhost", 2000 ]
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
121
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
122 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
123 * A fourth parameter is available to enable patches for a
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
124 * specific PACS manufacturer. The allowed values are currently
1017
9d0c7301596e storescp modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 995
diff changeset
125 * "Generic" (default value), "StoreScp" (storescp tool from
1429
7366a0bdda6a attempt of fix for Syngo.Via
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1383
diff changeset
126 * DCMTK), "ClearCanvas", "MedInria", "Dcm4Chee" and
7366a0bdda6a attempt of fix for Syngo.Via
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1383
diff changeset
127 * "SyngoVia". This parameter is case-sensitive.
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
128 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
129 // "clearcanvas" : [ "CLEARCANVAS", "192.168.1.1", 104, "ClearCanvas" ]
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
130 },
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
131
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
132 // The list of the known Orthanc peers
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
133 "OrthancPeers" : {
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
134 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
135 * Each line gives the base URL of an Orthanc peer, possibly
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
136 * followed by the username/password pair (if the password
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
137 * protection is enabled on the peer).
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
138 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
139 // "peer" : [ "http://localhost:8043/", "alice", "alicePassword" ]
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
140 // "peer2" : [ "http://localhost:8044/" ]
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
141 },
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
142
1273
88010d8e12cf Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1272
diff changeset
143 // Parameters of the HTTP proxy to be used by Orthanc. If set to the
88010d8e12cf Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1272
diff changeset
144 // empty string, no HTTP proxy is used. For instance:
88010d8e12cf Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1272
diff changeset
145 // "HttpProxy" : "192.168.0.1:3128"
88010d8e12cf Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1272
diff changeset
146 // "HttpProxy" : "proxyUser:proxyPassword@192.168.0.1:3128"
88010d8e12cf Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1272
diff changeset
147 "HttpProxy" : "",
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
148
1590
ba0226474e22 New configuration option: "HttpTimeout" to set the default timeout for HTTP requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1534
diff changeset
149 // Set the timeout for HTTP requests issued by Orthanc (in seconds).
ba0226474e22 New configuration option: "HttpTimeout" to set the default timeout for HTTP requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1534
diff changeset
150 "HttpTimeout" : 10,
ba0226474e22 New configuration option: "HttpTimeout" to set the default timeout for HTTP requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1534
diff changeset
151
ba0226474e22 New configuration option: "HttpTimeout" to set the default timeout for HTTP requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1534
diff changeset
152
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
153
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
154 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
155 * Advanced options
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
156 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
157
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
158 // Dictionary of symbolic names for the user-defined metadata. Each
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
159 // entry must map a number between 1024 and 65535 to an unique
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
160 // string.
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
161 "UserMetadata" : {
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
162 // "Sample" : 1024
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
163 },
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
164
696
4c1860179cc5 dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 695
diff changeset
165 // Dictionary of symbolic names for the user-defined types of
4c1860179cc5 dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 695
diff changeset
166 // attached files. Each entry must map a number between 1024 and
4c1860179cc5 dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 695
diff changeset
167 // 65535 to an unique string.
4c1860179cc5 dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 695
diff changeset
168 "UserContentType" : {
4c1860179cc5 dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 695
diff changeset
169 // "sample" : 1024
4c1860179cc5 dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 695
diff changeset
170 },
4c1860179cc5 dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 695
diff changeset
171
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
172 // Number of seconds without receiving any instance before a
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
173 // patient, a study or a series is considered as stable.
685
b01cc78caba4 possibility to disable the DICOM/HTTP servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 683
diff changeset
174 "StableAge" : 60,
b01cc78caba4 possibility to disable the DICOM/HTTP servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 683
diff changeset
175
b01cc78caba4 possibility to disable the DICOM/HTTP servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 683
diff changeset
176 // Enable the HTTP server. If this parameter is set to "false",
b01cc78caba4 possibility to disable the DICOM/HTTP servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 683
diff changeset
177 // Orthanc acts as a pure DICOM server. The REST API and Orthanc
b01cc78caba4 possibility to disable the DICOM/HTTP servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 683
diff changeset
178 // Explorer will not be available.
b01cc78caba4 possibility to disable the DICOM/HTTP servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 683
diff changeset
179 "HttpServerEnabled" : true,
b01cc78caba4 possibility to disable the DICOM/HTTP servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 683
diff changeset
180
b01cc78caba4 possibility to disable the DICOM/HTTP servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 683
diff changeset
181 // Enable the DICOM server. If this parameter is set to "false",
b01cc78caba4 possibility to disable the DICOM/HTTP servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 683
diff changeset
182 // Orthanc acts as a pure REST server. It will not be possible to
b01cc78caba4 possibility to disable the DICOM/HTTP servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 683
diff changeset
183 // receive files or to do query/retrieve through the DICOM protocol.
690
2e67366aab83 case-insensitive matching of Application Entity Titles
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 685
diff changeset
184 "DicomServerEnabled" : true,
2e67366aab83 case-insensitive matching of Application Entity Titles
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 685
diff changeset
185
2e67366aab83 case-insensitive matching of Application Entity Titles
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 685
diff changeset
186 // By default, Orthanc compares AET (Application Entity Titles) in a
2e67366aab83 case-insensitive matching of Application Entity Titles
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 685
diff changeset
187 // case-insensitive way. Setting this option to "true" will enable
2e67366aab83 case-insensitive matching of Application Entity Titles
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 685
diff changeset
188 // case-sensitive matching.
695
c59bc408fb10 parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 690
diff changeset
189 "StrictAetComparison" : false,
c59bc408fb10 parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 690
diff changeset
190
c59bc408fb10 parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 690
diff changeset
191 // When the following option is "true", the MD5 of the DICOM files
c59bc408fb10 parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 690
diff changeset
192 // will be computed and stored in the Orthanc database. This
c59bc408fb10 parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 690
diff changeset
193 // information can be used to detect disk corruption, at the price
c59bc408fb10 parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 690
diff changeset
194 // of a small performance overhead.
941
83489fddd8c5 Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
195 "StoreMD5ForAttachments" : true,
83489fddd8c5 Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
196
83489fddd8c5 Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
197 // The maximum number of results for a single C-FIND request at the
83489fddd8c5 Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
198 // Patient, Study or Series level. Setting this option to "0" means
83489fddd8c5 Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
199 // no limit.
83489fddd8c5 Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
200 "LimitFindResults" : 0,
83489fddd8c5 Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
201
83489fddd8c5 Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
202 // The maximum number of results for a single C-FIND request at the
83489fddd8c5 Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
203 // Instance level. Setting this option to "0" means no limit.
995
8c67382f44a7 limit number of jobs in the scheduler
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 941
diff changeset
204 "LimitFindInstances" : 0,
8c67382f44a7 limit number of jobs in the scheduler
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 941
diff changeset
205
8c67382f44a7 limit number of jobs in the scheduler
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 941
diff changeset
206 // The maximum number of active jobs in the Orthanc scheduler. When
8c67382f44a7 limit number of jobs in the scheduler
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 941
diff changeset
207 // this limit is reached, the addition of new jobs is blocked until
8c67382f44a7 limit number of jobs in the scheduler
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 941
diff changeset
208 // some job finishes.
1086
e56c3ed8d738 Parameter to set the default encoding for DICOM files without SpecificCharacterSet
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1018
diff changeset
209 "LimitJobs" : 10,
e56c3ed8d738 Parameter to set the default encoding for DICOM files without SpecificCharacterSet
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1018
diff changeset
210
1142
952cf9b6be83 Configuration option to disable the logging of exported resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1135
diff changeset
211 // If this option is set to "false", Orthanc will not log the
952cf9b6be83 Configuration option to disable the logging of exported resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1135
diff changeset
212 // resources that are exported to other DICOM modalities of Orthanc
952cf9b6be83 Configuration option to disable the logging of exported resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1135
diff changeset
213 // peers in the URI "/exports". This is useful to prevent the index
952cf9b6be83 Configuration option to disable the logging of exported resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1135
diff changeset
214 // to grow indefinitely in auto-routing tasks.
952cf9b6be83 Configuration option to disable the logging of exported resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1135
diff changeset
215 "LogExportedResources" : true,
952cf9b6be83 Configuration option to disable the logging of exported resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1135
diff changeset
216
1283
6066529e34c8 HTTP keep-alive is deprecated
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1273
diff changeset
217 // Enable or disable HTTP Keep-Alive (deprecated). Set this option
1115
da56a7916e8a Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1090
diff changeset
218 // to "true" only in the case of high HTTP loads.
1135
67c3c1e4a6e0 index-only mode, and custom storage area with plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1115
diff changeset
219 "KeepAlive" : false,
67c3c1e4a6e0 index-only mode, and custom storage area with plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1115
diff changeset
220
67c3c1e4a6e0 index-only mode, and custom storage area with plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1115
diff changeset
221 // If this option is set to "false", Orthanc will run in index-only
67c3c1e4a6e0 index-only mode, and custom storage area with plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1115
diff changeset
222 // mode. The DICOM files will not be stored on the drive.
1284
21ea32170764 Option "DicomAssociationCloseDelay" to set delay before closing DICOM association
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1283
diff changeset
223 "StoreDicom" : true,
21ea32170764 Option "DicomAssociationCloseDelay" to set delay before closing DICOM association
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1283
diff changeset
224
21ea32170764 Option "DicomAssociationCloseDelay" to set delay before closing DICOM association
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1283
diff changeset
225 // DICOM associations are kept open as long as new DICOM commands
21ea32170764 Option "DicomAssociationCloseDelay" to set delay before closing DICOM association
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1283
diff changeset
226 // are issued. This option sets the number of seconds of inactivity
21ea32170764 Option "DicomAssociationCloseDelay" to set delay before closing DICOM association
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1283
diff changeset
227 // to wait before automatically closing a DICOM association. If set
21ea32170764 Option "DicomAssociationCloseDelay" to set delay before closing DICOM association
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1283
diff changeset
228 // to 0, the connection is closed immediately.
1374
a1745d9be6e9 CaseSensitivePN configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1347
diff changeset
229 "DicomAssociationCloseDelay" : 5,
a1745d9be6e9 CaseSensitivePN configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1347
diff changeset
230
1368
b22ba8c5edbe query retrieve
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1347
diff changeset
231 // Maximum number of query/retrieve DICOM requests that are
b22ba8c5edbe query retrieve
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1347
diff changeset
232 // maintained by Orthanc. The least recently used requests get
b22ba8c5edbe query retrieve
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1347
diff changeset
233 // deleted as new requests are issued.
1383
5c11c4e728eb integration mainline->query-retrieve
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1368 1382
diff changeset
234 "QueryRetrieveSize" : 10,
5c11c4e728eb integration mainline->query-retrieve
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1368 1382
diff changeset
235
1374
a1745d9be6e9 CaseSensitivePN configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1347
diff changeset
236 // When handling a C-Find SCP request, setting this flag to "false"
a1745d9be6e9 CaseSensitivePN configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1347
diff changeset
237 // will enable case-insensitive match for PN value representation
1382
1cd2e09cb0e5 case insensitive search by default
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1374
diff changeset
238 // (such as PatientName). By default, the search is case-insensitive.
1517
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1429
diff changeset
239 "CaseSensitivePN" : false,
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1429
diff changeset
240
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1429
diff changeset
241 // Enable HTTP compression to improve network bandwidth utilization,
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1429
diff changeset
242 // at the expense of more computations on the server. Orthanc
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1429
diff changeset
243 // supports the "gzip" and "deflate" encodings.
1533
0011cc99443c improving HTTPS support
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1517
diff changeset
244 "HttpCompressionEnabled" : true,
0011cc99443c improving HTTPS support
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1517
diff changeset
245
0011cc99443c improving HTTPS support
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1517
diff changeset
246 // Enable the verification of the peers during HTTPS requests.
1534
95b3b0260240 Options to validate peers against CA certificates in HTTPS requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
247 // Reference: http://curl.haxx.se/docs/sslcerts.html
1533
0011cc99443c improving HTTPS support
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1517
diff changeset
248 "HttpsVerifyPeers" : true,
0011cc99443c improving HTTPS support
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1517
diff changeset
249
1534
95b3b0260240 Options to validate peers against CA certificates in HTTPS requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
250 // Path to the CA (certification authority) certificates to validate
95b3b0260240 Options to validate peers against CA certificates in HTTPS requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
251 // peers in HTTPS requests. From curl documentation ("--cacert"
95b3b0260240 Options to validate peers against CA certificates in HTTPS requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
252 // option): "Tells curl to use the specified certificate file to
95b3b0260240 Options to validate peers against CA certificates in HTTPS requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
253 // verify the peers. The file may contain multiple CA
95b3b0260240 Options to validate peers against CA certificates in HTTPS requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
254 // certificates. The certificate(s) must be in PEM format."
95b3b0260240 Options to validate peers against CA certificates in HTTPS requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
255 "HttpsCACertificates" : ""
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
256 }