|
23 | 23 | "host": "127.0.0.1", |
24 | 24 | "port": 9000 |
25 | 25 | }, |
| 26 | + "mongo": { |
| 27 | + "replicaSetHosts": |
| 28 | + "localhost:27017,localhost:27018,localhost:27019", |
| 29 | + "writeConcern": "majority", |
| 30 | + "replicaSet": "rs0", |
| 31 | + "readPreference": "primary", |
| 32 | + "database": "metadata" |
| 33 | + }, |
26 | 34 | "probeServer": { |
27 | 35 | "bindAddress": "localhost", |
28 | 36 | "port": 4042 |
|
37 | 45 | "port": 8000 |
38 | 46 | }, |
39 | 47 | "auth": { |
40 | | - "type": "account", |
41 | | - "account": "bart", |
| 48 | + "type": "role", |
42 | 49 | "vault": { |
43 | 50 | "host": "127.0.0.1", |
44 | 51 | "port": 8500, |
45 | | - "adminPort": 8600 |
| 52 | + "adminPort": 8600, |
| 53 | + "adminCredentialsFile": "/home/scality/backbeat/node_modules/vaultclient/tests/utils/admincredentials.json" |
46 | 54 | } |
47 | 55 | } |
48 | 56 | }, |
49 | 57 | "destination": { |
50 | 58 | "transport": "http", |
51 | 59 | "bootstrapList": [ |
52 | | - { "site": "sf", "servers": ["127.0.0.1:8001"], "echo": false }, |
53 | | - { "site": "aws-location", "type": "aws_s3" } |
| 60 | + { "site": "sf", "servers": ["127.0.0.1:8000"], "echo": false } |
54 | 61 | ], |
55 | 62 | "auth": { |
56 | | - "type": "service", |
57 | | - "account": "service-replication", |
| 63 | + "type": "role", |
58 | 64 | "vault": { |
59 | 65 | "host": "127.0.0.1", |
60 | 66 | "port": 8500, |
61 | | - "adminPort": 8600 |
| 67 | + "adminPort": 8600, |
| 68 | + "adminCredentialsFile": "/home/scality/backbeat/node_modules/vaultclient/tests/utils/admincredentials.json" |
62 | 69 | } |
63 | 70 | } |
64 | 71 | }, |
65 | 72 | "topic": "backbeat-replication", |
| 73 | + "dataMoverTopic": "backbeat-data-mover", |
66 | 74 | "replicationStatusTopic": "backbeat-replication-status", |
67 | 75 | "replicationFailedTopic": "backbeat-replication-failed", |
68 | 76 | "monitorReplicationFailures": true, |
|
75 | 83 | ], |
76 | 84 | "queueProcessor": { |
77 | 85 | "groupId": "backbeat-replication-group", |
78 | | - "retryTimeoutS": 300, |
| 86 | + "retry": { |
| 87 | + "aws_s3": { |
| 88 | + "maxRetries": 5, |
| 89 | + "timeoutS": 900, |
| 90 | + "backoff": { |
| 91 | + "min": 60000, |
| 92 | + "max": 900000, |
| 93 | + "jitter": 0.1, |
| 94 | + "factor": 1.5 |
| 95 | + } |
| 96 | + }, |
| 97 | + "azure": { |
| 98 | + "maxRetries": 5, |
| 99 | + "timeoutS": 900, |
| 100 | + "backoff": { |
| 101 | + "min": 60000, |
| 102 | + "max": 900000, |
| 103 | + "jitter": 0.1, |
| 104 | + "factor": 1.5 |
| 105 | + } |
| 106 | + }, |
| 107 | + "gcp": { |
| 108 | + "maxRetries": 5, |
| 109 | + "timeoutS": 900, |
| 110 | + "backoff": { |
| 111 | + "min": 60000, |
| 112 | + "max": 900000, |
| 113 | + "jitter": 0.1, |
| 114 | + "factor": 1.5 |
| 115 | + } |
| 116 | + }, |
| 117 | + "scality": { |
| 118 | + "maxRetries": 5, |
| 119 | + "timeoutS": 300, |
| 120 | + "backoff": { |
| 121 | + "min": 1000, |
| 122 | + "max": 300000, |
| 123 | + "jitter": 0.1, |
| 124 | + "factor": 1.5 |
| 125 | + } |
| 126 | + } |
| 127 | + }, |
79 | 128 | "concurrency": 10, |
80 | 129 | "mpuPartsConcurrency": 10, |
81 | | - "probeServer": [ |
82 | | - { |
83 | | - "site": "aws-location", |
84 | | - "bindAddress": "localhost", |
85 | | - "port": "4043" |
86 | | - }, { |
87 | | - "site" : "us-east-1", |
88 | | - "bindAddress": "localhost", |
89 | | - "port": "4044" |
90 | | - } |
91 | | - ] |
| 130 | + "probeServer": { |
| 131 | + "bindAddress": "localhost", |
| 132 | + "port": 4043 |
| 133 | + } |
92 | 134 | }, |
93 | 135 | "replicationStatusProcessor": { |
94 | 136 | "groupId": "backbeat-replication-group", |
95 | | - "retryTimeoutS": 300, |
96 | 137 | "concurrency": 10, |
97 | | - "logConsumerMetricsIntervalS": 60, |
98 | 138 | "probeServer": { |
99 | 139 | "bindAddress": "localhost", |
100 | 140 | "port": 4045 |
|
142 | 182 | "conductor": { |
143 | 183 | "backlogControl": { "enabled": true }, |
144 | 184 | "cronRule": "*/5 * * * * *", |
145 | | - "concurrency": 10 |
| 185 | + "concurrency": 10, |
| 186 | + "probeServer": { |
| 187 | + "bindAddress": "0.0.0.0", |
| 188 | + "port": 8552 |
| 189 | + } |
146 | 190 | }, |
147 | 191 | "bucketProcessor": { |
148 | 192 | "groupId": "backbeat-lifecycle-bucket-processor-group", |
|
156 | 200 | "factor": 1.5 |
157 | 201 | } |
158 | 202 | }, |
159 | | - "concurrency": 10 |
| 203 | + "concurrency": 10, |
| 204 | + "probeServer": { |
| 205 | + "bindAddress": "0.0.0.0", |
| 206 | + "port": 8553 |
| 207 | + } |
160 | 208 | }, |
161 | 209 | "objectProcessor": { |
162 | 210 | "groupId": "backbeat-lifecycle-object-processor-group", |
|
170 | 218 | "factor": 1.5 |
171 | 219 | } |
172 | 220 | }, |
173 | | - "concurrency": 10 |
| 221 | + "concurrency": 10, |
| 222 | + "probeServer": { |
| 223 | + "bindAddress": "0.0.0.0", |
| 224 | + "port": 8554 |
| 225 | + } |
174 | 226 | } |
175 | 227 | } |
176 | 228 | }, |
|
0 commit comments