mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 23:28:44 +05:00
Added new api for exporter -ArchiveEventsAsReply + test
This commit is contained in:
committed by
Dan Christian Bogos
parent
9f63cf2b01
commit
2e6e553f3f
@@ -609,6 +609,7 @@ func TestNewAttrReloadCacheWithOptsFromMap(t *testing.T) {
|
||||
mp[k] = []string{MetaAny}
|
||||
}
|
||||
}
|
||||
|
||||
exp := NewAttrReloadCacheWithOpts()
|
||||
rply := NewAttrReloadCacheWithOptsFromMap(mp, "", nil)
|
||||
if !reflect.DeepEqual(exp, rply) {
|
||||
@@ -618,5 +619,4 @@ func TestNewAttrReloadCacheWithOptsFromMap(t *testing.T) {
|
||||
if !reflect.DeepEqual(mp, rplyM) {
|
||||
t.Errorf("Expected %+v \n, received %+v", ToJSON(mp), ToJSON(rplyM))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -565,6 +565,7 @@ const (
|
||||
MetaEventCost = "*event_cost"
|
||||
MetaPositiveExports = "*positive_exports"
|
||||
MetaNegativeExports = "*negative_exports"
|
||||
MetaBuffer = "*buffer"
|
||||
MetaRoutesEventCost = "*routesEventCost"
|
||||
Freeswitch = "freeswitch"
|
||||
Kamailio = "kamailio"
|
||||
@@ -772,6 +773,7 @@ const (
|
||||
MetaCdrLog = "*cdrLog"
|
||||
MetaCDR = "*cdr"
|
||||
MetaExporterIDs = "*exporterIDs"
|
||||
MetaExporterID = "*exporterID"
|
||||
MetaAsync = "*async"
|
||||
MetaUsage = "*usage"
|
||||
MetaStartTime = "*startTime"
|
||||
@@ -1498,9 +1500,10 @@ const (
|
||||
|
||||
// EEs
|
||||
const (
|
||||
EeSv1 = "EeSv1"
|
||||
EeSv1Ping = "EeSv1.Ping"
|
||||
EeSv1ProcessEvent = "EeSv1.ProcessEvent"
|
||||
EeSv1 = "EeSv1"
|
||||
EeSv1Ping = "EeSv1.Ping"
|
||||
EeSv1ProcessEvent = "EeSv1.ProcessEvent"
|
||||
EeSv1ArchiveEventsAsReply = "EeSv1.ArchiveEventsAsReply"
|
||||
)
|
||||
|
||||
// ActionProfile APIs
|
||||
|
||||
Reference in New Issue
Block a user