comparison 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
comparison
equal deleted inserted replaced
434:ccf3a0a43dac 435:28ba73274919
1 { 1 {
2 /** 2 /**
3 * General configuration of Orthanc 3 * General configuration of Orthanc
4 **/ 4 **/
5 5
6 // The logical name of this instance of Orthanc. This one is 6 // The logical name of this instance of Orthanc. This one is
7 // displayed in Orthanc Explorer and at the URI "/system". 7 // displayed in Orthanc Explorer and at the URI "/system".
8 "Name" : "MyOrthanc", 8 "Name" : "MyOrthanc",
9 9
10 // Path to the directory that holds the heavyweight files 10 // Path to the directory that holds the heavyweight files
11 // (i.e. the raw DICOM instances) 11 // (i.e. the raw DICOM instances)
12 "StorageDirectory" : "OrthancStorage", 12 "StorageDirectory" : "OrthancStorage",
13 13
14 // Path to the directory that holds the SQLite index (if unset, 14 // Path to the directory that holds the SQLite index (if unset,
15 // the value of StorageDirectory is used). This index could be 15 // the value of StorageDirectory is used). This index could be
16 // stored on a RAM-drive or a SSD device for performance reasons. 16 // stored on a RAM-drive or a SSD device for performance reasons.
17 "IndexDirectory" : "OrthancStorage", 17 "IndexDirectory" : "OrthancStorage",
18 18
19 // Enable the transparent compression of the DICOM instances 19 // Enable the transparent compression of the DICOM instances
20 "StorageCompression" : false, 20 "StorageCompression" : false,
21 21
22 // Maximum size of the storage in MB (a value of "0" indicates no 22 // Maximum size of the storage in MB (a value of "0" indicates no
23 // limit on the storage size) 23 // limit on the storage size)
24 "MaximumStorageSize" : 0, 24 "MaximumStorageSize" : 0,
25 25
26 // Maximum number of patients that can be stored at a given time 26 // Maximum number of patients that can be stored at a given time
27 // in the storage (a value of "0" indicates no limit on the number 27 // in the storage (a value of "0" indicates no limit on the number
28 // of patients) 28 // of patients)
29 "MaximumPatientCount" : 0, 29 "MaximumPatientCount" : 0,
30 30
31 // List of paths to the custom Lua scripts to load into this 31 // List of paths to the custom Lua scripts to load into this
32 // instance of Orthanc 32 // instance of Orthanc
33 "LuaScripts" : [ 33 "LuaScripts" : [
34 ], 34 ],
35
36 // Dictionary of the user-specific metadata. Each entry must map a
37 // number between 1024 and 65535 to an unique string.
38 "UserMetadata" : {
39 // "Sample" : 1024
40 },
35 41
36 42
37 43
38 /** 44 /**
39 * Configuration of the HTTP server 45 * Configuration of the HTTP server
40 **/ 46 **/
41 47
42 // HTTP port for the REST services and for the GUI 48 // HTTP port for the REST services and for the GUI
43 "HttpPort" : 8042, 49 "HttpPort" : 8042,
44 50
45 51
46 52
47 /** 53 /**
48 * Configuration of the DICOM server 54 * Configuration of the DICOM server
49 **/ 55 **/
50 56
51 // The DICOM Application Entity Title 57 // The DICOM Application Entity Title
52 "DicomAet" : "ORTHANC", 58 "DicomAet" : "ORTHANC",
53 59
54 // Check whether the called AET corresponds during a DICOM request 60 // Check whether the called AET corresponds during a DICOM request
55 "DicomCheckCalledAet" : false, 61 "DicomCheckCalledAet" : false,
56 62
57 // The DICOM port 63 // The DICOM port
58 "DicomPort" : 4242, 64 "DicomPort" : 4242,
59 65
60 66
61 67
62 /** 68 /**
63 * Security-related options for the HTTP server 69 * Security-related options for the HTTP server
64 **/ 70 **/
65 71
66 // Whether remote hosts can connect to the HTTP server 72 // Whether remote hosts can connect to the HTTP server
67 "RemoteAccessAllowed" : false, 73 "RemoteAccessAllowed" : false,
68 74
69 // Whether or not SSL is enabled 75 // Whether or not SSL is enabled
70 "SslEnabled" : false, 76 "SslEnabled" : false,
71 77
72 // Path to the SSL certificate (meaningful only if SSL is enabled) 78 // Path to the SSL certificate (meaningful only if SSL is enabled)
73 "SslCertificate" : "certificate.pem", 79 "SslCertificate" : "certificate.pem",
74 80
75 // Whether or not the password protection is enabled 81 // Whether or not the password protection is enabled
76 "AuthenticationEnabled" : false, 82 "AuthenticationEnabled" : false,
77 83
78 // The list of the registered users. Because Orthanc uses HTTP 84 // The list of the registered users. Because Orthanc uses HTTP
79 // Basic Authentication, the passwords are stored as plain text. 85 // Basic Authentication, the passwords are stored as plain text.
80 "RegisteredUsers" : { 86 "RegisteredUsers" : {
81 "alice" : "alicePassword" 87 // "alice" : "alicePassword"
82 }, 88 },
83 89
84 90
85 91
92 /**
93 * Network topology
94 **/
95
96 // The list of the known DICOM modalities
97 "DicomModalities" : {
86 /** 98 /**
87 * Network topology 99 * Uncommenting the following line would enable Orthanc to
100 * connect to an instance of the "storescp" open-source DICOM
101 * store (shipped in the DCMTK distribution) started by the
102 * command line "storescp 2000".
88 **/ 103 **/
104 // "sample" : [ "STORESCP", "localhost", 2000 ]
105 },
89 106
90 // The list of the known DICOM modalities 107 // The list of the known Orthanc peers (currently unused)
91 "DicomModalities" : { 108 "OrthancPeers" : {
92 /** 109 }
93 * Uncommenting the following line would enable Orthanc to
94 * connect to an instance of the "storescp" open-source DICOM
95 * store (shipped in the DCMTK distribution) started by the
96 * command line "storescp 2000".
97 **/
98 // "sample" : [ "STORESCP", "localhost", 2000 ]
99 },
100
101 // The list of the known Orthanc peers (currently unused)
102 "OrthancPeers" : {
103 }
104 } 110 }