Commit Graph

659 Commits

Author SHA1 Message Date
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
078871eee0 Tests for bidirectional communication in SMG 2017-01-25 20:31:37 +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
0e9864fe0d Integration test for SMGenericV1.ReplicateActiveSessions 2017-01-12 19:19:50 +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
rbarrabe
ec3a5c867f Merge pull request #7 from cgrates/master
Update
2016-12-16 11:08:04 +01:00
DanB
49924fc210 SMGeneric using cloning for replication to avoid concurrency 2016-12-15 12:54:41 +01:00
Regis
c056d1b5bf adding connect fee only in first timestamp 2016-11-30 15:52:54 +01:00
Edwardro22
048203a19e Refactoring of IT Tests 2016-11-28 14:17:56 +01:00
Edwardro22
7cf420f173 SM integration tests refactoring 2016-11-28 13:53:36 +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
a44cb0ad17 SMGeneric - make sure we return SessionNotFound for both update and terminate without init 2016-11-10 16:39:21 +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
DanB
1a946e1ce5 SMGenericV1.ActiveSessions returning NOT_FOUND for 0 active sessions, SMG one way session replication operational 2016-11-08 15:27:03 +01:00
DanB
9b0b6c0a95 SMGeneric with transition mechanisms for passive to active and opposite 2016-11-08 12:27:29 +01:00
DanB
4fab18a94c SMGeneric set and remove passiveSessions with checks in activeSessions cache 2016-11-07 20:35:39 +01:00
DanB
d253be03ac SMGeneric using CGRID instead of OriginID for session indexing 2016-11-07 17:22:54 +01:00
DanB
5e00fa9533 SMG.setSessionTerminator method 2016-11-04 20:45:45 +01:00
DanB
e1eab6e35f SMG - ttlTerminate only if session is in active sessions table 2016-11-04 19:55:49 +01:00
DanB
6e84123b8b SMGeneric with cached responses 2016-11-04 19:42:56 +01:00
DanB
b0df6520b6 SMG - PassiveSession replication for init, update and terminate events 2016-11-03 19:14:03 +01:00
DanB
6596c926b9 Improved SMG SessionReplication mechanism 2016-11-02 19:00:14 +01:00
DanB
ac56b0dc29 SMG.SetPassiveSessions using replication for all derived sessions in one message instead of individual ones for consistency, remove supported 2016-11-02 15:54:01 +01:00
DanB
864450809d SMGeneric SessionReplication with connection establishment 2016-10-28 17:28:06 +02:00
DanB
2cb3faa033 SMG.GetPassiveSessions command implementation 2016-10-28 14:46:07 +02:00
DanB
3f3ad29ab1 SMGeneric - basic session replication mechanism without connection establishment 2016-10-27 21:17:56 +02:00
DanB
cdf8960a42 SMGeneric TestSetPassiveSession 2016-10-27 14:02:33 +02:00
DanB
010ab252df SMGenericV.SetPassiveSession 2016-10-27 12:26:25 +02:00