Commit Graph

78 Commits

Author SHA1 Message Date
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
dec4ebf2f1 added distinct field parameter 2014-02-17 01:09:37 +02:00
Radu Ioan Fericean
361d75d8cf compressed all GetTP*Ids methods into one 2014-02-13 00:01:58 +02:00
Radu Ioan Fericean
6ad5794bfc added db loader for shared balances 2014-02-12 16:23:03 +02:00
Radu Ioan Fericean
a9d698e029 Merge branch 'master' into shared_balances
Conflicts:
	engine/balances.go
	engine/userbalance.go
2014-02-07 10:57:29 +02:00
DanB
caba3af732 Mediation RPC with rerate abilitites, rename RatedCDR -> StoredCdr, adding storage interface tests 2014-02-03 19:04:42 +01:00
Radu Ioan Fericean
b735688fe5 Remaned to hasdata method 2014-01-27 11:04:25 +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
DanB
0348be416c ActionTimings -> ActionPlan in APIs, storage tables and redis key 2014-01-19 20:02:32 +01:00
Radu Ioan Fericean
c8fb090c11 meged master branch 2014-01-09 17:21:27 +02:00
Radu Ioan Fericean
58ddae9b70 Started shared balances logic 2014-01-07 22:34:40 +02:00
DanB
afe845a8aa Enhancing cdrexporter with dry_run, console export_cdrs command 2014-01-07 20:27:45 +01:00
DanB
b3a3c1f599 Adding runid in logdb 2013-12-27 10:26:02 +01:00
DanB
1db3c550b1 Multiple mediation on same RawCDR, renamed CDR interface into RawCDR 2013-12-26 21:21:29 +01:00
DanB
c04bc753fd Adding SetActions and SetActionTimings Apier methods 2013-12-23 14:26:33 +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
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
51c3a8b2ff better 1.2 msgpack code 2013-12-02 14:44:55 +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
DanB
fcb98adcf7 Buffer writter for multiple values in sql queries, finished storage interface cleanup 2013-11-24 16:31:42 +01:00
DanB
87ea266c4a Go fmt on sources 2013-11-19 20:06:53 +01:00
DanB
509f4a87cd Adding local csv loader tests 2013-11-19 15:44:17 +01:00
DanB
58e26a46ce Adding RemTPData SQL tests 2013-11-18 22:13:04 +01:00
DanB
34b577c74d Some more methods cleanup in storDb 2013-11-18 20:30:15 +01:00
DanB
38f6b69193 Removing Exists methods on storDb since they are no longer in use 2013-11-18 20:16:49 +01:00
DanB
f38f04f6c5 Various loader and apier fixes 2013-11-17 23:06:20 +01:00
DanB
f5257b46a5 Completing TP Apis with SetTPAccountActions with duplications and remove 2013-11-16 20:51:35 +01:00
DanB
b50f950474 ApierV1 TPActionTriggers set and remove implementation 2013-11-16 17:02:27 +01:00
DanB
198b604407 ApierV1 TPActionTimings set with duplicated and remove 2013-11-16 16:39:32 +01:00
DanB
210c52f041 ApierV1 TPActions - remove checking for existing, allow duplicates 2013-11-16 16:21:03 +01:00
DanB
3a26ba86ea TPRatingProfile data remodeling, apis with remove and set without duplication checking: TPDestinationRates, TPRatingPlans, TPRatingProfiles 2013-11-15 22:42:45 +01:00
Radu Ioan Fericean
d05cd92a8d added RemKey method for cache 2013-11-15 14:28:57 +02:00
DanB
719ed3ef51 Set on TPDestinations with update on duplicates, remove api for TPDestinations 2013-11-15 12:48:14 +01:00
DanB
751ec1e4c3 Adding remove method on tptimings, modified SetTPTiming to update on exists 2013-11-15 12:00:52 +01:00
DanB
8b29a35b96 Adding reload_cache command to cgr-console, reload_scheduler fixup 2013-11-14 17:32:47 +01: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
408047dd1c Resyncing structs from apis to the ones in storage 2013-11-14 12:58:13 +01:00
Radu Ioan Fericean
8189bbbf36 using utils types to load data 2013-11-14 09:39:00 +02: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
DanB
41d0bb80ac Changing DestRateTimings into RatingPlans 2013-11-12 12:25:02 +01:00