From 93a3efa8ac9766eda450c1ec51435e827c81b822 Mon Sep 17 00:00:00 2001 From: adragusin Date: Thu, 9 Jan 2020 16:48:02 +0200 Subject: [PATCH] Added new config files for integration tests --- .../filtered_scheduler2_internal/cgrates.json | 47 +++++++++++++++++ .../filtered_scheduler2_mongo/cgrates.json | 47 +++++++++++++++++ .../filtered_scheduler_internal/cgrates.json | 46 +++++++++++++++++ .../filtered_scheduler_mongo/cgrates.json | 50 +++++++++++++++++++ 4 files changed, 190 insertions(+) create mode 100644 data/conf/samples/filtered_scheduler2_internal/cgrates.json create mode 100644 data/conf/samples/filtered_scheduler2_mongo/cgrates.json create mode 100644 data/conf/samples/filtered_scheduler_internal/cgrates.json create mode 100644 data/conf/samples/filtered_scheduler_mongo/cgrates.json diff --git a/data/conf/samples/filtered_scheduler2_internal/cgrates.json b/data/conf/samples/filtered_scheduler2_internal/cgrates.json new file mode 100644 index 000000000..a5728cada --- /dev/null +++ b/data/conf/samples/filtered_scheduler2_internal/cgrates.json @@ -0,0 +1,47 @@ +{ +// CGRateS Configuration file +// + + +"general": { + "log_level": 7, + "reply_timeout": "50s", +}, + + +"listen": { + "rpc_json": ":2012", + "rpc_gob": ":2013", + "http": ":2080", +}, + + +"data_db": { // database used to store runtime data (eg: accounts, cdr stats) + "db_type": "redis", // data_db type: + "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", +}, + + +"rals": { + "enabled": true, +}, + + +"schedulers": { + "enabled": true, + "filters": ["*suffix:~*act.AccountID:1002;1003"], +}, + + +"apier": { + "scheduler_conns": ["*internal"], +}, + + +} diff --git a/data/conf/samples/filtered_scheduler2_mongo/cgrates.json b/data/conf/samples/filtered_scheduler2_mongo/cgrates.json new file mode 100644 index 000000000..a5728cada --- /dev/null +++ b/data/conf/samples/filtered_scheduler2_mongo/cgrates.json @@ -0,0 +1,47 @@ +{ +// CGRateS Configuration file +// + + +"general": { + "log_level": 7, + "reply_timeout": "50s", +}, + + +"listen": { + "rpc_json": ":2012", + "rpc_gob": ":2013", + "http": ":2080", +}, + + +"data_db": { // database used to store runtime data (eg: accounts, cdr stats) + "db_type": "redis", // data_db type: + "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", +}, + + +"rals": { + "enabled": true, +}, + + +"schedulers": { + "enabled": true, + "filters": ["*suffix:~*act.AccountID:1002;1003"], +}, + + +"apier": { + "scheduler_conns": ["*internal"], +}, + + +} diff --git a/data/conf/samples/filtered_scheduler_internal/cgrates.json b/data/conf/samples/filtered_scheduler_internal/cgrates.json new file mode 100644 index 000000000..4ae6b26d1 --- /dev/null +++ b/data/conf/samples/filtered_scheduler_internal/cgrates.json @@ -0,0 +1,46 @@ +{ + // CGRateS Configuration file + // + + + "general": { + "log_level": 7, + "reply_timeout": "50s", + }, + + + "listen": { + "rpc_json": ":2012", + "rpc_gob": ":2013", + "http": ":2080", + }, + + + "data_db": { + "db_type": "*internal", + }, + + + "stor_db": { + "db_type": "*internal", + }, + + + "rals": { + "enabled": true, + }, + + + "schedulers": { + "enabled": true, + "filters": ["*suffix:~*act.AccountID:1001"], + }, + + + "apier": { + "scheduler_conns": ["*internal"], + }, + + + } + \ No newline at end of file diff --git a/data/conf/samples/filtered_scheduler_mongo/cgrates.json b/data/conf/samples/filtered_scheduler_mongo/cgrates.json new file mode 100644 index 000000000..95101b923 --- /dev/null +++ b/data/conf/samples/filtered_scheduler_mongo/cgrates.json @@ -0,0 +1,50 @@ +{ + // CGRateS Configuration file + // + + + "general": { + "log_level": 7, + "reply_timeout": "50s", + }, + + + "listen": { + "rpc_json": ":2012", + "rpc_gob": ":2013", + "http": ":2080", + }, + + + "data_db": { + "db_type": "mongo", + "db_name": "10", + "db_port": 27017, + }, + + + "stor_db": { + "db_type": "mongo", + "db_name": "cgrates", + "db_port": 27017, + }, + + + "rals": { + "enabled": true, + }, + + + "schedulers": { + "enabled": true, + "filters": ["*suffix:~*act.AccountID:1001"], + }, + + + "apier": { + "scheduler_conns": ["*internal"], + }, + + + } + \ No newline at end of file