Commit Graph

60 Commits

Author SHA1 Message Date
Radu Ioan Fericean
fdeecafe37 make sure the aliases are up-to-date after load 2014-03-05 16:54:29 +02:00
Radu Ioan Fericean
9a06d5e537 fixes for ansible devel 2014-02-28 18:40:39 +02:00
Radu Ioan Fericean
25b15b8f0f map storage has compression too
only needed for better emulating redis
2014-02-28 11:08:03 +02:00
Radu Ioan Fericean
7d9326965d don't overwrite account on load 2014-02-28 10:47:30 +02:00
Radu Ioan Fericean
39e93e7fb8 fixses and tests for shared balances 2014-02-27 16:54:11 +02:00
Radu Ioan Fericean
074313b0f8 first aliases implementation
tests pending
2014-02-26 18:29:49 +02:00
Radu Ioan Fericean
0aa5223f78 Merge branch 'master' into shared_balances
Conflicts:
	engine/account.go
	engine/loader_csv_test.go
	engine/storage_interface.go
	engine/storage_map.go
	engine/storage_redis.go
2014-02-21 16:36:48 +02:00
Radu Ioan Fericean
7831a53797 renamed USerBalance to Account 2014-02-21 14:37:31 +02:00
Radu Ioan Fericean
69cf1cc896 Merge branch 'master' into shared_balances
Conflicts:
	apier/v1/apier_local_test.go
	apier/v1/tutfscsv_local_test.go
	cmd/cgr-engine/cgr-engine.go
	engine/storage_map.go
	engine/storage_mongo.go
	engine/storage_redis.go
2014-01-27 11:18:25 +02:00
Radu Ioan Fericean
b735688fe5 Remaned to hasdata method 2014-01-27 11:04:25 +02:00
DanB
1bbe5a0a88 CDRc communicating over internal interface with the CDRs 2014-01-25 20:52:32 +01:00
Radu Ioan Fericean
3bbb67c72f working variant for history server and gob enc 2014-01-25 11:52:11 +02:00
Radu Ioan Fericean
8177e64f8b new histtory tests 2014-01-25 11:52:11 +02:00
Radu Ioan Fericean
7697b74713 Merge branch 'master' into shared_balances
Conflicts:
	apier/v1/apier.go
	cmd/cgr-engine/cgr-engine.go
	engine/storage_redis.go
2014-01-23 10:26:29 +02:00
DanB
2896053199 Renaming ActionsTimings into ActionPlan so we avoid in the future redis store changes as much as possible 2014-01-19 20:14:46 +01:00
Radu Ioan Fericean
7bc182e374 various go vet fixes 2014-01-13 17:30:06 +02:00
Radu Ioan Fericean
58ddae9b70 Started shared balances logic 2014-01-07 22:34:40 +02:00
DanB
b3a3c1f599 Adding runid in logdb 2013-12-27 10:26:02 +01:00
DanB
8e95225b99 Completing the implementation of the CDR client with tests 2013-12-22 18:35:16 +01:00
DanB
f3d0c49803 Finishing implementation of different database handles for rating vs accounting subsystems 2013-12-18 20:02:47 +01:00
Radu Ioan Fericean
e03bbc9b96 started accounting storage 2013-12-17 21:19:38 +02:00
Radu Ioan Fericean
cd9eaecb83 changed the way the destinations are cached 2013-12-17 19:33:04 +02:00
Radu Ioan Fericean
806570cbaf added back set caching 2013-12-17 18:14:32 +02:00
Radu Ioan Fericean
d69378a626 started new destination caching 2013-12-17 17:51:38 +02:00
Radu Ioan Fericean
dbe8bde7bf optimized prefixes container 2013-12-16 19:09:56 +02:00
Radu Ioan Fericean
41dd86ca9a more optimizations for large destination keys 2013-12-16 15:17:20 +02:00
Radu Ioan Fericean
022c426a20 further caching and optimizations 2013-12-14 16:51:28 +02:00
Radu Ioan Fericean
237508e590 performance enhancements 2013-12-14 12:44:42 +02:00
Radu Ioan Fericean
a57686990c another precache fix 2013-12-13 16:21:55 +02:00
DanB
71ca9d8fe3 Adding apier.GetRatingPlans and various local tests 2013-12-06 20:49:00 +01:00
Radu Ioan Fericean
3257010f32 added cache entries count and added prefix for cache keys 2013-12-05 13:08:32 +02:00
Radu Ioan Fericean
b669d1d326 Added bool parameter for searching datadb for cached values or not 2013-11-28 18:09:24 +02:00
Radu Ioan Fericean
859890f0b4 fixed two caching issues 2013-11-27 20:13:25 +02:00
DanB
26bb99bd64 Replacing DESTINATION and RATING_PLAN consts with their prefix versions for compressing code 2013-11-14 13:03:15 +01:00
DanB
ef9f5fe612 ExistsData method on dataDb, ApierV1.ReloadCache method, cgr-loader calling ReloadCache if configured 2013-11-13 19:27:44 +01:00
Radu Ioan Fericean
20ad7a8487 cleaned exists functions 2013-11-13 00:35:29 +02:00
DanB
13ce865b6f Destinations considered from dataDb in case of missing from storDb on load 2013-11-12 19:30:49 +01:00
DanB
0b1d9c2da4 Reusing of predefined rating plans in rating profiles 2013-11-12 13:43:00 +01:00
Radu Ioan Fericean
455ed9e547 no precaching for loader (precache parameter) 2013-11-05 20:16:39 +02:00
Radu Ioan Fericean
848281697e Added pre-cache for destinations and rating plans 2013-10-28 20:02:51 +02:00
Radu Ioan Fericean
d9b0461746 using destination contains prefix method 2013-10-28 18:56:23 +02:00
Radu Ioan Fericean
566447a0a0 re-added caching for destinations and moved cache to storage classes 2013-10-28 15:25:45 +02:00
Radu Ioan Fericean
3466fa103b refactored rating plans structure 2013-10-21 19:18:56 +03:00
Radu Ioan Fericean
54ab6074a6 more loading fixes and more tests 2013-10-09 20:02:13 +03:00
Radu Ioan Fericean
372fbe0e10 started destination hash storage and colapsed debit actions 2013-09-09 20:45:46 +03:00
Radu Ioan Fericean
3731fb1977 merged storage interfaces split 2013-08-31 13:01:30 +03:00
Radu Ioan Fericean
9004ef1075 using new msgpack package 2013-08-28 23:01:59 +03:00
Radu Ioan Fericean
411af6ba74 splited storage interface in multiple interfaces 2013-08-27 14:48:01 +03:00
Radu Ioan Fericean
c651aabb32 killed internal serialization and started using msgpack 2013-08-23 19:54:06 +03:00
DanB
f07a0cc885 Fixing mediator and related for postpaid rating into storDb 2013-08-07 06:20:56 +02:00