mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 07:38:45 +05:00
Added DSN opts for exporter sql
This commit is contained in:
committed by
Dan Christian Bogos
parent
b2e84bfdf0
commit
89a9cd8598
@@ -437,6 +437,10 @@
|
||||
"sqlMaxIdleConns": 10,
|
||||
"sqlMaxOpenConns": 100,
|
||||
"sqlConnMaxLifetime": "0",
|
||||
"sqlDSNParams": {
|
||||
"allowOldPasswords": "true",
|
||||
"allowNativePasswords": "true",
|
||||
},
|
||||
},
|
||||
"fields":[ // in case that the path is *exp.*row user must complete all the fields one to one with his sql schema in the correct order
|
||||
{"tag": "CGRID", "path": "*exp.*row", "type": "*group", "value": "~*req.CGRID"},
|
||||
@@ -457,6 +461,7 @@
|
||||
"sqlMaxIdleConns": 10,
|
||||
"sqlMaxOpenConns": 100,
|
||||
"sqlConnMaxLifetime": "0",
|
||||
|
||||
},
|
||||
"fields":[ // the path constains *exp.columnName
|
||||
{"tag": "CGRID", "path": "*exp.cgrid", "type": "*variable", "value": "~*req.CGRID"},
|
||||
|
||||
Reference in New Issue
Block a user