annotate Resources/Configuration.json @ 2744:d9a179f23b47 Orthanc-0.6.0

close old branch
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 17 Jul 2018 09:39:17 +0200
parents bdbde1fbfab3
children 3b735fdf320b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
c38716a8a146 static link against MSVC CRT
Administrator@jodogne-w01
parents: 0
diff changeset
1 {
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
2 /**
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
3 * General configuration of Orthanc
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
4 **/
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
5
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
6 // The logical name of this instance of Orthanc. This one is
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
7 // displayed in Orthanc Explorer and at the URI "/system".
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
8 "Name" : "MyOrthanc",
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
9
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
10 // Path to the directory that holds the heavyweight files
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
11 // (i.e. the raw DICOM instances)
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
12 "StorageDirectory" : "OrthancStorage",
236
6d9be2b470b4 compression
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 227
diff changeset
13
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
14 // Path to the directory that holds the SQLite index (if unset,
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
15 // the value of StorageDirectory is used). This index could be
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
16 // stored on a RAM-drive or a SSD device for performance reasons.
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
17 "IndexDirectory" : "OrthancStorage",
23
62bd05fe4b7c support for ssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 12
diff changeset
18
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
19 // Enable the transparent compression of the DICOM instances
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
20 "StorageCompression" : false,
376
2cef9c2d4148 separate path for SQLite index, manual loading of external dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 300
diff changeset
21
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
22 // Maximum size of the storage in MB (a value of "0" indicates no
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
23 // limit on the storage size)
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
24 "MaximumStorageSize" : 0,
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
25
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
26 // Maximum number of patients that can be stored at a given time
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
27 // in the storage (a value of "0" indicates no limit on the number
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
28 // of patients)
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
29 "MaximumPatientCount" : 0,
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
30
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
31 // List of paths to the custom Lua scripts to load into this
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
32 // instance of Orthanc
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
33 "LuaScripts" : [
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
34 ],
270
e6a4c4329481 parameters for storage capacity
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 236
diff changeset
35
439
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 435
diff changeset
36 // Dictionary of symbolic names for the user-defined metadata. Each
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 435
diff changeset
37 // entry must map a number between 1024 and 65535 to an unique
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 435
diff changeset
38 // string.
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
39 "UserMetadata" : {
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
40 // "Sample" : 1024
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
41 },
394
9784f19f7e1b path relative to configuration path, list of lua scripts
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 390
diff changeset
42
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
43
164
dcf6475e2b40 teamcity test
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 151
diff changeset
44
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
45 /**
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
46 * Configuration of the HTTP server
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
47 **/
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
48
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
49 // HTTP port for the REST services and for the GUI
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
50 "HttpPort" : 8042,
12
c38716a8a146 static link against MSVC CRT
Administrator@jodogne-w01
parents: 0
diff changeset
51
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
52
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
53
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
54 /**
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
55 * Configuration of the DICOM server
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
56 **/
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
57
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
58 // The DICOM Application Entity Title
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
59 "DicomAet" : "ORTHANC",
23
62bd05fe4b7c support for ssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 12
diff changeset
60
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
61 // Check whether the called AET corresponds during a DICOM request
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
62 "DicomCheckCalledAet" : false,
55
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 49
diff changeset
63
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
64 // The DICOM port
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
65 "DicomPort" : 4242,
23
62bd05fe4b7c support for ssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 12
diff changeset
66
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
67
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
68
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
69 /**
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
70 * Security-related options for the HTTP server
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
71 **/
12
c38716a8a146 static link against MSVC CRT
Administrator@jodogne-w01
parents: 0
diff changeset
72
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
73 // Whether remote hosts can connect to the HTTP server
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
74 "RemoteAccessAllowed" : false,
34
96e57b863dd9 option to disallow remote access
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 25
diff changeset
75
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
76 // Whether or not SSL is enabled
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
77 "SslEnabled" : false,
23
62bd05fe4b7c support for ssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 12
diff changeset
78
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
79 // Path to the SSL certificate (meaningful only if SSL is enabled)
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
80 "SslCertificate" : "certificate.pem",
23
62bd05fe4b7c support for ssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 12
diff changeset
81
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
82 // Whether or not the password protection is enabled
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
83 "AuthenticationEnabled" : false,
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
84
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
85 // The list of the registered users. Because Orthanc uses HTTP
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
86 // Basic Authentication, the passwords are stored as plain text.
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
87 "RegisteredUsers" : {
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
88 // "alice" : "alicePassword"
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
89 },
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
90
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
91
25
dd1489098265 basic http authentication
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 24
diff changeset
92
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
93 /**
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
94 * Network topology
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
95 **/
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
96
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
97 // The list of the known DICOM modalities
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
98 "DicomModalities" : {
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
99 /**
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
100 * Uncommenting the following line would enable Orthanc to
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
101 * connect to an instance of the "storescp" open-source DICOM
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
102 * store (shipped in the DCMTK distribution) started by the
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
103 * command line "storescp 2000".
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
104 **/
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
105 // "sample" : [ "STORESCP", "localhost", 2000 ]
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
106 },
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
107
484
b8ace6fc1d1f preparation for handling Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 439
diff changeset
108 // The list of the known Orthanc peers
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
109 "OrthancPeers" : {
485
bdbde1fbfab3 send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 484
diff changeset
110 /**
bdbde1fbfab3 send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 484
diff changeset
111 * Each line gives the base URL of an Orthanc peer, possibly
bdbde1fbfab3 send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 484
diff changeset
112 * followed by the username/password pair (if the password
bdbde1fbfab3 send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 484
diff changeset
113 * protection is enabled on the peer).
bdbde1fbfab3 send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 484
diff changeset
114 **/
bdbde1fbfab3 send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 484
diff changeset
115 // "peer" : [ "http://localhost:8043/", "alice", "alicePassword" ]
bdbde1fbfab3 send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 484
diff changeset
116 // "peer2" : [ "http://localhost:8044/" ]
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
117 }
12
c38716a8a146 static link against MSVC CRT
Administrator@jodogne-w01
parents: 0
diff changeset
118 }