Commit Graph

406 Commits

Author SHA1 Message Date
Trial97
b1b9a81fc1 Added RoundIncrement to EventCost 2020-10-08 11:16:01 +02:00
Trial97
668d9b7874 Added Lock sessions to initialize it before end session 2020-10-04 11:17:25 +02:00
Trial97
51f27b0396 Updated setSTerminator channel handling 2020-09-29 15:47:21 +02:00
Trial97
e1086b099a Added runtime.Gosched for context switching 2020-09-29 15:47:21 +02:00
Trial97
8e3ca35a77 Better locking of session debitLoop chan 2020-09-29 15:47:21 +02:00
Trial97
5363a6d7b9 Clone session EventStart to avoid concurrency with debit, ttl and logging 2020-09-28 11:18:14 +02:00
Trial97
2af67288f4 Updated sessions locks 2020-09-28 11:18:14 +02:00
TeoV
3289a59a41 Exit automatic debit loops if debitStop channel was nil-led 2020-08-31 11:19:28 +03:00
Trial97
0b67310a95 Added protection on refundIncrements for BalanceInfo nil. Fixes #2123 2020-07-21 09:21:49 +02:00
TeoV
e1cf978026 Rename from ResourceMessage to ResourceAllocation 2020-07-10 11:52:01 +03:00
TeoV
c824fc7eec Add test for SessionSv1.ProcessEvent with *cdrs flag 2020-07-03 11:04:19 +03:00
TeoV
b7c20689e4 Add support for *cdrs in SessionSv1.ProcessEvent 2020-07-02 17:26:54 +03:00
TeoV
7b01fb3918 Add SessionTLLLastUsage as option for an extra debit in case of ttl mechanism 2020-06-22 09:37:12 +02:00
TeoV
cd86b8c3ca Use correctly SessionTTLUsage when calculate end usage in case of terminate session from ttl mechanism 2020-06-17 10:31:19 +02:00
Trial97
ab4944dc1a Removed config.NavigableMap 2020-05-18 12:43:13 +02:00
Trial97
2c53180ac8 Fixed agents unit tests 2020-05-07 11:19:03 +02:00
Trial97
9ef1dd05cc Updated AgentRequest 2020-05-07 11:19:03 +02:00
Trial97
80cdfe78c9 Added OrderedNavigableMap implementation 2020-05-07 11:19:03 +02:00
TeoV
3aaf458a2b Add support for *fd flag in agent 2020-04-22 12:38:06 +02:00
TeoV
87f539f3c3 Better error returning in case of missing charger for a session 2020-04-07 09:33:43 +02:00
TeoV
b92e96d446 Update subflags for *rals from SessionSv1.ProcessEvent 2020-03-26 14:48:23 +01:00
Trial97
e7d706dab7 Added check for missing event in sessions 2020-02-17 08:10:42 +01:00
Trial97
d8333b5b68 Started adding FieldAsInterface for EventCost 2020-02-05 16:00:32 +01:00
adragusin
3eaf3232a1 Renamed ApierV1 to APIerSv1/ ApierV2 to APIerSv2 2020-01-30 14:06:48 +01:00
Trial97
f18525a1db Updated path for cdre 2020-01-30 10:21:48 +01:00
adragusin
35e5fb2f9d renamed dbType *sql to *mysql 2020-01-29 16:54:54 +01:00
adragusin
de38e16afe Updated IT tests in sessions 2020-01-22 07:34:04 -05:00
Dan Christian Bogos
cc9dab3ae3 Merge pull request #1882 from adragusin/master
Removed directions from templates
2020-01-21 14:25:23 +01:00
adragusin
3a1104ff01 Removed directions from templates 2020-01-21 13:36:07 +02:00
Dan Christian Bogos
ed771248cb Merge pull request #1880 from Trial97/master
Updated AttributeS and FilterS structure
2020-01-20 17:29:21 +01:00
Trial97
999aabdf9f Updated FieldName for attributes 2020-01-20 14:44:36 +02:00
Trial97
5fcca524a9 Updated sessions tests 2020-01-20 09:28:36 +02:00
Trial97
8b815a2444 Updated sessions 2020-01-20 08:18:41 +02:00
Trial97
ae56de5cf9 Updated tests 2020-01-17 08:28:52 +02:00
DanB
3e632ee1a9 Adding timezone to sessions tests 2020-01-14 15:21:50 +01:00
TeoV
35d19ab4b2 Add TTL option for DataDB/StorDB for type *internal 2020-01-14 08:42:10 -05:00
Trial97
f0f2a2dc28 Updated filterSessions 2020-01-14 15:33:13 +02:00
Trial97
eca134abe7 Added explicit test for SessionSv1GetActiveSessions with filters that don't match 2020-01-13 14:41:06 +02:00
Trial97
c8ec4170f3 Added back the locks to AsExternalSessions 2020-01-10 15:53:30 +02:00
DanB
ef09a57ef3 Updates to tutorial2 tests 2020-01-09 18:49:38 +01:00
DanB
2c93ef6611 Concurrent sessions with sub-sub tests 2020-01-08 19:30:58 +01:00
DanB
771a1245d8 SessionS - cloning AttributeS event to avoid concurrency 2020-01-08 14:03:48 +01:00
TeoV
d9359c9e8f Add SessionReplication through conn manager 2020-01-07 08:37:24 -05:00
DanB
a4d11fe776 SessionS.refundSession to add TOR for proper refunds 2020-01-06 19:31:02 +01:00
Trial97
11b362c0f3 Uniformized SetBalance and AddBalance parameters 2020-01-06 17:35:42 +02:00
TeoV
7b72c943a0 Add connections from remote and replicate throuh ConnManager 2020-01-06 09:27:34 -05:00
DanB
df1ff276b7 Adding full set of events for concurrent sessions tests 2020-01-05 21:05:29 +01:00
DanB
713b9fb5d1 SessionS - faster processing in case of ProcessMessage 2019-12-25 19:35:25 +01:00
adragusin
c2348a4277 Added test for SessionSv1.ActivateSessions 2019-12-19 16:28:11 +02:00
Trial97
edea07e044 Updated AttributeS Context 2019-12-18 17:57:59 +02:00