Added missing tenant in opts config

This commit is contained in:
porosnicuadrian
2021-10-14 17:05:17 +03:00
committed by Dan Christian Bogos
parent 8f6d7ff5ab
commit a90628a0c8
4 changed files with 41 additions and 13 deletions

View File

@@ -27,6 +27,7 @@
"opts":{
"*processRuns": [
{
"Tenant": "*any",
"Value": 2,
},
], //
@@ -42,28 +43,33 @@
"opts": {
"*chargerS": [
{
"Tenant": "*any",
"FilterIDs": ["*notstring:~*req.Account:sipp"],
"Value": true,
},
],
"*rateS": [
{
"Tenant": "*any",
"FilterIDs": ["*notstring:~*req.Account:sipp|1001"],
"Value": true,
},
{
"Tenant": "*any",
"FilterIDs": ["*string:~*req.RunID:customers"],
"Value": true,
},
],
"*accountS": [
{
"Tenant": "*any",
"FilterIDs": ["*string:~*req.Account:1001", "*string:~*req.RunID:suppliers"],
"Value": true,
},
],
"*eeS": [
{
"Tenant": "*any",
"Value": true,
},
],
@@ -93,7 +99,8 @@
"opts":{
"*profileIgnoreFilters": [
{
"Value": "true",
"Tenant": "*any",
"Value": true,
},
],
},
@@ -105,6 +112,7 @@
"opts":{
"*usage": [
{
"Tenant": "*any",
"Value": "1m",
},
],
@@ -129,6 +137,7 @@
"opts":{
"*ignoreErrors": [
{
"Tenant": "*any",
"Value": true,
},
],

View File

@@ -32,6 +32,7 @@
"opts":{ //
"*processRuns": [
{
"Tenant": "*any",
"Value": 2,
},
],
@@ -47,28 +48,33 @@
"opts": {
"*chargerS": [
{
"Tenant": "*any",
"FilterIDs": ["*notstring:~*req.Account:sipp"],
"Value": true,
},
],
"*rateS": [
{
"Tenant": "*any",
"FilterIDs": ["*notstring:~*req.Account:sipp|1001"],
"Value": true,
},
{
"Tenant": "*any",
"FilterIDs": ["*string:~*req.RunID:customers"],
"Value": true,
},
],
"*accountS": [
{
"Tenant": "*any",
"FilterIDs": ["*string:~*req.Account:1001", "*string:~*req.RunID:suppliers"],
"Value": true,
},
],
"*eeS": [
{
"Tenant": "*any",
"Value": true,
},
],
@@ -98,7 +104,8 @@
"opts":{
"*profileIgnoreFilters": [
{
"Value": "true",
"Tenant": "*any",
"Value": true,
},
],
},
@@ -110,6 +117,7 @@
"opts":{
"*usage": [
{
"Tenant": "*any",
"Value": "1m",
},
],
@@ -133,6 +141,7 @@
"rates_conns": ["*localhost"],
"*ignoreErrors": [
{
"Tenant": "*any",
"Value": true,
},
],

View File

@@ -8,16 +8,16 @@
"reply_timeout": "10s",
},
"data_db": { // database used to store runtime data (eg: accounts, cdr stats)
"db_type": "redis", // data_db type: <redis|mongo>
"db_port": 6379, // data_db port to reach the database
"db_name": "10", // data_db database name to connect to
"data_db": { // database used to store runtime data (eg: accounts, cdr stats)
"db_type": "redis", // data_db type: <redis|mongo>
"db_port": 6379, // data_db port to reach the database
"db_name": "10", // data_db database name to connect to
},
"stor_db": {
"db_password": "CGRateS.org",
"db_password": "CGRateS.org",
},
"sessions": {
"enabled": true,
"routes_conns": ["*localhost"],
@@ -29,6 +29,7 @@
"opts":{ //
"*processRuns": [
{
"Tenant": "*any",
"Value": 2,
},
],
@@ -44,28 +45,33 @@
"opts": {
"*chargerS": [
{
"Tenant": "*any",
"FilterIDs": ["*notstring:~*req.Account:sipp"],
"Value": true,
},
],
"*rateS": [
{
"Tenant": "*any",
"FilterIDs": ["*notstring:~*req.Account:sipp|1001"],
"Value": true,
},
{
"Tenant": "*any",
"FilterIDs": ["*string:~*req.RunID:customers"],
"Value": true,
},
],
"*accountS": [
{
"Tenant": "*any",
"FilterIDs": ["*string:~*req.Account:1001", "*string:~*req.RunID:suppliers"],
"Value": true,
},
],
"*eeS": [
{
"Tenant": "*any",
"Value": true,
},
],
@@ -93,9 +99,10 @@
"rate_string_indexed_fields": [],
"rate_prefix_indexed_fields": ["*req.Destination"],
"opts":{
"*usage": [
"*profileIgnoreFilters": [
{
"Value": "1m",
"Tenant": "*any",
"Value": true,
},
],
},
@@ -107,6 +114,7 @@
"opts":{
"*usage": [
{
"Tenant": "*any",
"Value": "1m",
},
],
@@ -130,6 +138,7 @@
"rates_conns": ["*localhost"],
"*ignoreErrors": [
{
"Tenant": "*any",
"Value": true,
},
],