annotate Resources/Configuration.json @ 435:28ba73274919

registration of user-defined metadata
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 15 May 2013 15:57:05 +0200
parents 2d269089078f
children 081a44d5110b
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
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
36 // Dictionary of the user-specific metadata. Each entry must map a
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
37 // number between 1024 and 65535 to an unique string.
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
38 "UserMetadata" : {
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
39 // "Sample" : 1024
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
40 },
394
9784f19f7e1b path relative to configuration path, list of lua scripts
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 390
diff changeset
41
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
42
164
dcf6475e2b40 teamcity test
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 151
diff changeset
43
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
44 /**
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
45 * Configuration of the HTTP server
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
46 **/
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
47
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
48 // 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
49 "HttpPort" : 8042,
12
c38716a8a146 static link against MSVC CRT
Administrator@jodogne-w01
parents: 0
diff changeset
50
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
51
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
52
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
53 /**
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
54 * Configuration of the DICOM server
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
55 **/
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
56
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
57 // The DICOM Application Entity Title
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
58 "DicomAet" : "ORTHANC",
23
62bd05fe4b7c support for ssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 12
diff changeset
59
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
60 // 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
61 "DicomCheckCalledAet" : false,
55
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 49
diff changeset
62
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
63 // The DICOM port
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
64 "DicomPort" : 4242,
23
62bd05fe4b7c support for ssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 12
diff changeset
65
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
66
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
67
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
68 /**
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
69 * Security-related options for the HTTP server
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
70 **/
12
c38716a8a146 static link against MSVC CRT
Administrator@jodogne-w01
parents: 0
diff changeset
71
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
72 // 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
73 "RemoteAccessAllowed" : false,
34
96e57b863dd9 option to disallow remote access
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 25
diff changeset
74
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
75 // Whether or not SSL is enabled
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
76 "SslEnabled" : false,
23
62bd05fe4b7c support for ssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 12
diff changeset
77
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
78 // 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
79 "SslCertificate" : "certificate.pem",
23
62bd05fe4b7c support for ssl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 12
diff changeset
80
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
81 // Whether or not the password protection is enabled
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
82 "AuthenticationEnabled" : false,
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
83
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
84 // 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
85 // 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
86 "RegisteredUsers" : {
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
87 // "alice" : "alicePassword"
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
88 },
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
89
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
90
25
dd1489098265 basic http authentication
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 24
diff changeset
91
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
92 /**
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
93 * Network topology
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
94 **/
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
95
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
96 // The list of the known DICOM modalities
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
97 "DicomModalities" : {
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
98 /**
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
99 * Uncommenting the following line would enable Orthanc to
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
100 * 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
101 * 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
102 * command line "storescp 2000".
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
103 **/
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
104 // "sample" : [ "STORESCP", "localhost", 2000 ]
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
105 },
24
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 23
diff changeset
106
435
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
107 // The list of the known Orthanc peers (currently unused)
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
108 "OrthancPeers" : {
28ba73274919 registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 407
diff changeset
109 }
12
c38716a8a146 static link against MSVC CRT
Administrator@jodogne-w01
parents: 0
diff changeset
110 }