mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 18:46:24 +05:00
Finished changing opts for Event Exporter
This commit is contained in:
committed by
Dan Christian Bogos
parent
ccf014451c
commit
ade725f667
0
apier/v1/apier_it_test.go
Normal file
0
apier/v1/apier_it_test.go
Normal file
@@ -428,15 +428,11 @@ const CGRATES_CFG_JSON = `
|
||||
"type": "*none", // exporter type
|
||||
"export_path": "/var/spool/cgrates/ees", // path where the exported events will be placed
|
||||
"opts": {
|
||||
|
||||
// General
|
||||
// "queueID": "cgrates_cdrs", // the queue id where events are exported
|
||||
|
||||
|
||||
// CSV
|
||||
// "csvFieldSeparator": ",", // separator used when reading the fields
|
||||
|
||||
|
||||
|
||||
// Elasticsearch options
|
||||
// "elsIndex": "", // ElsIndex
|
||||
// "elsIfPrimaryTerm": 0, // ElsIfPrimaryTerm
|
||||
@@ -464,14 +460,17 @@ const CGRATES_CFG_JSON = `
|
||||
// Kafka
|
||||
// "kafkaTopic": "cgrates", // the topic from where the events are exported
|
||||
|
||||
|
||||
|
||||
// AMQP
|
||||
// "amqpRoutingKey": "", // RoutingKey
|
||||
// "sqlExchange": "", // Exchange
|
||||
// "sqlExchangeType": "", // ExchangeType
|
||||
|
||||
// "amqpQueueID": "cgrates_cdrs", // the queue id for AMQP exporters from were the events are exported
|
||||
// "amqpRoutingKey": "", // RoutingKey
|
||||
// "sqlExchange": "", // Exchange
|
||||
// "sqlExchangeType": "", // ExchangeType
|
||||
|
||||
|
||||
// SQS and S3
|
||||
// "sqsQueueID": "cgrates_cdrs", // the queue id for SQS exporters from were the events are exported
|
||||
// "s3BucketID": "cgrates_cdrs", // the bucket id for S3 readers from where the events that are exported
|
||||
// "awsRegion": "", // AWSRegion
|
||||
// "awsKey": "", // AWSKey
|
||||
// "awsSecret": "", // AWSSecret
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
},
|
||||
|
||||
"data_db": {
|
||||
"db_type": "*internal",
|
||||
"db_type": "*internal"
|
||||
},
|
||||
|
||||
|
||||
"stor_db": {
|
||||
"db_type": "*internal",
|
||||
"db_type": "*internal"
|
||||
},
|
||||
|
||||
|
||||
@@ -26,13 +26,13 @@
|
||||
|
||||
|
||||
"attributes": {
|
||||
"enabled": true,
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
|
||||
"chargers": {
|
||||
"enabled": true,
|
||||
"attributes_conns": ["*internal"],
|
||||
"attributes_conns": ["*internal"]
|
||||
},
|
||||
|
||||
|
||||
@@ -56,8 +56,8 @@
|
||||
"tenant": "cgrates.org",
|
||||
"attempts": 1,
|
||||
"fields":[
|
||||
{"tag": "RequiredTemplate","type": "*template", "value": "requiredFields"},
|
||||
],
|
||||
{"tag": "RequiredTemplate","type": "*template", "value": "requiredFields"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "amqp_localhost",
|
||||
@@ -72,8 +72,8 @@
|
||||
"tenant": "cgrates.org",
|
||||
"attempts": 20,
|
||||
"fields":[
|
||||
{"tag": "RequiredTemplate","type": "*template", "value": "requiredFields"},
|
||||
],
|
||||
{"tag": "RequiredTemplate","type": "*template", "value": "requiredFields"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "aws_test_file",
|
||||
@@ -85,8 +85,8 @@
|
||||
"tenant": "cgrates.org",
|
||||
"attempts": 1,
|
||||
"fields":[
|
||||
{"tag": "RequiredTemplate","type": "*template", "value": "requiredFields"},
|
||||
],
|
||||
{"tag": "RequiredTemplate","type": "*template", "value": "requiredFields"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "sqs_test_file",
|
||||
@@ -103,21 +103,21 @@
|
||||
"tenant": "cgrates.org",
|
||||
"attempts": 1,
|
||||
"fields":[
|
||||
{"tag": "RequiredTemplate","type": "*template", "value": "requiredFields"},
|
||||
],
|
||||
{"tag": "RequiredTemplate","type": "*template", "value": "requiredFields"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "kafka_localhost",
|
||||
"type": "*kafka_json_map",
|
||||
"export_path": "127.0.0.1:9092",
|
||||
"opts":{
|
||||
"kafkaTopic": "cgrates_cdrs",
|
||||
"kafkaTopic": "cgrates_cdrs"
|
||||
},
|
||||
"tenant": "cgrates.org",
|
||||
"attempts": 10,
|
||||
"fields":[
|
||||
{"tag": "RequiredTemplate","type": "*template", "value": "requiredFields"},
|
||||
],
|
||||
{"tag": "RequiredTemplate","type": "*template", "value": "requiredFields"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "s3_test_file",
|
||||
@@ -134,10 +134,10 @@
|
||||
"tenant": "cgrates.org",
|
||||
"attempts": 1,
|
||||
"fields":[
|
||||
{"tag": "RequiredTemplate","type": "*template", "value": "requiredFields"},
|
||||
],
|
||||
},
|
||||
],
|
||||
{"tag": "RequiredTemplate","type": "*template", "value": "requiredFields"}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
|
||||
0
ers/s3_test.go
Normal file
0
ers/s3_test.go
Normal file
Reference in New Issue
Block a user