diff OrthancServer/Resources/Configuration.json @ 4623:95ffe3b6ef7c db-changes

handling of revisions for metadata
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Apr 2021 17:13:03 +0200
parents 2c702cfae274
children c8886cd6cae8
line wrap: on
line diff
--- a/OrthancServer/Resources/Configuration.json	Fri Apr 16 10:48:57 2021 +0200
+++ b/OrthancServer/Resources/Configuration.json	Fri Apr 16 17:13:03 2021 +0200
@@ -768,16 +768,27 @@
   // network protocol, expressed in bytes. This value affects both
   // Orthanc SCU and Orthanc SCP. It defaults to 16KB. The allowed
   // range is [4096,131072]. (new in Orthanc 1.9.0)
-  "MaximumPduLength" : 16384
+  "MaximumPduLength" : 16384,
 
   // Arbitrary identifier of this Orthanc server when storing its
-  // global properties if a custom database plugin is used. This
-  // option is only useful in the case of multiple readers/writers, in
-  // order to avoid collisions between multiple Orthanc servers. If
-  // unset, this identifier is taken as a SHA-1 hash derived from the
-  // MAC adddresses of the network interfaces, and from the AET and
-  // TCP ports used by Orthanc. (new in Orthanc 1.9.2)
+  // global properties if a custom index plugin is used. This
+  // identifier is only useful in the case of multiple
+  // readers/writers, in order to avoid collisions between multiple
+  // Orthanc servers. If unset, this identifier is taken as a SHA-1
+  // hash derived from the MAC adddresses of the network interfaces,
+  // and from the AET and TCP ports used by Orthanc. Manually setting
+  // this option is needed in Docker/Kubernetes environments. (new in
+  // Orthanc 1.9.2)
   /**
-     , "DatabaseServerIdentifier" : "Orthanc1"
+     "DatabaseServerIdentifier" : "Orthanc1",
   **/
+
+  // Whether Orthanc protects the modification of metadata and
+  // attachments using revisions, which is done using the HTTP headers
+  // "ETag", "If-Match" and "If-None-Match" in the calls to the REST
+  // API. This is needed to handle collisions between concurrent
+  // modifications in the case of multiple writers. The database
+  // back-end must support this option, which is notably *not* yet the
+  // case of the built-in SQLite index. (new in Orthanc 1.9.2)
+  "CheckRevisions" : false
 }