diff NewTests/PostgresUpgrades/orthanc-for-integ-tests.json @ 599:f3475c3e42e5

run integ tests after a PG downgrade
author Alain Mazy <am@osimis.io>
date Thu, 18 Jan 2024 17:46:54 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NewTests/PostgresUpgrades/orthanc-for-integ-tests.json	Thu Jan 18 17:46:54 2024 +0100
@@ -0,0 +1,194 @@
+// how to obtain this file:
+// in orthanc-tests: generate the configuration file with python2 ./GenerateConfigurationForTests.py
+// then, paste it here and:
+// - remove the Plugins section
+// - remove the PostgreSQL/MySQL/Odbc sections
+// - update the IP of OrthancPeers and DicomModalities: replace localhost by orthanc-tests for the first item
+// - update the Worklists.Database to "/worklists"
+// - update the StorageDirectory to "/var/lib/orthand/db/"
+{
+    "AcceptedTransferSyntaxes": [
+      "1.2.840.10008.1.*"
+     ], 
+     "AllowFindSopClassesInStudy": false, 
+     "AuthenticationEnabled": true, 
+     "BuiltinDecoderTranscoderOrder": "After", 
+     "CaseSensitivePN": false, 
+     "CheckRevisions": true, 
+     "ConcurrentJobs": 2, 
+     "DefaultEncoding": "Utf8", 
+     "DefaultPrivateCreator": "Lunit", 
+     "DeidentifyLogs": true, 
+     "DicomAet": "ORTHANC", 
+     "DicomAlwaysAllowEcho": true, 
+     "DicomAlwaysAllowFind": false, 
+     "DicomAlwaysAllowFindWorklist": false, 
+     "DicomAlwaysAllowGet": false, 
+     "DicomAlwaysAllowMove": false, 
+     "DicomAlwaysAllowStore": true, 
+     "DicomAssociationCloseDelay": 0, 
+     "DicomCheckCalledAet": false, 
+     "DicomCheckModalityHost": false, 
+     "DicomEchoChecksFind": false, 
+     "DicomLossyTranscodingQuality": 90, 
+     "DicomModalities": {
+      "orthanctest": [
+       "ORTHANCTEST", 
+       "orthanc-tests", 
+       5001
+      ], 
+      "self": [
+       "ORTHANC", 
+       "127.0.0.1", 
+       4242
+      ]
+     }, 
+     "DicomModalitiesInDatabase": false, 
+     "DicomPort": 4242, 
+     "DicomScpTimeout": 30, 
+     "DicomScuPreferredTransferSyntax": "1.2.840.10008.1.2.1", 
+     "DicomScuTimeout": 10, 
+     "DicomServerEnabled": true, 
+     "DicomThreadsCount": 4, 
+     "DicomTlsEnabled": false, 
+     "DicomTlsRemoteCertificateRequired": true, 
+     "DicomWeb": {
+      "Servers": {
+       "sample": [
+        "http://localhost:8042/dicom-web/", 
+        "alice", 
+        "orthanctest"
+       ]
+      }
+     }, 
+     "Dictionary": {
+      "0009,0010": [
+       "LO", 
+       "Private data element", 
+       1, 
+       1, 
+       "Lunit"
+      ], 
+      "0009,1001": [
+       "DS", 
+       "Abnormality score", 
+       1, 
+       1, 
+       "Lunit"
+      ], 
+      "00e1,10c2": [
+       "UI", 
+       "PET-CT Multi Modality Name", 
+       1, 
+       1, 
+       "ELSCINT1"
+      ], 
+      "4321,1012": [
+       "LO", 
+       "RadioButton3", 
+       1, 
+       1, 
+       "RadioLogic"
+      ], 
+      "7053,1003": [
+       "ST", 
+       "Original Image Filename", 
+       1, 
+       1, 
+       "Philips PET Private Group"
+      ]
+     }, 
+     "ExecuteLuaEnabled": true, 
+     "HttpCompressionEnabled": false, 
+     "HttpDescribeErrors": true, 
+     "HttpPort": 8042, 
+     "HttpProxy": "", 
+     "HttpRequestTimeout": 30, 
+     "HttpServerEnabled": true, 
+     "HttpThreadsCount": 50, 
+     "HttpTimeout": 2, 
+     "HttpVerbose": false, 
+     "HttpsCACertificates": "/etc/ssl/certs/ca-certificates.crt", 
+     "HttpsVerifyPeers": true, 
+     "IndexDirectory": "/var/lib/orthanc/db/", 
+     "IngestTranscodingOfCompressed": true, 
+     "IngestTranscodingOfUncompressed": true, 
+     "JobsHistorySize": 1000, 
+     "LimitFindInstances": 0, 
+     "LimitFindResults": 0, 
+     "LoadPrivateDictionary": true, 
+     "LogExportedResources": true, 
+     "LuaScripts": [], 
+     "MallocArenaMax": 5, 
+     "MaximumPatientCount": 0, 
+     "MaximumPduLength": 16384, 
+     "MaximumStorageCacheSize": 128, 
+     "MaximumStorageSize": 0, 
+     "MediaArchiveSize": 1, 
+     "MetricsEnabled": true, 
+     "Name": "MyOrthanc", 
+   "OrthancExplorerEnabled": true, 
+   "OrthancPeers": {
+    "peer": [
+     "http://orthanc-tests:5000/", 
+     "alice", 
+     "orthanctest"
+    ], 
+    "self": {
+     "Password": "orthanctest", 
+     "Url": "http://127.0.0.1:8042/", 
+     "Username": "alice"
+    }, 
+    "transfers-bidirectional": {
+     "Password": "orthanctest", 
+     "RemoteSelf": "transfers-bidirectional", 
+     "Url": "http://localhost:8042/", 
+     "Username": "alice"
+    }, 
+    "transfers-simple": {
+     "Password": "orthanctest", 
+     "Url": "http://localhost:8042/", 
+     "Username": "alice"
+    }
+   }, 
+   "OrthancPeersInDatabase": false, 
+   "OverwriteInstances": true, 
+   "QueryRetrieveSize": 100, 
+   "RegisteredUsers": {
+    "alice": "orthanctest"
+   }, 
+   "RemoteAccessAllowed": true, 
+   "SaveJobs": false, 
+   "SslCertificate": "certificate.pem", 
+   "SslEnabled": false, 
+   "SslMinimumProtocolVersion": 4, 
+   "SslTrustedClientCertificates": "trustedClientCertificates.pem", 
+   "SslVerifyPeers": false, 
+   "StableAge": 1, 
+   "StorageAccessOnFind": "Always", 
+   "StorageCommitmentReportsSize": 100, 
+   "StorageCompression": false, 
+   "StorageDirectory": "/var/lib/orthanc/db/", 
+   "StoreDicom": true, 
+   "StoreMD5ForAttachments": true, 
+   "StrictAetComparison": false, 
+   "SyncStorageArea": false, 
+   "SynchronousCMove": false, 
+   "SynchronousZipStream": true, 
+   "TcpNoDelay": true, 
+   "TranscodeDicomProtocol": true, 
+   "UnknownSopClassAccepted": false, 
+   "UserContentType": {}, 
+   "UserMetadata": {
+     "my-metadata": 1098
+   },
+   "WebDavDeleteAllowed": true, 
+   "WebDavEnabled": true, 
+   "WebDavUploadAllowed": true, 
+   "Worklists": {
+     "Database": "/worklists", 
+     "Enable": true
+   }, 
+   "ZipLoaderThreads": 0
+  }
+  
\ No newline at end of file