Commit Graph

4986 Commits

Author SHA1 Message Date
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
b5279062ed Diameter using POOL_FIRST for SMG connection instead of POOL_BROADCAST 2016-11-09 17:30:09 +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
37c853cb91 RPCClient with lazyConnect 2016-11-08 16:03:30 +01:00
DanB
d2afaba0a8 Fix for ApierV1.SetRatingProfile API which was reloading rating plan 2016-11-08 15:39:46 +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
39c1511167 Fix SmGenericConfig for SMGReplicationConns 2016-11-02 19:19:24 +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
b0b58de0ff Started JSON defaults testing in main CGRConfig struct 2016-11-01 19:17:37 +01:00
DanB
fd22b7da37 Configuration samples for SMG replication 2016-10-31 21:09:09 +01:00
DanB
70eea71734 Small modifications asterisk tutorial 2016-10-30 15:31:11 +01:00
DanB
15b8fca42a Merge branch 'master' of https://github.com/cgrates/cgrates 2016-10-30 12:54:15 +01:00
DanB
d537e37640 Testing for LCR using aliases 2016-10-30 12:54:05 +01:00
Dan Christian Bogos
453ef7940c Merge pull request #580 from Edwardro22/master
Sorted tests and added more tests for coreutils funcs
2016-10-30 09:54:03 +01:00
Edwardro22
7496b77b90 Testsfor Int64Slice funcs 2016-10-30 08:25:43 +01:00
Edwardro22
f2413c391d Tests from utils sorted 2016-10-29 17:46:26 +02:00
Edward
3f310237a8 Added more tests and sorted others 2016-10-29 17:45:11 +02:00
DanB
5b126804ca Better error reporting in case of RPC issues 2016-10-28 18:35:48 +02:00
DanB
6393effa62 Enable aliases in tutorial tests, update rpcclient to avoid panic on concurrency 2016-10-28 18:15:26 +02: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
7d4d600dca Merge branch 'master' of https://github.com/cgrates/cgrates 2016-10-27 19:23:13 +02:00
DanB
d8eeddd348 SMGeneric smg_replication_conns configuration 2016-10-27 19:23:03 +02:00
DanB
1f6ab1ba2f Error counting in RPC GOB and JSON 2016-10-27 19:22:44 +02:00
Dan Christian Bogos
e9c953b37c Merge pull request #577 from Edwardro22/master
Test for func TimeIs0h
2016-10-27 18:12:00 +02:00
Edward
5f6faab51b Merge branch 'master' of https://github.com/Edwardro22/cgrates 2016-10-27 18:03:41 +02:00
Edward
291f30475c Test for func TimeIs0h 2016-10-27 18:03:08 +02:00
Eduard Tamsa
1cb614dc3f Update CONTRIBUTORS.md 2016-10-27 17:00:38 +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
DanB
551f9ea69d SMGSession exporting more fields so we can replicate, ActiveSession.RunId -> ActiveSession.RunID 2016-10-27 11:45:50 +02:00
DanB
8002675a5f Fix RatingProfile caching for LCR rules, fixes #546 2016-10-26 19:26:38 +02:00
DanB
11c8ed2de9 Update rpcclient with fixes for internal connection 2016-10-26 12:43:41 +02:00
DanB
41e8cf937f Fix glide.lock conflict 2016-10-26 12:28:58 +02:00
DanB
23693c2df2 SMGeneric - different tables for active and passive sessions, storage_mongo to avoid dropping system namespace on flushdb 2016-10-26 12:27:26 +02:00
DanB
d058544213 Update rpcclient to protect nil internal connection 2016-10-26 11:37:22 +02:00
DanB
39f10f468a Update rpcclient library to avoid panics 2016-10-26 10:41:06 +02:00
DanB
bd0a902005 Adding log_level in cgrates.json, not longer starting services from cgr-engine command arguments 2016-10-25 19:10:47 +02:00