Commit Graph

671 Commits

Author SHA1 Message Date
adragusin
8020fa1614 Replaced MapStorage with InternalDB in unit tests 2019-11-20 11:01:25 +01:00
Trial97
87af8cdbf7 Updated Session.Clone 2019-11-17 12:20:13 +01:00
Trial97
c2733c6f2e Renamed ConsumeArgs to ExtractArgs 2019-11-15 15:28:04 +01:00
adragusin
84e82dd83f Updated session replication with automatic debit test 2019-11-14 17:06:25 +01:00
adragusin
663cd77f89 Updated tests in sessions 2019-11-14 17:06:25 +01:00
adragusin
6b03b76e6a Updated tests in sessions 2019-11-13 17:01:00 +01:00
adragusin
a2267feba6 Updated test in session 2019-11-13 17:01:00 +01:00
Trial97
89afc3e5e0 Updated sessions 2019-11-13 10:43:56 +01:00
Trial97
deaca56575 Updated sessions tests 2019-11-13 10:43:56 +01:00
adragusin
ac5c0b0dfc Updated tests in sessions 2019-11-12 16:50:12 +01:00
adragusin
99ca66d782 Updated tests in sessions 2019-11-12 16:50:12 +01:00
DanB
2689a3ecaf Removing -1 as returned duration from SessionS 2019-11-12 14:09:14 +01:00
adragusin
5c3816f60c Updated tests in session 2019-11-12 11:30:51 +01:00
adragusin
a884584f67 Updated test in libsessions 2019-11-12 11:30:51 +01:00
adragusin
92051bae2f Updated AutoDebit tests 2019-11-11 07:22:04 -05:00
DanB
7d27cff14f Updating session replication with automatic debits 2019-11-10 16:16:13 +01:00
TeoV
18c5336120 When setting Passive session set the session received as parameter 2019-11-06 19:36:01 +01:00
DanB
05075f8d15 SessionS - improvements for replication 2019-11-06 13:57:11 +01:00
TeoV
714e37fa63 Populate in data manager rmtDataDbConns and rplDataDBConns 2019-11-03 12:59:10 +01:00
DanB
c1f9a3f449 New API SessionSv1.ActivateSessions 2019-10-30 20:34:09 +01:00
DanB
7f36ae44d1 SesionS replication with support for automatic debits 2019-10-30 15:44:55 +01:00
Trial97
8d655d8b57 Added sslmode for storDB config. Fixes#1715 2019-10-28 18:00:32 +01:00
Trial97
2b4da438bb Updated endSession 2019-10-28 16:06:15 +01:00
adragusin
d8e1026341 Remove printf 2019-10-28 12:35:22 +01:00
Trial97
61fc8c98a3 Added DataManager as Service 2019-10-28 12:17:15 +01:00
Trial97
45ab2f9257 Added connection reload for SessionS 2019-10-28 12:17:15 +01:00
Trial97
4efd0ed1ed Updated sessions setSTerminator 2019-10-21 15:02:21 +02:00
DanB
2bb4f07c27 SessionS - better handling of replyMaxUsage in case of authorization 2019-10-21 13:36:22 +02:00
TeoV
be9ba5df3b Add delay for sessions integration tests and consider paginator for get cdr for internal db 2019-10-16 11:46:39 +02:00
DanB
4030357fe0 SessionS - Simplified TTL handling 2019-10-10 11:02:08 +02:00
TeoV
3fb24b16a4 Update cost in test for sessions_it_test.go 2019-10-10 11:02:08 +02:00
TeoV
2184121c02 Update tests for sessions after simplified locking 2019-10-10 11:02:08 +02:00
DanB
5dbaee2d33 Simplified locking for SessionS in order to prevent deadlock bugs 2019-10-10 11:02:08 +02:00
TeoV
c93282a165 Update MaxUsage with value from config in case Usage isn't presented in event 2019-09-18 08:23:56 +02:00
TeoV
110d73c532 Add DataProvider for each FieldValue for FilterRule 2019-09-08 17:39:11 +02:00
TeoV
e511a2e110 Starting services message uniformity 2019-08-27 11:57:46 +02:00
Trial97
c39059a42d Correctly use error if defined as function return argument 2019-08-15 15:49:23 +02:00
Trial97
a08b190a4e Replaced IsSliceMember with SliceHasMember for constant slices 2019-08-08 19:12:47 +02:00
Trial97
5cbce1ec43 Removed unused constants 2019-08-08 19:12:47 +02:00
TeoV
a3099c5622 Threat error in a fancier way in SessionS 2019-07-23 22:57:20 -10:00
TeoV
206b8a76da In case that we get other Errors that NOT_FOUND we return PartiallyExecuted ( SessionS ) 2019-07-23 00:46:14 -10:00
TeoV
38dcc9aca2 Correctly treat NOT_FOUND error is SessionS ( fixes #1635 ) 2019-07-23 00:46:14 -10:00
TeoV
59c0258750 Correctly send SessionSv1.ProcessEvent from Agents to SessionS 2019-07-23 00:46:14 -10:00
TeoV
b9c4be142f Send the entire session to go func not only the cgrID 2019-07-21 23:13:27 -10:00
TeoV
3d13add291 Send s.CGRID as parameter to go func and topup accounts from tutorial TP 2019-07-21 23:13:27 -10:00
Trial97
de41b7a093 Updated debitLoopSession 2019-07-17 04:59:52 -10:00
TeoV
91b6629097 Add tests in apier/v1 for ProcessEvent(Auth/Init/Update/Terminate) and add in agents support for *event 2019-07-16 23:24:41 -10:00
TeoV
556850d82e Compress duplicate code of processAttributes ( for SessionS ) 2019-07-16 23:24:41 -10:00
Trial97
6d8c83ef2f Updated TesminateSession 2019-07-16 22:42:42 -10:00
TeoV
96af791867 Compress duplicate code for getSuppliers ( for SessionS) 2019-07-15 20:57:17 -10:00