Skip to content

Commit 1b52dfc

Browse files
authored
[QC-1181] Doc for the common config file
1 parent 3c73db8 commit 1b52dfc

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

doc/Advanced.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,6 +1551,38 @@ should not be present in real configuration files.
15511551
}
15521552
```
15531553

1554+
#### Common configuration in production
1555+
1556+
In production at P2 and in staging, some common items are defined globally in the file `QC/general-config-params`:
1557+
- QCDB
1558+
- monitoring
1559+
- consul
1560+
- conditionDB
1561+
- bookkeeping
1562+
-
1563+
It is mandatory to use them by including the file:
1564+
```
1565+
"config": {
1566+
{% include "QC/general-config-params" %}
1567+
},
1568+
```
1569+
1570+
Other configuration items can still be added in your files as such (note the comma after the inclusion) :
1571+
```
1572+
"config": {
1573+
{% include "QC/general-config-params" %},
1574+
"infologger": {
1575+
"filterDiscardDebug": "false",
1576+
"filterDiscardLevel": "22"
1577+
},
1578+
"postprocessing": {
1579+
"matchAnyRunNumber": "true"
1580+
}
1581+
},
1582+
```
1583+
1584+
Please, do not use `Activity` in production !
1585+
15541586
### QC Tasks configuration
15551587

15561588
Below the full QC Task configuration structure is described. Note that more than one task might be declared inside in

0 commit comments

Comments
 (0)