Commit Graph

172 Commits

Author SHA1 Message Date
edwardro22
e567a1b6d1 Renaming utils.ACCID -> utils.OriginID 2018-01-08 18:44:36 +01:00
DanB
30c7d2139d Integration test fixes 2017-11-20 19:43:25 +01:00
TeoV
332c489d0f AsStoredCdr -> AsCDR 2017-11-20 18:51:04 +01:00
DanB
756f8a5b5c Diameter agent using time.Duration instead of float64 for rpc methods, *handler type available in CCA also 2017-11-17 19:08:06 +01:00
DanB
6e69c0bc9c SMG data integration tests 2017-11-10 11:43:46 +01:00
DanB
0cb9dca9a2 Redesigned core to support nanoseconds/data units, cgr-engine memory profiling in commandline options, tests updates 2017-11-09 18:27:09 +01:00
DanB
86fd8444db Using SMGenericV2 methods returning time.Duration as maxDuration instead of float, updated smg_it tests 2017-11-06 18:20:17 +01:00
DanB
286ef0c0aa Integration test fixes 2017-11-06 13:33:11 +01:00
edwardro22
b651b06826 Removed copyright from go doc 2017-09-10 15:02:46 +00:00
DanB
15c99300e6 Guardian back into SMG, guarding sessions 2017-08-02 14:09:20 +02:00
DanB
2c01491424 Removing guardian locking in SMG 2017-08-02 08:23:59 +02:00
DanB
1b822d6d34 SMG - lock session before altering CGRID on relocate to avoid concurrency 2017-08-02 08:19:01 +02:00
DanB
2fd0c9a4d7 SMGenericV2 GetMaxUsage, InitiateSession, UpdateSession API methods returning time.Duration, improvements on RadiusAgent 2017-06-06 13:24:24 +02:00
DanB
a216840591 SMGeneric refund fix 2017-05-29 09:55:05 +02:00
DanB
652157a85c SMG - simplified sessionStart handling, returning error from upstream 2017-05-18 21:11:33 +02:00
DanB
4479eef14d Adding SMGenericV1.SetGZIPpedPassiveSessions using GZIP compressed arguments 2017-05-14 14:08:58 +02:00
DanB
e3be7f9016 Return usage as 0 in case of errors on SMG.GetMaxUsage to cope with OpenSIPS 2017-05-12 11:53:28 +02:00
DanB
be4e7e2cae SMGeneric returning SESSION_NOT_FOUND on init/update/terminate without session started, configuration updates for opensips_native tutorial 2017-04-26 14:32:31 +02:00
DanB
057a7fd420 SMGeneric - locks for SMGSession 2017-04-03 19:31:14 +02:00
DanB
e452d455f4 SMG replication with session cloning to avoid concurrency on slow replication 2017-04-03 13:18:13 +02:00
DanB
0b975f7a51 SMG SessionTTLMaxDelay for SessionTTL randomization 2017-03-10 16:42:11 +01:00
DanB
f648fbdc51 Storage.DataDB exporting Marshaller to be later used in migrator, mongodb exporting CloneSession, migrator improvements 2017-02-19 14:59:39 +01:00
DanB
205c8fbb22 Speedup SMG replication, small fix in servmanager 2017-02-09 16:15:39 +01:00
DanB
495bb03814 SMG call costs after error checking 2017-02-08 11:51:46 +01:00
DanB
c356d0043f Fix error shadoing in SMG for ChargeEvent 2017-02-08 11:49:55 +01:00
DanB
6e9781f57f Tests for SMG PassiveSessionsReplication, small typo fix in API 2017-01-31 18:44:28 +01:00
DanB
0624782b91 SMGenericV1.ReplicatePassiveSessions API 2017-01-31 17:58:11 +01:00
DanB
3de15e794c SMGeneric.ReplicateActiveSessions redesign to prepare for passiveSessions replication 2017-01-31 17:50:11 +01:00
DanB
800d339975 SMGeneric - Bidirectional communication though rpc2 library 2017-01-25 20:30:29 +01:00
DanB
5847e7fff9 SMGeneric API changes to include verb in get APIs - ActiveSessions -> GetActiveSessions, PassiveSessions -> GetPassiveSessions, MaxDuration -> GetMaxDuration, LCRSupplier -> GetLCRSuppliers 2017-01-13 13:36:29 +01:00
DanB
ce44372b0e SMGenericV1.ReplicateActiveSessions 2017-01-12 11:07:21 +01:00
DanB
c3a5fb7292 Simplified replicate sessions with passing connections as params 2017-01-12 09:16:33 +01:00
DanB
401f1ce996 Revert "SMG.replicateSessions with connections in params"
This reverts commit d235f5c55f.
2017-01-12 09:11:38 +01:00
DanB
d235f5c55f SMG.replicateSessions with connections in params 2017-01-11 17:38:42 +01:00
DanB
2c076c1abb Moving Guardian into it's own package so we can use it from other independent packages 2017-01-09 20:36:23 +01:00
DanB
7dda1946c0 SMGeneric - fix session terminators leak 2017-01-05 12:44:32 +01:00
DanB
49924fc210 SMGeneric using cloning for replication to avoid concurrency 2016-12-15 12:54:41 +01:00
DanB
1d0011b6dc SMGeneric fix compute mechanism in getSessionIDsForPrefix 2016-11-25 14:23:32 +01:00
DanB
9b34f98521 SMGeneric - use pointer for locking 2016-11-18 17:06:24 +01:00
DanB
443c594edc StorageMongo creating indexes based on storDBType 2016-11-17 13:18:43 +01:00
DanB
37ca876db4 Small cleanups SMGeneric 2016-11-14 21:04:26 +01:00
DanB
f393840156 SMGeneric - fix for unprotected session terminators 2016-11-14 11:37:03 +01:00
DanB
e6a27764a3 SMGeneric - replicate only on changes 2016-11-10 15:11:20 +01:00
DanB
f5e6c95a6c SMGeneric common index configuration for active/passive sessions 2016-11-10 14:15:15 +01:00
DanB
12bf0667ef SMGeneric simplified active/passive table management, unified SMGenericV1.ActiveSessions and SMGenericV1.PassiveSessions logic 2016-11-10 13:32:30 +01:00
DanB
9784dc7c38 SMGeneric returning SESSSION_NOT_FOUND, unified RPC methods for SMG, rpcclient update to failover on SESSION_NOT_FOUND 2016-11-09 19:19:17 +01:00
DanB
c8750261eb SMGeneric - improved session indexing considering runID, passive sessions with session prefix implementation 2016-11-09 16:53:06 +01:00
DanB
b3dbf0daa9 SMGeneric - passive sessions indexing 2016-11-08 20:54:05 +01:00
DanB
955ada732f SMGeneric - faster session unindexing 2016-11-08 19:52:33 +01:00
DanB
65a2ae76a7 SMGeneric Session replication in alpha state 2016-11-08 16:31:41 +01:00