Commit Graph

8351 Commits

Author SHA1 Message Date
TeoV
bf10cc1fc5 Add posibility to change Tenant from CGREvent with AttributeS for CDRs and ChargerS 2019-05-17 12:41:46 +02:00
TeoV
e5ed5aea4e Disabled Apier through dispatcher until we figured out a better sollution for gob 2019-05-17 12:41:46 +02:00
TeoV
e1d92f4f6d Update compose_filter_indexes to rebuild indexes for *any context 2019-05-17 12:41:46 +02:00
TeoV
5cb5fb5661 Add benchmark tests for JSON and GOB in sessions_bench_test.go 2019-05-17 12:41:46 +02:00
TeoV
648911d82b Add test for apier with dispatcher 2019-05-17 12:41:46 +02:00
TeoV
fbc9f2332d Add CustomJSONCoded in case that Apier is active on the same engine with dispatcher 2019-05-17 12:41:46 +02:00
TeoV
b86d83b2e8 Add json_codec 2019-05-17 12:41:46 +02:00
DanB
bed6386bed DispatcherS proper detection of RouteID 2019-05-17 11:07:27 +02:00
DanB
04ea7f0d8f DispatcherS - remove dependency on ArgDispatcher for non auth-ed reqs 2019-05-17 10:56:44 +02:00
Anthony Somerset
486504a64d fixing rsyslog initial install permissions 2019-05-15 11:25:13 +02:00
Tripon Alexandru-Ionut
1db551c932 Updated NavigableMap FieldAsInterface 2019-05-14 20:03:07 +02:00
Tripon Alexandru-Ionut
d51fdaf90a Added SortedSuppliers in NavigableMap for V1ProcessEventReply and V1AuthorizeReply 2019-05-14 20:03:07 +02:00
Tripon Alexandru-Ionut
c40faf5ab3 Added integration tests for AsActiveSessionsCount 2019-05-14 20:03:07 +02:00
TeoV
51e2ab9206 Add *generic in balance_rating_subject 2019-05-14 09:22:10 +02:00
TeoV
aaf54e5c1c Add *monetary in balance_rating_subject 2019-05-14 09:22:10 +02:00
TeoV
1225d5e05d Add option for balance_rating_subject in RALs section of config 2019-05-14 09:22:10 +02:00
TeoV
9db3cf3dfa Add test for cdrs for taking the whole RatingFilters as JSON string 2019-05-13 12:47:14 +02:00
TeoV
75f63bb349 Adding LoaderS into startRpc routine 2019-05-13 12:47:14 +02:00
TeoV
48d7c320ca Add test for RFC3339 time format fixes #257 2019-05-13 12:47:14 +02:00
TeoV
60fbbc254d Add test for special case when taking value from cdr for export 2019-05-13 12:47:14 +02:00
TeoV
495fa16257 Correct variable names and remove duplicate name in logs 2019-05-13 12:47:14 +02:00
Tripon Alexandru-Ionut
34aa65e853 Updated session indexing 2019-05-13 12:41:25 +02:00
Tripon Alexandru-Ionut
2b1de7cec9 Updated sessions tests 2019-05-13 12:41:25 +02:00
Tripon Alexandru-Ionut
4c1311e1e8 Updated unindexSession 2019-05-13 12:41:25 +02:00
Tripon Alexandru-Ionut
935df9d3a3 Updated indexSession 2019-05-13 12:41:25 +02:00
Tripon Alexandru-Ionut
002b9ac933 Updated SessionS.asActiveSessions to accept filters 2019-05-13 12:41:25 +02:00
Tripon Alexandru-Ionut
024b1f765e Moved regexp.MustCompile outside functions 2019-05-13 12:41:25 +02:00
Tripon Alexandru-Ionut
6411b2afaf Added new sessions benchmark test 2019-05-13 12:41:25 +02:00
TeoV
ce1418a19f Update DNSAgent template for attributes and correct form of NAPTRReplacement 2019-05-10 06:50:00 +02:00
TeoV
2a90b270f6 Update CacheSv1 API's to accept ArgDispatcher parameters 2019-05-10 06:50:00 +02:00
TeoV
f4eba504a5 Update CacheSv1 API's with ArgDispatcher 2019-05-10 06:50:00 +02:00
TeoV
ef3d7484ce Rename -migrate to -exec for cgr-migrator 2019-05-10 06:50:00 +02:00
TeoV
fc3539a257 Add posibility to consume SupplierPaginator for Authoize and ProcessEvent in SessionS 2019-05-10 06:50:00 +02:00
TeoV
d1277fe83c Rename tests with the right ones 2019-05-10 06:50:00 +02:00
DanB
c6e9a37804 DNSAgent - updating integration test with attributes sample 2019-05-08 22:28:03 +02:00
TeoV
fcdb6dcf29 CDRExported templates accept fields from CostDetails(eg: ~CostDetails.AccountSummary.ID) from CDR fixes #953 #252 2019-05-07 16:47:28 +02:00
TeoV
47e7e67f42 Add test for special cases for account with multiple balance of the same type 2019-05-07 16:28:34 +02:00
TeoV
d9de22cb55 Add support for *none as FieldID in AgentRequest 2019-05-07 16:28:34 +02:00
TeoV
d9af358ae9 Adding test making sure utils.InitAttrReloadCache does not produce nil items 2019-05-07 16:28:34 +02:00
TeoV
613a6e56a0 Add GetSuppliers when we do SessionSv1.ProcessEvent 2019-05-07 16:28:34 +02:00
TeoV
b9b9194b92 Removes SMGenericV2 constants 2019-05-07 16:28:34 +02:00
TeoV
c8db8f2798 Add protection in case of disconnect from terminateSession fixes #1531 2019-05-06 12:29:21 +02:00
TeoV
cfad8290ae Update integration tests for dispatchers 2019-05-06 12:29:21 +02:00
TeoV
032a572ca8 Add paginator for GetActiveSessions and GetPassiveSessions 2019-05-06 12:29:21 +02:00
DanB
4808861bc6 Update rpcclient version to cover concurrency on reconnect 2019-05-05 17:10:26 +02:00
TeoV
7f4dd1600a Correctly scripts from tutorial/osips/ to have the right path 2019-05-03 17:47:42 +02:00
TeoV
0e5e759b89 Use IfaceAs* inside FieldAs* for CGREvent 2019-05-03 17:47:42 +02:00
TeoV
d5e5cdd972 Remove manual adding of charger in sessions and agents integration tests 2019-05-03 17:47:42 +02:00
Tripon Alexandru-Ionut
cead68b435 Updated parameters for console commands 2019-05-03 17:04:10 +03:00
TeoV
b35af23bcd Use const name from utils and beautify the code 2019-05-02 21:31:01 +02:00