Commit Graph

62 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
75046b1f36 more shared group fixes 2014-02-17 01:16:31 +02:00
Radu Ioan Fericean
51ee4091bc shared group fixes 2014-02-17 00:39:15 +02:00
Radu Ioan Fericean
c447fa49dc Merge branch 'master' into shared_balances 2014-02-12 14:18:03 +02:00
DanB
944262ccff Adding local_test for mediator rpc method 2014-02-10 18:31:27 +01: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
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
DanB
9210b20924 Fmt on sources :( 2014-01-25 10:49:00 +01: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
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
DanB
b7d9da842b Adding AccountActionTiming Get and Remove APIs 2014-01-08 14:00:20 +01: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
4eee6ddd0e Adding static field values for multiple mediation in configuration, fmt on sources 2013-12-27 20:02:47 +01:00
DanB
e76b94c285 Adding get_cache_stats console command 2013-12-23 19:31:44 +01:00
DanB
75d24d0fd1 Adding GetCacheStats and GetCachedItemAge Apier methods 2013-12-23 19:23:10 +01: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
DanB
1388e7caab Testing new doc format for api timings 2013-12-03 17:03:30 +01:00
DanB
fcb98adcf7 Buffer writter for multiple values in sql queries, finished storage interface cleanup 2013-11-24 16:31:42 +01:00
DanB
f69af88bd6 Adding local tests for Load*Filtered methods in datadb 2013-11-21 17:59:50 +01:00
DanB
8d991672ab Adding ApierV1.TMDestination local tests 2013-11-20 18:20:30 +01:00
DanB
c7c4aefe0d Apier local tests, added -rater parameter to cgr-engine command to be able to enforce starting of the rater/apier out of command line, useful mostly for test units 2013-11-20 14:42:15 +01:00
DanB
87ea266c4a Go fmt on sources 2013-11-19 20:06:53 +01:00
DanB
4e0ccbfa19 Unifying fallback subjects key between csv and db, first match between loaded data from csv and from stordb 2013-11-18 10:28:27 +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
DanB
9cf1aed058 ApierV1 SetTPRate and RemTPRate implementation 2013-11-15 17:50:53 +01:00
DanB
f904973d25 Adding SetDuration method in RatingSlot 2013-11-15 17:31:17 +01:00
DanB
b95d21fa4e RatingPlan.Timing going private to hide it from jsonrpc 2013-11-15 14:12:38 +01:00
DanB
751ec1e4c3 Adding remove method on tptimings, modified SetTPTiming to update on exists 2013-11-15 12:00:52 +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
DanB
41d0bb80ac Changing DestRateTimings into RatingPlans 2013-11-12 12:25:02 +01:00
DanB
6f8e318bfc TP API docs updated 2013-10-10 13:33:57 +02:00
DanB
afe0dbc5cb Cleaning up weight from mysql and sample data files 2013-10-09 11:42:33 +02:00
Radu Ioan Fericean
c0accc3d5e better loading (hopefully :) 2013-10-08 21:57:32 +03:00
DanB
dbdad3e3ce Fixing default import files, SQL correction in tp_actions tables 2013-10-06 17:34:24 +02:00
Radu Ioan Fericean
7632a8f14e tests passing on get max session time 2013-10-04 16:18:28 +03:00
DanB
edd2c704de TP APIs are now accepting string as time.Duration values, modified mysql table structures to increase *id fields to 64 2013-08-18 17:06:03 +02:00
Radu Ioan Fericean
cb20ae167f moved rated units in rate group and transformed it in duration 2013-08-07 15:11:05 +03:00