annotate NewTests/Concurrency/docker-compose-transfers-concurrency.yml @ 644:5806bd442a37 large-queries

new tests for /extended-api-v1/changes
author Alain Mazy <am@orthanc.team>
date Thu, 11 Apr 2024 19:04:16 +0200
parents 75dbc81d0e26
children 765446710507 694b048afad9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
1 version: "3"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
2 services:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
3
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
4 orthanc-pg-a:
616
a5882a40ccb6 rename osimis/orthanc to orthancteam/orthanc
Alain Mazy <am@osimis.io>
parents: 602
diff changeset
5 image: ${ORTHANC_IMAGE_UNDER_TESTS:-orthancteam/orthanc:latest}
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
6 container_name: orthanc-pg-a
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
7 depends_on: [pg-a]
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
8 restart: unless-stopped
602
d88b0fc15f08 change ports
Alain Mazy <am@osimis.io>
parents: 601
diff changeset
9 ports: ["8062:8042"]
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
10 volumes: ["storage-orthanc-a:/var/lib/orthanc/db"]
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
11 environment:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
12 # VERBOSE_ENABLED: "true"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
13 TRANSFERS_PLUGIN_ENABLED: "true"
622
75dbc81d0e26 fix concurrency transfer tests
Alain Mazy <am@osimis.io>
parents: 617
diff changeset
14 # disable DICOMWEB to avoid the metadata cache to consume disk space after StableStudy -> difficult to compare disk sizes
75dbc81d0e26 fix concurrency transfer tests
Alain Mazy <am@osimis.io>
parents: 617
diff changeset
15 DICOM_WEB_PLUGIN_ENABLED: "false"
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
16 ORTHANC__POSTGRESQL: |
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
17 {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
18 "Host": "pg-a",
617
Alain Mazy <am@osimis.io>
parents: 616
diff changeset
19 "TransactionMode": "ReadCommitted"
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
20 }
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
21 ORTHANC__AUTHENTICATION_ENABLED: "false"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
22 ORTHANC__ORTHANC_PEERS: |
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
23 {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
24 "a": {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
25 "Url": "http://orthanc-pg-a:8042/",
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
26 "RemoteSelf": "b"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
27 },
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
28 "b": {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
29 "Url": "http://orthanc-pg-b:8042/"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
30 }
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
31 }
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
32 ORTHANC__OVERWRITE_INSTANCES: "true"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
33
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
34 orthanc-pg-b:
616
a5882a40ccb6 rename osimis/orthanc to orthancteam/orthanc
Alain Mazy <am@osimis.io>
parents: 602
diff changeset
35 image: ${ORTHANC_IMAGE_UNDER_TESTS:-orthancteam/orthanc:latest}
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
36 container_name: orthanc-pg-b
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
37 depends_on: [pg-b]
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
38 restart: unless-stopped
602
d88b0fc15f08 change ports
Alain Mazy <am@osimis.io>
parents: 601
diff changeset
39 ports: ["8063:8042"]
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
40 volumes: ["storage-orthanc-b:/var/lib/orthanc/db"]
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
41 environment:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
42 # VERBOSE_ENABLED: "true"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
43 TRANSFERS_PLUGIN_ENABLED: "true"
622
75dbc81d0e26 fix concurrency transfer tests
Alain Mazy <am@osimis.io>
parents: 617
diff changeset
44 DICOM_WEB_PLUGIN_ENABLED: "false"
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
45 ORTHANC__POSTGRESQL: |
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
46 {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
47 "Host": "pg-b",
617
Alain Mazy <am@osimis.io>
parents: 616
diff changeset
48 "TransactionMode": "ReadCommitted"
601
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
49 }
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
50 ORTHANC__AUTHENTICATION_ENABLED: "false"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
51 ORTHANC__ORTHANC_PEERS: |
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
52 {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
53 "a": {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
54 "Url": "http://orthanc-pg-a:8042/",
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
55 "RemoteSelf": "b"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
56 },
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
57 "b": {
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
58 "Url": "http://orthanc-pg-b:8042/"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
59 }
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
60 }
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
61 ORTHANC__OVERWRITE_INSTANCES: "true"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
62
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
63 pg-a:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
64 image: postgres:15
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
65 container_name: pg-a
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
66 restart: unless-stopped
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
67 volumes:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
68 - "storage-pg-a:/var/lib/postgresql/data"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
69 environment:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
70 POSTGRES_HOST_AUTH_METHOD: "trust"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
71
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
72 pg-b:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
73 image: postgres:15
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
74 container_name: pg-b
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
75 restart: unless-stopped
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
76 volumes:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
77 - "storage-pg-b:/var/lib/postgresql/data"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
78 environment:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
79 POSTGRES_HOST_AUTH_METHOD: "trust"
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
80
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
81 volumes:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
82 storage-orthanc-a:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
83 storage-orthanc-b:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
84 storage-pg-a:
3e15e950c462 new transfer tests in the concurrency section
Alain Mazy <am@osimis.io>
parents:
diff changeset
85 storage-pg-b: